Loading external objects
#1
Posted 23 January 2012 - 05:31 AM
#2
Posted 23 January 2012 - 05:54 AM
#3
Posted 23 January 2012 - 06:10 AM
#4
Posted 23 January 2012 - 06:54 AM
Anyway, that's my take on your problem.
#5
Posted 23 January 2012 - 11:08 PM
#6
Posted 24 January 2012 - 06:43 AM
First, create your model in whatever program you want, then export it to .obj format.
Second, open the with GMModelFix, and make sure everything is correct (like UVs and normals). Export to .d3d format.
Last, import to your game. (I'm assuming you know how to do that.)
I also found this dll. Might be interesting.
#7
Posted 01 February 2012 - 12:42 AM
modelname=d3d_model_create() d3d_model_load(modelname, "modelname.d3d")
This works as long as the object isn't too big.
Edited by nh_99, 01 February 2012 - 12:42 AM.
#8
Posted 25 February 2012 - 10:06 PM
Hi everybody, it's been months now that I have been trying to figure out how to load an external model from blender or something like that. I looked through hundreds of tutorials but every singe one of them is out dated. Please, can somebody tell me how to load external objects into the game? I really wanna start learning 3D but without knowing how to load external models, I can't start.
I watched this video on YouTube about loading models from blender, or any program that can export to .obj. It got me started with my3D Game.
http://www.youtube.c...h?v=Qa8qpumSuGA
Edited by starfire_64, 26 February 2012 - 05:20 PM.
#9
Posted 09 March 2012 - 08:02 AM
#10
Posted 09 March 2012 - 08:40 AM
Anim8or is old (Last update was in 2006), and rather outdated. Perhaps a better solution is to load obj files using a GM script. If you find a good description of the file format (and it is a simple enough one) it won't be hard to make a script to load it (I've made scripts to load obj and 3ds files, and OmicronGamer made some to load MD2 and MD3 files).My personal favorite .obj to .d3d converter is anim8or and script written for it found on this page. It is the only converter that has never failed me.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











