On Tuesday, May 17, 2005, at 05:32PM, Jonathan del Strother <email@hidden> wrote:
>I'm having trouble finding a way of outputting compressed texture
>files from my program in OS X. Is there any way of doing so? Any
>libraries that might help?
I'm fairly sure OpenIL can output DXT compressed DDS (DirectDraw Surface) files. You can then read the DXT compressed data back out of the DDS file. DXT data is the same format as S3TC, so you can send it to OpenGL as an S3TC compressed texture.
OpenGL can compress textures on upload, but I don't know if there's any way to get the raw compressed data back from OpenGL. You wouldn't want to compress textures every time- it would adversely affect you level load times.
Find OpenIL here: http://openil.sourceforge.net/
--
James Milne
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden