blender/intern/cycles/kernel/osl
Lukas Toenne df79ab5a77 Added Object Info node implementation for OSL. This uses an additional attribute check in the osl_services callback for special attribute names related to objects:
* std::object_location
* std::object_index
* std::material_index
* std::object_random

Other object-based attributes can be added for particle info in the same way.
2012-09-14 18:10:54 +00:00
..
nodes Added Object Info node implementation for OSL. This uses an additional attribute check in the osl_services callback for special attribute names related to objects: 2012-09-14 18:10:54 +00:00
background.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_ashikhmin_velvet.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_diffuse.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_microfacet.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_oren_nayar.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_phong.cpp OSL Backend: 2012-09-05 23:22:36 +00:00
bsdf_reflection.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_refraction.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_transparent.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_ward.cpp style cleanup 2012-06-04 22:44:58 +00:00
bsdf_westin.cpp style cleanup 2012-06-04 22:44:58 +00:00
bssrdf.cpp style cleanup 2012-06-04 22:44:58 +00:00
CMakeLists.txt 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
debug.cpp style cleanup 2012-06-04 22:44:58 +00:00
emissive.cpp style cleanup 2012-06-04 22:44:58 +00:00
osl_closures.cpp OSL Backend: 2012-09-05 23:22:36 +00:00
osl_closures.h OSL Backend: 2012-09-05 23:22:36 +00:00
osl_globals.h Revert "Use one context per OSL thread. Not sure if this actually works, but the simple renderer example in OSL does it this way." 2012-09-04 17:28:36 +00:00
osl_services.cpp Added Object Info node implementation for OSL. This uses an additional attribute check in the osl_services callback for special attribute names related to objects: 2012-09-14 18:10:54 +00:00
osl_services.h silencing some of the warnings in OSL for OSX 2012-09-05 20:50:10 +00:00
osl_shader.cpp Fix for OSL memory leak. The context creation for OSL is now done in the shader_setup_* functions, since it should specific to the sample being worked on. The the context release then happens in the kernel_shader functions after shader evaluation is done. Care has to be taken to ensure the shader_release function is also called in cases where the path integration is cancelled early, this was the main cause for unreleased contexts and subsequent new allocations. 2012-09-05 08:12:22 +00:00
osl_shader.h silencing some of the warnings in OSL for OSX 2012-09-05 20:50:10 +00:00
vol_subsurface.cpp style cleanup 2012-06-04 22:44:58 +00:00