Octane property " visibility "

Forums: 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 viewforum.php?f=18

Octane property " visibility "

Postby HHbomb » Thu Feb 23, 2023 12:09 pm

HHbomb Thu Feb 23, 2023 12:09 pm
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 |
HHbomb
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Wed Jun 30, 2010 8:45 pm

Re: Octane property " visibility "

Postby neonZorglub » Thu Feb 23, 2023 11:33 pm

neonZorglub Thu Feb 23, 2023 11:33 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
neonZorglub
OctaneRender Team
OctaneRender Team
 
Posts: 899
Joined: Sun Jul 31, 2016 10:08 pm

Re: Octane property " visibility "

Postby HHbomb » Fri Feb 24, 2023 11:36 am

HHbomb Fri Feb 24, 2023 11:36 am
"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 |
HHbomb
Licensed Customer
Licensed Customer
 
Posts: 1308
Joined: Wed Jun 30, 2010 8:45 pm

Return to Autodesk 3Ds Max


Who is online

Users browsing this forum: No registered users and 15 guests

Sat Apr 27, 2024 10:30 pm [ UTC ]