Source Code for Complex Models?

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).]

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

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!!!).

Model loading code is one of the many steps that are neccesary to create a good game.

Anyway… there’s always Deep Exploration

ys.

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

Do none of you muppets have any display lists source code that renders a nice scene?

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

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.

Originally posted by richardve:
[b] I’m not a muppet, I’m a smurf.

nr.[/b]

And I’m a snorky, sorry…

Eric

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!

…??? (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

Hmmm… I looked at their web-site. They have changed everything. But perhaps you find an old shareware-version in the internet.