[cl-opengl-devel] Re: Nehe Tutorials 1-6 are done.
James Bielman
jamesjb at jamesjb.com
Thu Sep 28 22:59:34 UTC 2006
"Charlie Burrows" <charlie.burrows at gmail.com> writes:
> Also I sidestepped the whole image loading issue by putting all the
> image data (64x64x24 bits) into a lisp file. I'm open to
> suggestions.
One idea that might be worth looking into is loading the data into an
array at compile time using EVAL-WHEN. You can find the texture
relative to the source file by using *COMPILE-FILE-PATHNAME* (perhaps
falling back to *LOAD-PATHNAME* when loading the source).
This makes it easy to distribute textures as normal files but also
doesn't require the texture file when delivering an executable.
James
More information about the cl-opengl-devel
mailing list