Results 1 to 2 of 2

Thread: About exporting Float_array

  1. #1
    Junior Member
    Join Date
    Jun 2006
    Posts
    4

    About exporting Float_array

    Hi all.
    I am writing the converter, from my own format to Collada, using Collada DOM(patch3)

    To include the vertex information(position, normal, UV, etc...), I created some DOM classes(domMesh,domSource,domFloat_array), And append() my geometry's verticies's position value(x, y, z) to the domFloat_array's _value.

    It works well. But, in the Collada file, as a result of above, position values described in one paragraph. like below:

    <float_array count="690">0.5 0.5 0.5 0.5 0.5 0.5 .......</float_array>

    I wanna change it to :

    <float_array count="690>
    0.5 0.5 0.5
    0.5 0.5 0.5
    0.5 0.5 0.5
    :
    :
    </float_array>

    Specifying number of width.

    Is it possible?

    Sorry my awful english.

    Thanks
    Regars.

  2. #2
    Senior Member
    Join Date
    Aug 2005
    Location
    California
    Posts
    165
    Hi Regars,

    I'm sorry but there is no way to specify formatting in the COLLADA DOM.

    It may be something to look into for the future but it wouldn't be a high priority.

    -Andy

Posting Permissions

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