Octane property " visibility "

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
HHbomb
Licensed Customer
Posts: 1377
Joined: Wed Jun 30, 2010 8:45 pm
Contact:

Hi,
" The Octane Object properties are properties linked to 3dsMax Nodes, and can be accessed with the standard getUserProp and setUserProp " neonZorglub » Mon Nov 21, 2022 10:14 pm :mrgreen:
Why " visibility " don't appear in Object properties > User defined ?
How can we change with maxscript visibility value ? ( in fact how to set and to get value ? )

Because it is node dependant, and a quad light cast self shadow, I would like to change the value without opening Octane properties window.

Thanks ! :-)
YOKO Studio | win 10 64 | i7 5930K GTX 3090 | 3dsmax 2022.3 |
neonZorglub
OctaneRender Team
Posts: 1018
Joined: Sun Jul 31, 2016 10:08 pm

HHbomb wrote:Hi,
" The Octane Object properties are properties linked to 3dsMax Nodes, and can be accessed with the standard getUserProp and setUserProp " neonZorglub » Mon Nov 21, 2022 10:14 pm :mrgreen:
Why " visibility " don't appear in Object properties > User defined ?
How can we change with maxscript visibility value ? ( in fact how to set and to get value ? )

Because it is node dependant, and a quad light cast self shadow, I would like to change the value without opening Octane properties window.

Thanks ! :-)
Hi HHbomb,
Visibility is part of the standard 3dsmax object's properties.
I added it in the Octane Object properties for convenience.
You can change it with maxscript like that:
$Plane01.visibility = false -- will set 0.0
$Plane01.visibility = true -- will set 1.0
$Plane01.visibility.controller.value = 0.6

for some other properties:
$Plane01.renderable = false
$Plane01.renderable = true
hide $Plane01
unhide $Plane01

Note that while rendering in Octane Viewport, some changes won't be detected, so you may need to press the 'Update render geometry' button..

Also, you can show / hide those 3dsmax properties with the option in the context menu "Show 3dsMax object properties (Renderable, Visibilitie, Cast shadows...)"
Thanks
HHbomb
Licensed Customer
Posts: 1377
Joined: Wed Jun 30, 2010 8:45 pm
Contact:

"Visibility is part of the standard 3dsmax object's properties.
I added it in the Octane Object properties for convenience."

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

Return to “Autodesk 3Ds Max”