I DID IT!!!!
YES!!!! I DID IT! I CAN NOW LOAD 3DS FILES IN MY PROGRAM! Sweet mother of god after beating my head on my keyboard 1000 times I accually loaded the damn thing! I know alot of you don''t give a crap but I don''t care because I am just so excited! WOOOOOOOOOOOOOOOOO!!!!
---------------------------
The pipes clangor all the time.
---------------------------The pipes clangor all the time.
Excellent! File I/O is my greatest weakness.

-~-The Cow of Darkness-~-
Good Job to you.
Now if only I could do it...
======
Very good programming site:Programmers Unlimited

======
Very good programming site:Programmers Unlimited
Sweet! I''m sure NeHe would appreciate it if you would write a tutorial on how to load them for his site.
if (!understand) ask;
Yes very happy that I am able to get data out of 3ds files but one prob I have ran into when displaying it. From what I have read it seems that verts that are shared with other faces are not put in the file for space reasons and I now have to find what order they go in to draw it. I first thought that the numbers just ran and I would make the polies as they spat out and my cube came up to be some wacked out thing.
But there is some kind of order they must be drawn becuase of shared verts. I will find it out sometime (got this far and I'm not going to quit)but to be quick if anyone knows info on how to draw them in order that would be great.
edit: Yes I plan to make a very very easy simple tut once I finish with all the things I am doing right now.
---------------------------
The pipes clangor all the time.
[edited by - pipes clangor on November 2, 2003 3:43:28 AM]

edit: Yes I plan to make a very very easy simple tut once I finish with all the things I am doing right now.
---------------------------
The pipes clangor all the time.
[edited by - pipes clangor on November 2, 2003 3:43:28 AM]
---------------------------The pipes clangor all the time.
3DS contains a list of vertices and list of faces that indexs into vertices. So you can just load vertices into one array and indices into other and use vertex array to draw it.
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
You should never let your fears become the boundaries of your dreams.
i think you have the facenormals in the 3ds file
just write a function to sort the vertices in a way that you can draw each face in CW or CCW order via a vertex array
just write a function to sort the vertices in a way that you can draw each face in CW or CCW order via a vertex array
http://www.8ung.at/basiror/theironcross.html
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement