This commit will switch blender to use tangent space generated within
authorM.G. Kishalmi <lmg@kishalmi.net>
Mon, 14 Feb 2011 18:18:46 +0000 (18:18 +0000)
committerM.G. Kishalmi <lmg@kishalmi.net>
Mon, 14 Feb 2011 18:18:46 +0000 (18:18 +0000)
commit20553d4064e790f42fe707b8b6c5e6451e983eb7
tree8453025eb4106b26ed323a16da222153f117ab81
parent8b7482892b2ecb456be60b42fe1625156d19e954
This commit will switch blender to use tangent space generated within
the two files mikktspace.h and mikktspace.c. These are standalone files
which can be redistributed into any other application and regenerate the
same tangent spaces. The implementation is independent of the ordering
of faces and the vertex ordering of faces.
20 files changed:
source/blender/blenkernel/BKE_DerivedMesh.h
source/blender/blenkernel/CMakeLists.txt
source/blender/blenkernel/intern/DerivedMesh.c
source/blender/blenkernel/intern/cdderivedmesh.c
source/blender/blenkernel/intern/customdata.c
source/blender/blenkernel/intern/mikktspace.c [new file with mode: 0644]
source/blender/blenkernel/intern/subsurf_ccg.c
source/blender/blenkernel/mikktspace.h [new file with mode: 0644]
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_material.c
source/blender/gpu/intern/gpu_shader_material.glsl
source/blender/gpu/intern/gpu_shader_material.glsl.c
source/blender/gpu/intern/gpu_shader_vertex.glsl
source/blender/gpu/intern/gpu_shader_vertex.glsl.c
source/blender/render/extern/include/RE_shader_ext.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/render_texture.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/renderdatabase.c
source/blender/render/intern/source/shadeinput.c