PDA

View Full Version : Source Code for Complex Models?



rangers99
03-11-2002, 05:46 PM
Hi

I am creating a demo app and would like, if possible, to just paste some code that draws a fairly complex model (something a bit better than cylinders, spheres etc).

Anyone have a suitable link?

cheers

[This message has been edited by rangers99 (edited 03-11-2002).]

yakuza
03-11-2002, 06:10 PM
There are several tutorials on loading models, which I think is what you are asking for. Check out: http://nehe.gamedev.net http://www.gametutorials.com

rangers99
03-11-2002, 11:04 PM
I was kind of hoping to avoid spending time using model loading code. Its a one-off and i really just need some C source that uses display lists to draw a fairly complex model (not a teapot please!!!!!!!!!).

richardve
03-11-2002, 11:10 PM
Model loading code is one of the many steps that are neccesary to create a good game.

Anyway.. there's always Deep Exploration (http://www.righthemisphere.com/products/dexp/index.htm) ..

ys.


[This message has been edited by richardve (edited 03-12-2002).]

rangers99
03-12-2002, 10:28 PM
Do none of you muppets have any display lists source code that renders a nice scene?

rIO
03-13-2002, 01:09 AM
One of the best site to learn how to render weird realtime generated stuff is Poul Bourke web site.

Just search the name on google and keep one month or two to browse the weird surfaces and maths.

rIO.sK http://www.spinningkids.org/rio

richardve
03-13-2002, 02:07 AM
Originally posted by rangers99:
Do none of you muppets have any display lists source code that renders a nice scene?

I'm not a muppet, I'm a smurf.

nr.

Eric
03-13-2002, 02:39 AM
Originally posted by richardve:
I'm not a muppet, I'm a smurf.

nr.

And I'm a snorky, sorry...

Eric

rangers99
03-13-2002, 09:19 PM
You're all muppets!

Managed to find some source in the glChessGame that you can download from this site. There is the code for all the chess pieces.

So the moral is: If you want something done properly do it yourself!

Marc
03-13-2002, 10:57 PM
.....???? (Muppets, smurfs, snorkies ??? I'm wrong here!!!)

There is a program out there, called '3D Exploration' from 'X Dimension Software' (http://www.xdsoft.com/explorer/) which can load a lot of different 3D formats and is able to write a .cpp and a .h-file which generate a display list for the objects and can be used in own programs. In my version (1.2.5) there occure sometimes some errors but most times it works very fine.
So it's not final code I offer you, but a way to get some code from (own?) models.

Marc

Marc
03-13-2002, 11:03 PM
Hmmm... I looked at their web-site. They have changed everything. But perhaps you find an old shareware-version in the internet.