Author Topic: rendering masks  (Read 1573 times)

2014-09-17, 16:49:45

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8854
  • Let's move this topic, shall we?
    • View Profile
    • My Models
I'm trying to render some masks for post processing, but have a little problem. Here's what i do: switch both GI solvers to none, turn off all light sources, assign CoronaMtl with black diffuse to all objects that should render black, assign CoronaLightMtl with "emit light" off and BW texture in Color slot to objects that needs to be masked. Set Colour Mapping as follows: exp - 0, high compr - 1, contr - 1, WB - 6500. Hit render and expect whites to be precise white, but that's not exact case. See attachment. What i'm doing wrong?
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2014-09-17, 17:23:59
Reply #1

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
There is slight error introduced because the gamma correction is only approximate to keep it fast. Usually it is enough as the error is only 0.5% in the worst case (for comparison, error from using 16bit floats is around 0.1% in this case). Do you have some problems with it? If so, you use some CoronaMask element, there is no mapping, so you will get exact results.
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)

2014-09-17, 18:54:04
Reply #2

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8854
  • Let's move this topic, shall we?
    • View Profile
    • My Models
No, it's not a problem, i just thought, maybe i'm missing something. Thanks for explanation.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures