Go Back   AC3D Forums > General > AC3D General
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 8th June 2003, 09:49 PM   #1
axiom10
Junior Member
Junior member
 
Join Date: Jun 2003
Posts: 2
Default Best way to get from an ac3d model -> opengl display list

I'd like to import a model into a C opengl program (on linux). Does anyone know if there is a tool that will take a file from ac3d and spit out C code that will create a display list?

Thanks.
axiom10 is offline   Reply With Quote
Old 9th June 2003, 02:15 AM   #2
Andy
Administrator
Professional user
 
Andy's Avatar
 
Join Date: Jun 2003
Posts: 4,379
Default

Steve Baker's ac_to_gl should be exactly what you want:

http://www.ac3d.org/ac3d/download/util/ac_to_gl.tgz

Andy
Andy is offline   Reply With Quote
Old 9th June 2003, 03:20 AM   #3
axiom10
Junior Member
Junior member
 
Join Date: Jun 2003
Posts: 2
Default

Thanks for the reply. It appears as though the file is incomplete:

lerchc@skylab:~$ tar -zxvf ac_to_gl.tgz
CHANGES
Makefile
NOTICE
README
ac_to_gl.cxx
folly.ac
harness.cxx
ice.rgb
load_sgi_texture.cxx

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error exit delayed from previous errors
lerchc@skylab:~$
axiom10 is offline   Reply With Quote
Old 12th June 2003, 03:51 AM   #4
epajarre
Junior Member
Member
 
Join Date: Jun 2003
Posts: 15
Default

Did you try compiling it? at least the ac_to_gl program seems to
compile and work ok when I try it.

The whole error message might be somekind of gzip/tar padding issue,
and the files actually ok.

Eero
epajarre is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 08:30 AM.


AC3D Forum
(C) Inivis Limited 2020