Blender Git Commit Log

Git Commits -> Revision 436f02a

Revision 436f02a by Mitchell Stokes (master)
June 30, 2012, 04:34 (GMT)
Finally committing support for compressed textures on the GPU (DDS+DXT). This patch started out as a patch by me, then cleaned up by Kupoman during his work on Cucumber.

One important thing to keep in mind when using this feature is that you'll need to flip your textures vertically (both the GIMP and Photoshop DDS tools I've seen have support for this on export). This is a quirk in using a texture format originally made for DirectX/DirectDraw, and flipping the compressed data is a real headache. Another quick fix for this issue is to change the Y value for the Size in the Mapping panel in the Texture properties to -1 (default is 1).

Commit Details:

Full Hash: 436f02ab9cdf58d8b68f124be0d974a5de0d9308
SVN Revision: 48425
Parent Commit: 2d7efed
Lines Changed: +222, -17

12 Modified Paths:

/source/blender/gpu/CMakeLists.txt (+5, -0) (Diff)
/source/blender/gpu/GPU_draw.h (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_draw.c (+104, -16) (Diff)
/source/blender/gpu/SConscript (+3, -0) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+32, -0) (Diff)
/source/blender/imbuf/intern/allocimbuf.c (+2, -0) (Diff)
/source/blender/imbuf/intern/dds/dds_api.cpp (+11, -1) (Diff)
/source/blender/imbuf/intern/dds/DirectDrawSurface.cpp (+27, -0) (Diff)
/source/blender/imbuf/intern/dds/DirectDrawSurface.h (+2, -0) (Diff)
/source/gameengine/Ketsji/BL_Texture.cpp (+28, -0) (Diff)
/source/gameengine/Ketsji/BL_Texture.h (+1, -0) (Diff)
/source/gameengine/Ketsji/CMakeLists.txt (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021