Announcement

Collapse
No announcement yet.

Scan-lines from RectLight not being refracted through glass material

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

  • Scan-lines from RectLight not being refracted through glass material

    Hi,

    Trying to investigate behavior when scan-lines are emitted from RectLight (directionality == 1) through shapes made of glass.

    When looking into the renderings there seem no bend of rays, something one could expect in the real world for objects like solid cylinder, lens or prism (given all are made of glass).

    Example of the light's texture
    Click image for larger version

Name:	wide-scan-lines-grid-small.png
Views:	143
Size:	2.1 KB
ID:	1125558

    Rendered scenes are below

    For lens - note that the grid is not disturbed behind it.
    Click image for larger version

Name:	lens.png
Views:	134
Size:	524.8 KB
ID:	1125559

    A more proper/correct result can be obtained with some other renderers.
    Click image for larger version

Name:	lens-other-renderer.png
Views:	110
Size:	1.09 MB
ID:	1125560


    Am I doing something wrong or this is expected? How can I achieve desired results?

    Please help.
    Attached Files
    Last edited by aleksandar_babic; 24-09-2021, 03:29 AM. Reason: Not all text was ready.

  • #2
    Oops, I'm sorry it was a GPU thread.
    I wrote the answer for CPU rendering by mistake.

    The Ray that passes through the lens is Caustics.
    V-Ray GPUs do not support Caustics, so you need to use CPU rendering.
    We hope that V-Ray GPUs will soon support progressive Caustics.
    Last edited by flat; 27-09-2021, 12:01 AM.

    OakCorp Japan - Yuji Yamauchi
    oakcorp.net
    v-ray.jp

    Comment


    • #3
      https://forums.chaosgroup.com/member/61102-flat

      Thanks for replying.
      I'll try CPU rendering.

      However, even if it does work for caustics - there is an issue with RectLight emitting orthonormal rays (if one wants to get crisp projected lines).

      Comment

      Working...
      X