Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Dalton Watts on 2023-02-22, 18:58:04

Title: Maxscript call for Corona Render Selected
Post by: Dalton Watts on 2023-02-22, 18:58:04
Does anyone know how can I call the Corona Render Selected (Pixel Mask) with Viewport selection selected from maxscript?
Title: Re: Maxscript call for Corona Render Selected
Post by: Frood on 2023-02-22, 21:44:44
Hi,

it's controlled by the renderer property "renderSelected_mode":

0=Disabled
1=Viewport selection
2=Object GBuffer ID
3=Include/Exclude list

Switching to viewport selection would be:

Code: [Select]
renderers.current.renderSelected_mode=1

Good Luck



Title: Re: Maxscript call for Corona Render Selected
Post by: Dalton Watts on 2023-02-22, 23:53:10
Thanks Frood! ;-)