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