Author Topic: Refraction - Map  (Read 3242 times)

2014-01-24, 10:34:22

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
Hello
I was wondering this for quite some time, sometimes I render objects that are behind glass or other refractive objects that need some post or tweeking.
I always have problems with masking out this type of objects.

One of my "solutions" in Vray is to rerender the scene in black with only the glass and the object materials unchanged (sometimes I just change it to white light and disable glass reflections)

Its possible to do exacly the same thing in Corona, but I dont like that method. Does anyone have better way to do this?
Using Corona since 2014-01-02
https://www.behance.net/Gringott

2014-01-25, 12:08:46
Reply #1

astudio

  • Active Users
  • **
  • Posts: 172
    • View Profile
    • A-Studio
i use Render Mask script from Requiem Scripts. There must be some render element for this, but I didn't check it yet.

2014-01-25, 18:43:32
Reply #2

LKEdesign

  • Active Users
  • **
  • Posts: 100
  • I'm addicted to Corona Render and I need NO cure.
    • View Profile
    • LKE Design Web-site
Would it be possible to add an option on the MatID, ObjID, Alpha, and Zdepth channels to disable or look-through transparent objects?

I work often with interiors that have many levels of glass, - and I often meet this challenges, that half of the objects I want to adjust is behind one or more surfaces of glass. Only way currently is running two renders, where one of them have the glass hidden. The option above would be abig time saver.
All the best,
LKE Design
See my work at: http://www.lkedesign.dk/en/portfolio_en.html

2014-01-25, 20:59:45
Reply #3

Utroll

  • Active Users
  • **
  • Posts: 164
    • View Profile
Solving that problem is pretty hard I guess.

It's all about coexisting object in a same pixel. While alpha is using black and white, use of greys represent a pretty good approx. of an overall transparency.
But when it's about more complex data problem starts. Like storing multiple zdepth in a given pixel (Z-the glass, Z-behind the glass, Z-reflected in the glass) each time a ray meet glass. Exr is souple enough to manage that but that would be 1-big and 2-severe gymnastic to process : dedicated plugin required.

May be a zdepth weighted by influence of 'most represented' pixel ?
Solving that problem is a kind of Graal quest as far as I know (not much). Render solving that would be a king.

2014-01-27, 07:53:25
Reply #4

Tanakov

  • Active Users
  • **
  • Posts: 831
  • Corona is faster than diarrhea
    • View Profile
    • https://www.behance.net/Gringott
So we have a to send Keymaster for the quest of refractable Zdepth!

Who ever finishes the quest will be crowned.. so corona.. crown.. king... damn that can work!
Using Corona since 2014-01-02
https://www.behance.net/Gringott