"Charlie Burrows" <[EMAIL PROTECTED]> 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
_______________________________________________
cl-opengl-devel mailing list
cl-opengl-devel@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-opengl-devel

Reply via email to