OSL Camera Issue

Forums: OSL Camera Issue
Maxon Cinema 4D (Export script developed by abstrax, Integrated Plugin developed by aoktar)

Moderator: aoktar

OSL Camera Issue

Postby vfxaaron » Tue Feb 27, 2024 6:19 pm

vfxaaron Tue Feb 27, 2024 6:19 pm
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.
vfxaaron
Licensed Customer
Licensed Customer
 
Posts: 3
Joined: Tue Jan 10, 2017 12:55 am

Re: OSL Camera Issue

Postby aoktar » Tue Feb 27, 2024 7:25 pm

aoktar Tue Feb 27, 2024 7:25 pm
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
User avatar
aoktar
Octane Plugin Developer
Octane Plugin Developer
 
Posts: 15970
Joined: Tue Mar 23, 2010 8:28 pm
Location: Türkiye

Return to Maxon Cinema 4D


Who is online

Users browsing this forum: Bing [Bot] and 27 guests

Sat Apr 27, 2024 3:36 pm [ UTC ]