blender/intern/cycles
Brecht Van Lommel eb87529e23 Cycles OSL: shader script node
Documentation here:
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/OSL
http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.65/Cycles

These changes require an OSL build from this repository:
https://github.com/DingTo/OpenShadingLanguage

The lib/ OSL has not been updated yet, so you might want to keep OSL disabled
until that is done.

Still todo:
* Auto update for external .osl files not working currently, press update manually
* Node could indicate better when a refresh is needed
* Attributes like UV or generated coordinates may be missing when requested from
  an OSL shader, need a way to request them to be loaded by cycles
* Expose string, enum and other non-socket parameters
* Scons build support

Thanks to Thomas, Lukas and Dalai for the implementation.
2012-11-03 14:32:35 +00:00
..
app Integer socket support in Cycles. Int values are already supported natively in OSL, but were not used as actual ints on the SVM stack. This patch implements all the necessary functionality to support reading input values from RNA properties and convert between SHADER_SOCKET_INT and other types. 2012-10-20 13:11:45 +00:00
blender Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
bvh style cleanup: trailing tabs & expand some non prefix tabs into spaces. 2012-10-21 05:46:41 +00:00
cmake Cleanup for OSL linking in cmake: Move cmake OSL library search and path definition from the cycles macro file to the top-level CMakeLists.txt. This makes the OSL_LIBRARIES and other variables accessible throughout Blender cmake scripts and especially in the creator module for linking libraries. 2012-09-10 06:18:20 +00:00
device Fix related to #32929: update list of available devices for cycles rendering 2012-10-22 14:04:44 +00:00
doc edits to cycles cmake files so cmake_consistency_check.py can parse them. 2011-11-08 20:27:37 +00:00
kernel Cycles OSL: refactoring and fixes 2012-11-03 14:32:13 +00:00
render Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
subd style cleanup: trailing tabs & expand some non prefix tabs into spaces. 2012-10-21 05:46:41 +00:00
util Cycles OSL: shader script node 2012-11-03 14:32:35 +00:00
CMakeLists.txt Cycles OSL: some build system tweaks to avoid global includes and definitions, 2012-10-20 12:17:45 +00:00
SConscript Fix for cycles building with assertions on scons/windows. 2012-06-25 11:42:58 +00:00