Announcement

Collapse
No announcement yet.

How to make glass not affect light rays?

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

  • How to make glass not affect light rays?

    Is it possible to do the following - I've got a window comprised of 2 or 3 glass panes. I want them to reflect and refract as usual but I don't want the light rays to be affected when they pass through the glass panes. I found that the more complex the glass and the more glass objects the light has to pass through, the slower the rendering is in interior scenes. I don't care if the stuff behind the glass receive proper darker shadows or not, though it would be nice if that happened.

    In the scene in particular that I'm rendering if I hide the glass in the window the rendering proceeds 2 times faster. I know that I could render the scene with the glass panes hidden and then render just the glass panes in a separate pass but I could save some time from doing this.

    Thanks!
    Aleksandar Mitov
    www.renarvisuals.com
    office@renarvisuals.com

    3ds Max 2023.2.2 + Vray 7 Hotfix 1
    AMD Ryzen 9 9950X 16-core
    96GB DDR5
    GeForce RTX 5090 32GB + GPU Driver 572.83

  • #2
    Just turn off shadow casting for the glass panes.

    Comment


    • #3
      Thanks. This still doesn't yield the same render times as all glass hidden. Here's the results of my simple test:

      Glass with everything by default (turned on) in object properties - 30.3 sec
      Glass with "cast shadows" turned off - 26.6 sec (12% faster)
      Glass objects hidden - 19.2 sec (37% faster)
      Last edited by Alex_M; 12-08-2016, 08:10 AM.
      Aleksandar Mitov
      www.renarvisuals.com
      office@renarvisuals.com

      3ds Max 2023.2.2 + Vray 7 Hotfix 1
      AMD Ryzen 9 9950X 16-core
      96GB DDR5
      GeForce RTX 5090 32GB + GPU Driver 572.83

      Comment


      • #4
        Why would the render times be the same? you're rendering a reflection.
        if you still think it's because of the light calculation rather than rendering itself you can also set the glass to be invisible to GI in the vray properties.

        Comment


        • #5
          Originally posted by Neilg View Post
          Why would the render times be the same? you're rendering a reflection.
          In the rendered test, I rendered a region which did not include the windows.

          Originally posted by Neilg View Post
          if you still think it's because of the light calculation rather than rendering itself you can also set the glass to be invisible to GI in the vray properties.
          I just tried. This did lower the times a bit more, thanks for the suggestion. But still not the same as no glass. Maybe it's not possible due to the way the render works.
          Aleksandar Mitov
          www.renarvisuals.com
          office@renarvisuals.com

          3ds Max 2023.2.2 + Vray 7 Hotfix 1
          AMD Ryzen 9 9950X 16-core
          96GB DDR5
          GeForce RTX 5090 32GB + GPU Driver 572.83

          Comment

          Working...
          X