- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi ..
Can you explain more about the type of binary file used with the xml. how can i create that file..?
Thanks
Can you explain more about the type of binary file used with the xml. how can i create that file..?
Thanks
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The XML File stores the structure of the scene while the bin file stores large data arrays. From the XML file one can point to a byte offset of the bin file and read a number of array elements from there. For instance a mesh can have the following as normal array specification:
This line says that at byte offset 1024 a number of 100 float3 values should be read into the normal array.
For some more information look in the file app/importers/xml.cpp functions loadBinary and loadVec{2f,3f,3i}Array, etc.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page