Hi,
currentrenderer = renderers.current ; currentrenderer.displacementEnabled==true or false don't seem to work ?
thanks.
displacement activation by script
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)
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)
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
- neonZorglub
- Posts: 1005
- Joined: Sun Jul 31, 2016 10:08 pm
setting the value seems to work:HHbomb wrote:Hi,
currentrenderer = renderers.current ; currentrenderer.displacementEnabled==true or false don't seem to work ?
thanks.
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 == ?
Okaaaaaaayyyyyyyy….
I made a copy/paste,…. I didn’t see the double ‘=´…
Pffff I need some vacations.
Thanks
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 |