Go to file
Bastien Montagne 138c9dba9b Add Custom Loop Normals.
This is the core code for it, tools (datatransfer and modifier) will come in next commits).
RNA api is already there, though.

See the code for details, but basically, we define, for each 'smooth fan'
(which is a set of adjacent loops around a same vertex that are smooth, i.e. have a single same normal),
a 'loop normal space' (or lnor space), using auto-computed normal and relevant edges, and store
custom normal as two angular factors inside that space. This allows to have custom normals
'following' deformations of the geometry, and to only save two shorts per loop in new clnor CDLayer.

Normal manipulation (editing, mixing, interpolating, etc.) shall always happen with plain 3D vectors normals,
and be converted back into storage format at the end.

Clnor computation has also been threaded (at least for Mesh case, not for BMesh), since the process can
be rather heavy with high poly meshes.

Also, bumping subversion, and fix mess in 2.70 versioning code.
2015-02-05 14:32:57 +01:00
build_files CMake: add PLATFORM_LINKFLAGS to CMAKE_(SHARED|MODULE)_LINKER_FLAGS 2015-02-05 19:49:46 +11:00
doc Documentation: Support documenting constructors in class __doc__ 2015-02-01 14:00:43 +01:00
extern cleanup: shebang lines 2015-01-29 15:56:23 +11:00
intern Add Custom Loop Normals. 2015-02-05 14:32:57 +01:00
release Add Custom Loop Normals. 2015-02-05 14:32:57 +01:00
scons@625d446ae8 Fixed border extension for the sunbeams node. 2014-09-23 11:42:11 +02:00
source Add Custom Loop Normals. 2015-02-05 14:32:57 +01:00
tests Add extra Cycles regression tests 2015-02-02 02:02:10 +05:00
.arcconfig Use HTTPS protocol for arc 2013-12-24 22:57:27 +06:00
.gitignore Revert "ignore conflict files" 2014-08-08 06:00:49 +10:00
.gitmodules Initialize git submodules for addons, locales and scons 2013-11-15 12:19:08 +06:00
CMakeLists.txt MinGW still uses SDL1 - will need to change this of course but no need 2015-02-03 12:51:12 +01:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Force phony targets to build (even if file exists) 2014-12-20 02:15:14 +01:00
SConstruct Cycles: Add fast math function module 2015-01-31 01:49:41 +05:00