Cycles: Support builtin images for OSL shading backend
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 12 Jun 2014 07:26:48 +0000 (13:26 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 13 Jun 2014 14:42:28 +0000 (20:42 +0600)
commitbaa0f0ee1ace8b14afdacd88c121f080906edbc0
treedafad9aa71fad19a764c8e690b8b560e37717aac
parentf95817c805a056b89f2175bafc1f331f1ff03349
Cycles: Support builtin images for OSL shading backend

This means packed images and movies are now supported when using OSL
backend for material shading.

Uses special file name to distinguish whether image is builtin or not.
This part might become a bit smarted or optimized a bit, but it's good
enough with this implementation already.
intern/cycles/kernel/osl/osl_services.cpp
intern/cycles/render/nodes.cpp