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 92a023b..4088904 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 50c50b9..5cd1056 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);