displacement activation by script

Sub forum for bug reports
Forum rules
Before posting a bug report, please check the following:
1. That the issue has not already been disclosed
2. That the issue is specific to this plugin, and not Octane in general (Try reproducing it in Standalone)
Bugs related to the Octane Engine itself should be posted into the Standalone Support sub-forum.


All bug reports should include the information below, along with a detailed description of the issue and steps to reproduce it.
A. Operating System, including version (i.e. Win 7, OSX 10.11.2, Ubuntu 14.04, etc.)
B. Graphics Card(s) model (i.e. GTX 580 - 3GB, TITAN, etc.)
C. RAM Capacity (i.e. 6 GB)
D. Nvidia driver version (i.e. 7.50, 7.5.22)
E. OctaneRender Standalone version, if installed (i.e. 2.24.2, 2.23, etc.)
F. OctaneRender plugin version (i.e. v2.25 - 2.21)
G. Host application version, including build number if available (i.e. 3ds Max 2016 Build 18.0)
Post Reply
HHbomb
Licensed Customer
Posts: 1371
Joined: Wed Jun 30, 2010 8:45 pm
Contact:

Hi,

currentrenderer = renderers.current ; currentrenderer.displacementEnabled==true or false don't seem to work ?

thanks.
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
neonZorglub
OctaneRender Team
Posts: 1005
Joined: Sun Jul 31, 2016 10:08 pm

HHbomb wrote:Hi,

currentrenderer = renderers.current ; currentrenderer.displacementEnabled==true or false don't seem to work ?

thanks.
setting the value seems to work:
currentrenderer.displacementEnabled = true
or
currentrenderer.displacementEnabled = false
change the'Enable displacement' checkbox in the kernel tab.

The double '=' is for testing the value, and also work:
if (currentrenderer.displacementEnabled == true) then x = 1 else x = 2
That sets x to 1 or 2 correctly..

did you try to set the value with == ?
HHbomb
Licensed Customer
Posts: 1371
Joined: Wed Jun 30, 2010 8:45 pm
Contact:

Okaaaaaaayyyyyyyy….

I made a copy/paste,…. I didn’t see the double ‘=´…
Pffff I need some vacations.

Thanks
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
Post Reply

Return to “Bug Reports”