Post by lal7777 on Jun 29, 2011 23:33:00 GMT -5
Hello,
I'm moving tomorrow, and may not have an internet connection for a long while, so here's a premature release of the .obj loader that I've been working on. Feel free to comment on what needs fixing/improvement.
I've used a lot of structures in this program (some of which aren't currently necessary at this time but will be in the future).
This is a complete re-make of all my previous .obj loader programs.
Please remember that this is not the completed version.
So far the program can:
-Load any number of .obj files
-Load any type of polygon
supports(points, lines, triangles, quads, and ngons)
I intend to do the following with it:
- allow users to create a cache (reduces load time significantly for large files, by specifying the amount of memory needed for the file through a previous load. The reason this would reduce load time is that the files would only have to be scanned once (right now each .obj file is being scanned 3 times))
- Load .mtl files (not very difficult)
- Use lighting
- Use shadows with display
- Use lists (2 per object, with the first being non-opaque objects and the 2nd being opaque objects)
- Make this into an include file, so that it can be used with any program.
- Use the include file for my chess game.
Instructions:
-When the program starts enter "n" then enter "y".
- The default dirrectory for loading is "obj files\" and any .obj files placed in the folder will be loaded.
I'll post some .obj files in a sample folder
As I said before please make suggestions or comments on things that need improvement.
Thank you,
Lindsey
I'm moving tomorrow, and may not have an internet connection for a long while, so here's a premature release of the .obj loader that I've been working on. Feel free to comment on what needs fixing/improvement.
I've used a lot of structures in this program (some of which aren't currently necessary at this time but will be in the future).
This is a complete re-make of all my previous .obj loader programs.
Please remember that this is not the completed version.
So far the program can:
-Load any number of .obj files
-Load any type of polygon
supports(points, lines, triangles, quads, and ngons)
I intend to do the following with it:
- allow users to create a cache (reduces load time significantly for large files, by specifying the amount of memory needed for the file through a previous load. The reason this would reduce load time is that the files would only have to be scanned once (right now each .obj file is being scanned 3 times))
- Load .mtl files (not very difficult)
- Use lighting
- Use shadows with display
- Use lists (2 per object, with the first being non-opaque objects and the 2nd being opaque objects)
- Make this into an include file, so that it can be used with any program.
- Use the include file for my chess game.
Instructions:
-When the program starts enter "n" then enter "y".
- The default dirrectory for loading is "obj files\" and any .obj files placed in the folder will be loaded.
I'll post some .obj files in a sample folder
As I said before please make suggestions or comments on things that need improvement.
Thank you,
Lindsey