Author Topic: Maxscript call for Corona Render Selected  (Read 437 times)

2023-02-22, 18:58:04

Dalton Watts

  • Active Users
  • **
  • Posts: 210
    • View Profile
Does anyone know how can I call the Corona Render Selected (Pixel Mask) with Viewport selection selected from maxscript?

2023-02-22, 21:44:44
Reply #1

Frood

  • Active Users
  • **
  • Posts: 1922
    • View Profile
    • Rakete GmbH
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



Never underestimate the power of a well placed level one spell.

2023-02-22, 23:53:10
Reply #2

Dalton Watts

  • Active Users
  • **
  • Posts: 210
    • View Profile