|
-
Sep 21st, 2002, 02:31 PM
#1
Thread Starter
Addicted Member
Convert float vertices to binary file?
Hi,
I can read and write vertices (floats) using ASCII files. I can even read vertices doing a binary read. How do I take some float values and write them to a binary file? A simple example writing a number such as -12.34 would be appreciated. In this case, I think a float takes 4 bytes...so the file would be that long.
I want to save my 3D model data in binary format for quicker loading.
Regards,
ChuckB
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|