From: Paul Furber Newsgroups: comp.os.msdos.djgpp Subject: Re: Allegro 3D examples needed DESPERATLEY. Date: Sun, 02 Mar 1997 21:40:00 +0200 Organization: Global One South Africa (Pty) Ltd. Lines: 27 Message-ID: <3319D790.5445@sprintlink.co.za> References: <3318b795 DOT 13286628 AT nntp DOT generation DOT net> Reply-To: paul AT sprintlink DOT co DOT za NNTP-Posting-Host: ppp159.sprintlink.co.za Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Shawn Hargreaves wrote: > > Erroll Leggo writes: > >I was wondering if there is any program to convert wireframe models > >from any of the popular formats to allegro? > > Allegro doesn't really have a model format as such. The 3D functions are > a lot lower-level than that: Allegro will draw your polygons, and it > will do various geometric transformations for you, but it's up to you to > store the model however you like... Probably the best example I've found is 3DSRDR which is a small C program to read in the .3DS format from 3D Studio. It's quick and it doesn't take long to convert it to output a header file which contains an object list from the model. Look in http://www.cdrom.com/pub/demos/incoming/code/ Anyone want to do collaborative work on a higher-level 3D engine with keyframing, cameras, lighting, real-time rendering and some model work? It would use Shawn's excellent base of code in Allegro but provide high-level funtionality like RenderScene() or something ;-) Mail me if you're interested. Paul.