Announcement

Collapse
No announcement yet.

Facing ratio/fresnel from other camera

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Facing ratio/fresnel from other camera

    Hi all,
    I have a question : how can i get facing ratio from a custom camera (not from the render camera) with Vray (and a stable build) ?

    Thank you.
    Last edited by bigbossfr; 25-05-2012, 12:10 PM.
    www.deex.info

  • #2
    V-Ray doesn't measure the facing ratio with respect to any camera; it is determined by the direction of the ray hitting a surface (so that it works correctly in reflections etc).

    However, since the facing ratio is simply the dot product between the surface normal and the ray direction, you might be able to get what you need with a few samplerInfo nodes wired with some plus/minus/divide nodes.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Hi Vlado,
      Can you give me an example scene ?

      I use a pointMatrixMult node, but it doesn't work on Vray.
      So, if you can show me how you do this just with a samplerInfo, plus/minus node/vectorProduct, etc etc.... it will be very great (all controled by a camera position).
      My brain is dead.

      Thank you.
      www.deex.info

      Comment


      • #4
        I can get what i want, but it looks like my facing ratio have a "low intensity" (it is not black and white).
        Attached Files
        Last edited by bigbossfr; 26-05-2012, 10:00 AM.
        www.deex.info

        Comment

        Working...
        X