Author Topic: Corona Null material  (Read 1230 times)

2019-03-31, 11:27:51

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I would like to propose Corona Null material, that once assigned to an object, it would completely eliminate it from scene, as if it were hidden. Such material might not be useful on its own, but in combination with new the Corona Select material, it would become very handy scene management tool. Yes, i'm aware that one can already achieve same result with regular material and zero opacity or with empty rayswitch material, but this still degrades scene performance and thus is not ideal solution.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-03-31, 21:09:56
Reply #1

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
Not sure what the reason for this request is, but isn't setting the object's '.renderable' property off essentially the same thing?

2019-03-31, 21:23:58
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
AFAIK object settings are not animateable and that makes very big difference.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2019-03-31, 22:22:56
Reply #3

Njen

  • Active Users
  • **
  • Posts: 557
    • View Profile
    • Cyan Eyed
You can animate the '.visibility' property though.

2019-03-31, 22:37:45
Reply #4

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8831
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Yes, but visibility doesn't do what i requested - even with visibility set to 0, object is still loaded at render time. It's no different than changing opacity at material level.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures