Quote:
Originally Posted by Anvart
Hi, Ref.
I don't understand What do you want for?
You must to use this material properties whithout changing!
|
Hi, Ref.
If to you interestingly look further.
About that, that I have written above: so-as one-byte pairs
of properties are somehow connected, there is an interesting
variant to unite
one-byte numbers of material properties
in
two-byte numbers (unsigned short)......???
Besides the structure dataBlock Type 2 can be truncated
if it has no own bitmap!!! (tgaSize = 00000000 is end of Block. Example: bodyXX.dat).
DataBlock Type 13.
This block is additional (child) to block Type 2.
In this dataBlock it is certain bitmap and its properties for special effects
"selfillumination", "specular" and others.
Example:
- 4 bytes unsigned long dataBlock Type
- 4 bytes un. long dataBlock SubType
- 4 bytes un. long dataSize
- 8 bytes object ID
- 8 bytes parent-object ID (Type 2)
Next 28 bytes of properties:
- 8 bytes symbols of parameter Name (selfillu or specular)
- 4 bytes un. long parameter Value ...?
- 2 bytes un. short the same, as in Type 2 dataBlock (2 bytes number variant)
- "0000" - 2 bytes the same, as in Type 2 dataBlock (2 bytes number variant)
- tgaSize - 4 bytes un. long TGA-file Size
- txtrScale - 4 bytes float bitmap Scale
- "00000000" - 4 bytes
- tgaName - Zero end string TGA-file Name
- "00" - 1 byte end of string
Sorry Ref,
I am not Anglo-Saxon or Anglo-American
my english is wrong and poor.
If to you interestingly test my assumptions.
I don't have time and desire.
Anvart