RenderKit / ospray

An Open, Scalable, Portable, Ray Tracing Based Rendering Engine for High-Fidelity Visualization
http://ospray.org
Apache License 2.0
982 stars 178 forks source link

How to change zfar? #549

Open bhowmickarka opened 1 year ago

bhowmickarka commented 1 year ago

Hello, I have a very beginner level question. Is there a way to adapt zfar for the cameras?

johguenther commented 1 year ago

In ray tracing it is usually not needed to set a zfar. Depending on the use case there are some possibilities:

johguenther commented 1 year ago

Did any of the alternatives work?

Can you briefly describe the usecase – we can see it as feature request to add a farClip parameter to cameras.