Results 1 to 2 of 2

Thread: listofhexbinary

  1. #1
    chrisn
    Guest

    listofhexbinary

    Hex binary does not appear to have a bounded length. All the schema says about it is that it is finite.

    Why does the collada schema specify this:

    <xs:simpleType name="ListOfHexBinary">
    <xs:list itemType="xs:hexBinary"/>
    </xs:simpleType>

    The only place this is used is for images. Could this perhaps be for pre-generated mipmaps? The images would be whitespace-delimited I guess.

    Chris

  2. #2
    Senior Member
    Join Date
    Aug 2005
    Location
    California
    Posts
    165
    The "ListOfHexBinary" type is only used when you want to embed the image data in the COLLADA document. This could be a single image or a whole mipmap chain. Currently I know of no implementations that support this feature.

    The "ListOfHexBinary" allows for flexibility within implementations. One implementation might want to whitespace delimit the different images, as you suggested. Another might want to whitespace delimit each row of an image. That is up to the implementation. As with any other "binary" data there are many things left to the implementations: endianness, precision, etc.

    -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
  •