» Blender Custom Nodes by Lukas Tönne x32
Updated 04:13 January 24th, 2013
Be thankful, comment
(3724)  4,400

Custom Nodes or Python Nodes are a way to dynamically extend the set of available nodes in Blender. Currently the process of creating a new type of node involves many different steps:

  • Unique identifier number
  • Registration function
  • DNA struct for specialized data
  • RNA definition as interface to that data
  • Draw functions to display data in the editor
  • Optional functions for init/copy/free of a node and other editor behavior
  • Execution functions, depending on overall node system (compositor, materials/cylces shaders, textures)
  • Read/Write code for .blend files

While not all of the steps are needed for all types of nodes, they all require editing C code and recompile. This in turn means that no node types can be added or modified without a SVN trunk patch and the necessary approval.

Custom nodes aim to remove this problem by making node types dynamically registered using an API. This way new node types can be added from python or any other external system using the RNA.

 

 http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes

 

Also make sure to check this links:

http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes/Bugs

http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes/TODO

 

WITH_BF_OPENMP = True
WITH_BF_JACK = False
WITH_BF_FFMPEG = True
WITH_BF_OPENAL = True
WITH_BF_ICONV = True
WITH_BF_SNDFILE = True
WITH_BF_SDL = True
WITH_BF_OPENEXR = True
WITH_BF_JPEG = True
WITH_BF_PNG = True
WITH_BF_TIFF = True
WITH_BF_COLLADA = False
WITH_BF_GAMEENGINE = False
WITH_BF_PLAYER = False
WITH_BF_CYCLES_CUDA_BINARIES = True
BF_CYCLES_CUDA_BINARIES_ARCH = ['sm_21','sm_20']

Feeling talkative?
Log in to leave a comment.