Robin (Frrr) Allen did a decent job on this, so we can also welcome him as a member in the svn committers team to maintain it! I do the first commit with some minor fixes: - get Makefiles work - fix rounding issue with tiles on unit faces - removed UI includes from tex node A nice doc in wiki is here: http://wiki.blender.org/index.php/User:Frr/TexnodeManual On the todo for Robin is: - When using one or more Texture-input nodes, you cannot edit them by activating (as works now for Material nodes). - The new "output node" option fails on the default case, when only one output node is active. It then shows often a blank menu. Will get fixed asap. - When using a NodeTree-Texture as input node, the menu for 'active output' should not show. NodeTree should ignore other nodetrees to keep things sane for now. - On a future todo is proper usage of "Dxt" and "Dyt" texture vectors for superior antialising of checkers/bricks. General note; I know people are dying to get a full integrated shader system with nodes. In theory we could merge this with Material Nodetrees... but I rather wait for a solid and very well thought out design proposal for this, also including design ideas for unifying with a shader language (GPU, CPU). For the time being this is a nice extension of current textures. :)
52 lines
1.3 KiB
Python
52 lines
1.3 KiB
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('intern/*.c')
|
|
sources += env.Glob('intern/CMP_nodes/*.c')
|
|
sources += env.Glob('intern/SHD_nodes/*.c')
|
|
sources += env.Glob('intern/TEX_nodes/*.c')
|
|
|
|
incs = '. ./intern '
|
|
incs += '#/intern/guardedalloc ../include ../blenlib ../makesdna'
|
|
incs += ' ../render/extern/include '
|
|
incs += ' ../imbuf ../avi '
|
|
incs += ' ../blenloader'
|
|
incs += ' ../blenkernel ../renderconverter '
|
|
incs += ' ../gpu #/extern/glew/include '
|
|
|
|
incs += ' ' + env['BF_OPENGL_INC']
|
|
incs += ' ' + env['BF_ZLIB_INC']
|
|
|
|
defs = ''
|
|
|
|
if env['WITH_BF_PYTHON']:
|
|
incs += ' ' + env['BF_PYTHON_INC']
|
|
incs += ' ../python'
|
|
else:
|
|
defs += 'DISABLE_PYTHON'
|
|
|
|
if env['WITH_BF_INTERNATIONAL']:
|
|
defs += ' WITH_FREETYPE2'
|
|
|
|
if env['WITH_BF_VERSE']:
|
|
defs += ' WITH_VERSE'
|
|
incs += ' ' + env['BF_VERSE_INCLUDE']
|
|
|
|
if env['WITH_BF_VERSE']:
|
|
defs += ' WITH_VERSE'
|
|
|
|
if env['WITH_BF_OPENEXR']:
|
|
defs += ' WITH_OPENEXR'
|
|
|
|
if env['WITH_BF_FFMPEG']:
|
|
defs += ' WITH_FFMPEG'
|
|
incs += ' ' + env['BF_FFMPEG_INC']
|
|
|
|
if env['WITH_BF_QUICKTIME']:
|
|
defs += ' WITH_QUICKTIME'
|
|
incs += ' ' + env['BF_QUICKTIME_INC']
|
|
|
|
defs += ' WITH_CCGSUBSURF '
|
|
|
|
env.BlenderLib ( libname = 'nodes', sources = sources, includes = Split(incs), defines = Split(defs), libtype=['core','player'], priority = [65, 20] )
|