Endian order of Ligwtwave objects.
I was hoping some one could tell me the endian order of Lightwave objects. Thanks ahead of time..
Im still here?
From the docs:
"Integers can have 1, 2 or 4 bytes and can be signed or unsigned. The most significant byte comes first in the file, so bytes read into memory should be reversed before being interpreted on Intel and compatible CPUs."
Hope that helps. (I can never remember which endian is what)
"Integers can have 1, 2 or 4 bytes and can be signed or unsigned. The most significant byte comes first in the file, so bytes read into memory should be reversed before being interpreted on Intel and compatible CPUs."
Hope that helps. (I can never remember which endian is what)
You could use a very simple Assembly(inside of visual C/C++)function to switch byte order.
In the lightwave SDK, there is a small program written in C to take a Lightwave object apart and create a text file on everything in it. That''s what my converter to OpenGL is based on.
You should be able to download the SDK fron Newtek''s website, if you can''t give me you''re email address and I''ll email you the code and a compiled program.
You should be able to download the SDK fron Newtek''s website, if you can''t give me you''re email address and I''ll email you the code and a compiled program.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement