DDS / DXT convert script or code

Apprentice
Posts: 11
Joined: 2010.07
Post: #1
Hey guys I have been looking all over for a unix script or some code for converting pngs to dds sort of like the one apple provides for PVR. I want to be able to generate mipmaps and pick the compression type (DXT1,DXT3, or DXT5). Any help would be awesome thanks!
Quote this message in a reply
Sage
Posts: 1,482
Joined: 2002.09
Post: #2
I know Nvidia has a bunch of texture compression tools. I would suspect that you can run it from the command line, but I've never installed it to try it.

Scott Lembcke - Howling Moon Software
Author of Chipmunk Physics - A fast and simple rigid body physics library in C.
Quote this message in a reply
⌘-R in Chief
Posts: 1,260
Joined: 2002.05
Post: #3
For DXT 1 and 5 compression, you can easily reuse this code:
http://www.evl.uic.edu/cavern/fastdxt/
Quote this message in a reply
Apprentice
Posts: 11
Joined: 2010.07
Post: #4
Ok I solved it some people on the OpenGL mailing list helped me out. Get the nvidia developer tools and compile them for mac.

http://code.google.com/p/nvidia-texture-tools/
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Useful application to convert a Flash animation into a sprite sheet super_indian_developer 1 5,686 Feb 21, 2011 02:16 AM
Last Post: toonbit
  SpiderMonkey (js) Script Engine UB XCode Project ggadwa 0 2,827 Feb 9, 2006 06:53 PM
Last Post: ggadwa