Patch #7897 Texture Nodes!
authorTon Roosendaal <ton@blender.org>
Wed, 12 Nov 2008 19:03:50 +0000 (19:03 +0000)
committerTon Roosendaal <ton@blender.org>
Wed, 12 Nov 2008 19:03:50 +0000 (19:03 +0000)
commit8030cb03fd41673b7d687128782a0e21417baaea
treeb2e25d9a91ecf3713c45a4263f88a934e973e593
parent3fd3a13efc81ce3eafadd5ab31a154bbc25d6e58
Patch #7897 Texture Nodes!

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. :)
49 files changed:
source/Makefile
source/blender/blenkernel/BKE_node.h
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/material.c
source/blender/blenkernel/intern/node.c
source/blender/blenkernel/intern/texture.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/writefile.c
source/blender/include/BSE_node.h
source/blender/include/blendef.h
source/blender/include/butspace.h
source/blender/makesdna/DNA_node_types.h
source/blender/makesdna/DNA_texture_types.h
source/blender/nodes/Makefile
source/blender/nodes/SConscript
source/blender/nodes/intern/SHD_nodes/SHD_texture.c
source/blender/nodes/intern/SHD_util.c
source/blender/nodes/intern/TEX_nodes/Makefile [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_bricks.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_checker.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_curves.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_hueSatVal.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_image.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_invert.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_math.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_mixRgb.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_output.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_proc.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_rotate.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_texture.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_translate.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_valToRgb.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_nodes/TEX_viewer.c [new file with mode: 0644]
source/blender/nodes/intern/TEX_util.h [new file with mode: 0644]
source/blender/render/extern/include/RE_shader_ext.h
source/blender/render/intern/include/pixelshading.h
source/blender/render/intern/include/texture.h
source/blender/render/intern/source/convertblender.c
source/blender/render/intern/source/pixelshading.c
source/blender/render/intern/source/rayshade.c
source/blender/render/intern/source/rendercore.c
source/blender/render/intern/source/texture.c
source/blender/src/butspace.c
source/blender/src/buttons_shading.c
source/blender/src/drawnode.c
source/blender/src/editnode.c
source/blender/src/header_node.c
source/blender/src/headerbuttons.c
source/blender/src/toolbox.c