Results 1 to 2 of 2

Thread: Collada. How should i calculate arrays with positions, normals and axis to get array

  1. #1
    Junior Member
    Join Date
    Jun 2018
    Posts
    10

    Collada. How should i calculate arrays with positions, normals and axis to get array

    Hello. Sorry for such basic question but i can not understand. How can i get the array with texture-map when i have arrays with positions (vertices), normals and axis? Why is texture-map is not equal to array with vertices? And how should i calculate all my arrays to have <matrix> array in

    Code :
        <visual_scene> 
          <node>
           <matrix> ..... </matrix> 
          </node> 
        </visual_scene>

    Thanks for your replies.

  2. #2
    Why is texture-map is not equal to array with vertices?
    Because COLLADA uses multi-index buffer. In this may arrays may have different lengths.

    And how should i calculate all my arrays to have <matrix> array in

    <visual_scene>
    <node>
    <matrix> ..... </matrix>
    </node>
    </visual_scene>
    What do you mean?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean