PDA

View Full Version : Best way to get from an ac3d model -> opengl display list


axiom10
8th June 2003, 10:49 PM
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.

Andy
9th June 2003, 03:15 AM
Steve Baker's ac_to_gl should be exactly what you want:

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

Andy

axiom10
9th June 2003, 04:20 AM
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:~$

epajarre
12th June 2003, 04:51 AM
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