[cl-opengl-devel] Re: Nehe Tutorials 1-6 are done.

Charlie Burrows charlie.burrows at gmail.com
Fri Sep 29 00:48:37 UTC 2006


On 9/28/06, James Bielman <jamesjb at jamesjb.com> wrote:
> "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
>

Cool I will give that a try tomorrow. I've been using cl for ~4 years
now and I still feel like I'm just scratching the surface. I like
that!

Cheers,
Charlie



More information about the cl-opengl-devel mailing list