Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Quantrizi

OpenGL and Blender

This topic is 5758 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
The general rule of thumb is that if you know the file format of a file created in 3D modelling software, you can extract the data from it, and use it in your program. You can find definitions of file formats on www.wotsit.org...

Oh, and Bart''s line is actually "Houston, we have a booger". Sorry to be incredibly sad...


Movie Quote of the Week:

"You mean, let me understand this...cuz I...maybe it''s me,
maybe I''m a little f**ked up maybe. I''m funny how, I mean
funny, like I''m a clown? I amuse you? I make you laugh?
I''m here to f**kin'' amuse you? Whattya you mean funny?
Funny how? How am I funny?"
- Tommy, Goodfellas.
Try http://uk.geocities.com/mentalmantle. Seriously. It''s brilliant.
And I just completely redesigned it so it looks even better.
DarkVertex Beta 0.8 available soon!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster


Unfortunately, the Blender file format was never released. I think it was changing a lot.

However, since Blender supports Python scripting, there are some (rather crappy *cough*) export scripts out there for various file formats that you CAN write a loader for. Lets hope that since it''s now open source, someone will make it easier to extract data.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster


Just found something for ya (and me, since I''m trying to do the same thing). From Blender, you can export your model as a .DXF file. There''s a utility at:

http://www.gamehippo.com/gamedev/utilities.shtml

...that will allow you to convert this .DXF file to a .3DS file. 3DS is a common format and writing a loader for it shouldn''t be a big deal.

I''m not sure about exporting animations, though.

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster

...that will allow you to convert this .DXF file to a .3DS file. 3DS is a common format and writing a loader for it shouldn''t be a big deal.




ARghhh!!! Don''t EVER say that.

The geometry of a 3ds file is easy to extract, but the orientation and scaling data (among other) is hidden away in the keyframer part of the file and that is a real **** to extract any information from since there are close to no documentation avaliable for that. (If anyone got a clue on how to do it, PLEASE e-mail me)

-Luctus

Share this post


Link to post
Share on other sites
Well, I know there''s a 3DS file loader program at www.gametutorials.com, but I don''t know if it provides easy access to the orientation and scaling data Luctus mentions...


Movie Quote of the Week:

"You mean, let me understand this...cuz I...maybe it''s me,
maybe I''m a little f**ked up maybe. I''m funny how, I mean
funny, like I''m a clown? I amuse you? I make you laugh?
I''m here to f**kin'' amuse you? Whattya you mean funny?
Funny how? How am I funny?"
- Tommy, Goodfellas.
Try http://uk.geocities.com/mentalmantle. Seriously. It''s brilliant.
And I just completely redesigned it so it looks even better.
DarkVertex Beta 0.8 available soon!

Share this post


Link to post
Share on other sites
quote:
Original post by iNsAn1tY
Well, I know there''s a 3DS file loader program at www.gametutorials.com, but I don''t know if it provides easy access to the orientation and scaling data Luctus mentions...



Nope, it doesn''t. There is however a reader at sourceforge called c3ds that _might_ do (found it just after my last post =P ), havent had time to look into it yet though.

-Luctus

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!