- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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 kopiert
2 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
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.
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite