View unanswered posts | View active topics It is currently Thu Oct 18, 2018 5:09 pm



Reply to topic  [ 1 post ] 
 bug with collada when instance_geometry uses input_set. 
Author Message

Joined: Sun Apr 07, 2013 5:16 pm
Posts: 1
Post bug with collada when instance_geometry uses input_set.
I try to use few TEXCOORD sources in geometry element and then choose one using set attribute in instance_geometry. But it seems is not working in GLC_Player. I loaded this example using SketchUp and Assimp and it worked correctly. But in GLC_Player there are errors in texture. It is possibly bug in player or I don't understand collada.


Code:
<geometry ..>
 <triangles ..>
   ...
   <input set="0" source="#ID_ts_139" semantic="TEXCOORD" offset="2"/>
   <input set="1" source="#ID_ts_142_1" semantic="TEXCOORD" offset="3"/>
   <p>...</p>
 </triangles>
</geometry>
...
<instance_geometry url="#ID_geom_133">
   <bind_material>
      <technique_common>
         <instance_material ...>
            <bind_vertex_input input_set="0" input_semantic="TEXCOORD" semantic="texcord"/>
         </instance_material>
      </technique_common>
   </bind_material>
</instance_geometry>


Sun Apr 07, 2013 9:43 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.