Question about models...
I am writing a simple 3d engine, just for fun. I already have a terrain made, and I have models from .3ds I would like to insert. Are their any converters for .3ds to whatever OpenGl format is? I''m kinda new at importing models from other things. I just usually draw them in Open Gl, but the quilaty is too bad, and too time consuming.
The 3ds format is pretty hard to load by scratch. Its not very well documented.
Luckly, there are prebuilt libraries, you just have to search google.
Here''s a good one
---
"you are the poet laureat (sp?) of programming. ALL HAIL!!!" -capn_midnight
A Link for programming drunks
Luckly, there are prebuilt libraries, you just have to search google.
Here''s a good one
---
"you are the poet laureat (sp?) of programming. ALL HAIL!!!" -capn_midnight
A Link for programming drunks
go to Game Tutorials, click on tutorials, op OpenGL and it''s on page 3 or 4 or so. On page 5 there''s even a tut to show you how to animate them using keyframes.
Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]
GSACP: GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!
Sander Maréchal
[Lone Wolves Game Development][RoboBlast][Articles][GD Emporium][Webdesign][E-mail]
GSACP: GameDev Society Against Crap Posting
To join: Put these lines in your signature and don''t post crap!
quote:Original post by Sander
On page 5 there''s even a tut to show you how to animate them using keyframes.
Actually, you have to buy their CD to get the 3DS Animation Tutorial.
---
"I made it into someone elses sig!" -capn_midnight
A Link for programming drunks
Unfortunately, it''s a lot harder than:
GLModel myModel;
glLoadModel(myModel, "soldier.3ds");
glRenderModel(myModel, 0);
Ah, but we can dream, can''t we? ^.~
Radical Ion Entertainment | Free programming books
GLModel myModel;
glLoadModel(myModel, "soldier.3ds");
glRenderModel(myModel, 0);
Ah, but we can dream, can''t we? ^.~
Radical Ion Entertainment | Free programming books
quote:OBJ has no texture...
It does actually. At the top of an OBJ file is this entry:
mtllib somefile.mtl
That file has the materials for the current object, including textures associated with the object.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement