Results 1 to 2 of 2

Thread: Line with Material

  1. #1
    mbehnaam
    Guest

    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

Posting Permissions

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