Attempt to fix cycles OSL link error on windows 64 bit.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 31 Jan 2013 13:44:03 +0000 (13:44 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 31 Jan 2013 13:44:03 +0000 (13:44 +0000)
intern/cycles/kernel/osl/osl_services.cpp
intern/cycles/kernel/osl/osl_services.h

index 92a023bd7659fa9349ffb9ca024a8642aa2675a7..4088904c3387ce58ac98ad9c1e256e3a0c38db88 100644 (file)
@@ -328,6 +328,15 @@ bool OSLRenderServices::get_inverse_matrix(OSL::Matrix44 &result, ustring to)
        return false;
 }
 
+bool OSLRenderServices::transform_points(OSL::ShaderGlobals *sg, ustring from,
+                                         ustring to, float time,
+                                         const OSL::Vec3 *Pin, OSL::Vec3 *Pout,
+                                         int npoints,
+                                         TypeDesc::VECSEMANTICS vectype)
+{
+       return false;
+}
+
 bool OSLRenderServices::get_array_attribute(void *renderstate, bool derivatives, 
                                             ustring object, TypeDesc type, ustring name,
                                             int index, void *val)
index 50c50b9952cab0eaedf5dc9ce044729afb4be687..5cd1056e352d5b7b159d469fca1e8deb08fbd49e 100644 (file)
@@ -59,6 +59,10 @@ public:
        bool get_matrix(OSL::Matrix44 &result, ustring from);
        bool get_inverse_matrix(OSL::Matrix44 &result, ustring from);
 
+       bool transform_points(OSL::ShaderGlobals *sg, ustring from, ustring to,
+               float time, const OSL::Vec3 *Pin, OSL::Vec3 *Pout, int npoints,
+               TypeDesc::VECSEMANTICS vectype);
+
        bool get_array_attribute(void *renderstate, bool derivatives,
                                 ustring object, TypeDesc type, ustring name,
                                 int index, void *val);