OSL Camera Issue

Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderators: ChrisHekman, aoktar

Post Reply
vfxaaron
Licensed Customer
Posts: 3
Joined: Tue Jan 10, 2017 12:55 am

Hi there, I have a custom OSL baking camera which I use for custom projection mapping solutions.

The issue I'm having is that parameters defined within the shader code are not being updated from the GUI.

For example, if I define a parameter such as this: "float surfOffset = 10.0", the parameter becomes available in the GUI. However, any changes made to the parameter in the GUI are ignored at render time and the values are reset to what's in the original shader definition.

I've tried a few things, such as disabling "Auto Compile", but nothing seems to work. Any advice would be greatly appreciated.
User avatar
aoktar
Octane Plugin Developer
Posts: 16066
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye
Contact:

It will not do any updates if you do any syntax errors. Check it from outputs
Octane For Cinema 4D developer / 3d generalist

3930k / 16gb / 780ti + 1070/1080 / psu 1600w / numerous hw
Post Reply

Return to “Maxon Cinema 4D”