Dark Bit Factory & Gravity

PROGRAMMING => Freebasic => Topic started by: SAB on July 20, 2006

Title: Loading 3D-Models into FreeBasic
Post by: SAB on July 20, 2006
I am new to freebasic.  I usually use Basic4GL.  but recently I've ported some programs over to freebasic.

Is there anyone who know how to code up a program for me to load in 3d-models I don't know what kinda file it would support any kind would be nice as I can not load in models right now.
Are there any tutorials out there that do this and would it support textures?

on another note where can I upload programs I have lots of new stuff I ported for freebasic anyone can let me know if they want free source for all kinds of demo effects and graphics but I would like to upload them so everone can check them out is there a good site or place I can do this? anyone interested? let me know sb0314@aol.com thanks
Title: Re: Loading 3D-Models into FreeBasic
Post by: Clyde on July 20, 2006
:hi: to the forums dude :)

I've yet to look into 3D work properly myself with Freebasic. As a suggestion, the best bet would probably be to Load them in as Milkshape ASCII format . I don't know if any of the other members have tried this, perhaps they can explain the process a bit better.

And for posting up your effects etc dude, you can either use the code tags and paste the listings into the FB Forums, or alternatively if their not too huge ( I think the limit is 250kb ), you can use the "Additional Options" just underneath the reply windows ( you wont see it in Quick Reply ) and can include attachments to your posts. Also preferably in either zip or rar format if you can, although .bas is included. You can also find a topic on it in the Announcements sections.

Cheers and all the best,
Clyde.
Title: Re: Loading 3D-Models into FreeBasic
Post by: Shockwave on July 21, 2006
Hiya SAB,  :hi: to the forum, as far as loading in 3D objects is concerned, dbf are working on a demo at the moment, we're currently trying to think of the best way to do this so I'm not able to help at the moment, however you could look into milkshape 3d http://www.swissquake.ch/chumbalum-soft/
As I believe that it's format is quite easy to interpret.

The upload limit is 750kb on this forum, basically you can attach your files to your posts, when you are logged in, click additional options and then you can browse for your files.
Please zip them first!
Looking forward to seeing your stuff :)
By the way, there may be more help forthcoming on loading the 3D objects, see what other replies you get.
Title: Re: Loading 3D-Models into FreeBasic
Post by: relsoft on July 21, 2006
We use Lightwave OBJ. And load the objs using binary.

Here's an old QB version.

http://rel.betterwebber.com/junk.php?id=20