Blender Git Commit Log

Git Commits -> Revision 5e060be

Revision 5e060be by Antonis Ryakiotakis (KTX_support)
May 30, 2015, 17:05 (GMT)
KTX file format support

This commit introduces support for the KTX format in blender.

Saving and loading of files is supported though saving compressed formats
is not yet supported.

Thumbnails are not generated because the API relies on OpenGL to load the textures,
which is not available during threaded thumbnail generation.

We hand compiled a KTX library from https://github.com/KhronosGroup/KTX
and placed KTX lib files in intern/KTX as follows:

libktx.a in intern/KTX/lib
ktx.h in intern/KTX/include

We may include the library in extern when we make sure it compiles in all platforms (Ubuntu 15.04 failed here)

Scons is not supported, only cmake for now.

Commit Details:

Full Hash: 5e060bed27bd3e2a5e75f0c16ea65dc4534fdf04
Parent Commit: 0a4bf53
Lines Changed: +231, -14

1 Added Path:

/source/blender/imbuf/intern/ktx.c (+136, -0) (View)

16 Modified Paths:

/build_files/cmake/macros.cmake (+3, -0) (Diff)
/CMakeLists.txt (+7, -0) (Diff)
/source/blender/blenkernel/BKE_image.h (+1, -1) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+4, -0) (Diff)
/source/blender/blenkernel/intern/image.c (+23, -2) (Diff)
/source/blender/imbuf/CMakeLists.txt (+13, -0) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+1, -1) (Diff)
/source/blender/imbuf/IMB_imbuf_types.h (+9, -3) (Diff)
/source/blender/imbuf/intern/filetype.c (+5, -2) (Diff)
/source/blender/imbuf/intern/IMB_filetype.h (+10, -2) (Diff)
/source/blender/imbuf/intern/openexr/openexr_api.cpp (+1, -1) (Diff)
/source/blender/imbuf/intern/thumbs.c (+1, -1) (Diff)
/source/blender/imbuf/intern/util.c (+5, -1) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/CMakeLists.txt (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021