PDA

View Full Version : LOADING 3D MODELS..NEED HELP!



06-16-2002, 10:17 AM
How do I load 3d models (.3DS or .X etc) into an OpenGl Program? What file type should I use?

RASAP

Gavin
06-16-2002, 11:15 AM
Write your own code or search the net for some.

06-16-2002, 12:24 PM
If you're programming in Visual C++, you might want to try Display3DS (http://p-squared.com/Display3DS.zip) as a starting point. It makes decoding and displaying 3DS meshes almost trivial.

WhatEver
06-16-2002, 01:18 PM
If you want to use a third party GDK to load your models you can use Spider3D(it's free). It assumes you know how to set up OpenGL. Go here to check it out: http://www.spider3d.com

I released the source code to v1, you can find some 3ds loading routines in the s3d_3ds.cpp file if you want to write your own model loader.