Part of the Khronos Group
Results 1 to 2 of 2

Thread: Line with Material

  1. #1
    Junior Member
    Join Date
    Nov 2012
    Posts
    1

    Line with Material

    I need a sample collada file which contains at least two lines with material.

    I just started to use Collada for my project and can understand the following codes based on COLLADA – Digital Asset Schema Release 1.4.1, but I do not have a complete collada sample for a line!!!

    I use Blender and it does not support line. I dont want to use Sketchup, because the it creates line in a different style!!

    Would you please provide me with a sample collada file which contains two lines.
    Thanks.

    Code:
    <mesh> 
      <source id="position"/> 
      <source id="texcoord0"/> 
      <source id="texcoord1"/> 
      <vertices id="verts"> 
        <input semantic="POSITION" source="#position"/> 
      </vertices> 
      <lines count="2"> 
        <input semantic="VERTEX" source="#verts" offset="0"/> 
        <input semantic="TEXCOORD" source="#texcoord0" offset="1"/> 
        <input semantic="TEXCOORD" source="#texcoord1" offset="1"/> 
        
    
    10 10 11 11 21 21 22 22</p> 
      </lines> 
    </mesh>

  2. #2
    Junior Member
    Join Date
    Jan 2013
    Posts
    14
    Quote Originally Posted by mbehnaam View Post
    I need a sample collada file which contains at least two lines with material.

    I just started to use Collada for my project and can understand the following codes based on COLLADA – Digital Asset Schema Release 1.4.1, but I do not have a complete collada sample for a line!!!

    I use Blender and it does not support line. I dont want to use Sketchup, because the it creates line in a different style!!

    Would you please provide me with a sample collada file which contains two lines.
    Thanks.

    Code:
    <mesh> 
      <source id="position"/> 
      <source id="texcoord0"/> 
      <source id="texcoord1"/> 
      <vertices id="verts"> 
        <input semantic="POSITION" source="#position"/> 
      </vertices> 
      <lines count="2"> 
        <input semantic="VERTEX" source="#verts" offset="0"/> 
        <input semantic="TEXCOORD" source="#texcoord0" offset="1"/> 
        <input semantic="TEXCOORD" source="#texcoord1" offset="1"/> 
        
    
    10 10 11 11 21 21 22 22</p> 
      </lines> 
    </mesh>
    Maybe you can use the spline element

Similar Threads

  1. Importing COLLADA into SketchUp - line colours
    By asm in forum Content Discussions
    Replies: 4
    Last Post: 01-21-2011, 07:57 PM
  2. Matérial Export in Maya2009
    By shaolintony in forum Implementation Discussions
    Replies: 1
    Last Post: 04-21-2009, 02:49 AM
  3. material implementation strategies
    By Terazilla in forum Implementation Discussions
    Replies: 1
    Last Post: 08-25-2008, 03:27 AM
  4. how to use two images as material?
    By dyns in forum Design Discussions
    Replies: 0
    Last Post: 02-16-2008, 06:32 AM
  5. Material transparency
    By baustin in forum Implementation Discussions
    Replies: 1
    Last Post: 05-19-2006, 11:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •