Steps to reproduce the issue:
1. create an AWDTriGeom with a vertex buffer attached (in float32 or float64)
2.write the scene to a file
3.analyse the block corresponding to the Sub-geometry, specifically the vertex
buffer part
4. notice that the content data type of the vertex buffer is 7 for float32 and
8 for float64
The content data type should be 11 for float32 and 12 for float64, according to
the specification document. I'm using the head revision, on a 64 bit windows OS.
Additional informations : in the file awd_types.h, the enum AWD_field_type
declares the following values :
- AWD_FIELD_FLOAT32 : 7
- AWD_FIELD_FLOAT64 : 8
- AWD_FIELD_MTX3x2 : 44
- AWD_FIELD_MTX3x3 : 45
- AWD_FIELD_MTX4x3 : 46
- AWD_FIELD_MTX4x4 : 47
Changing those values to the ones specified in the document solved the problem.
Original issue reported on code.google.com by bousquet...@gmail.com on 26 Mar 2013 at 11:00
Original issue reported on code.google.com by
bousquet...@gmail.com
on 26 Mar 2013 at 11:00