import 3d objects
hi. i am a relative newbie to opengl, i would like to know if it is possible to import 3d models generated by other applications. i sam a few topics considering 3dsmax, so it dhould be possible, but how? i have the opengl red book, but was not able to find anything. the program i wuod like to make my 3d models with is blender, but i would like to now if it is possible in general.
tnx
goto: http://www.gametutorials.com
or to http://nehe.gamedev.net
there are tutorials for loading many different types of models. also
http://myfileformats.com/index.php is a great site for finding out the binary file format for other formats if you want to roll your own importer code.
if you don''t already know it, you should read up on file I/O in your favorite C++ reference book or online docs.
-me
or to http://nehe.gamedev.net
there are tutorials for loading many different types of models. also
http://myfileformats.com/index.php is a great site for finding out the binary file format for other formats if you want to roll your own importer code.
if you don''t already know it, you should read up on file I/O in your favorite C++ reference book or online docs.
-me
It should be possible, I don''t have really any experiance with openGL but I have writen my own importers for dirrectx9 from 3DS Max 5, if it will work for dirrectx there should be a way to do it for openGL
If you want to write a model loader, consider an easier format first, such as .obj - then advance to .3ds or .md2 or something similar. Stay away from .md3 for the time being as it''s a wee bit more advanced (as regards interpolation, eg kayframing, or more commonly know as animation). I would normally suggest you to write your own loader from any available file specification(s) (Google it as "my_favourite_file_format (such as .obj) file specification" or something similar). Note that few file formats out there have their official file format specs released, so you''ll probably have to make the best of what you can find.
If you''re looking for ready-for-use code, refer to Palidine''s post.
Crispy
If you''re looking for ready-for-use code, refer to Palidine''s post.
Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement