epolasek
2025年7月16日 03:50:39
Hi,
I'm trying to render a scene as a panorama in Solaris with Karma. Since I only need a thin slice of the panorama I at first used the old VrLens from the shop context and used the vertical and horizontal FOV to render only the area that I need.
Linked it to the cameras lens shader VOP and everything worked. Till I had a look at the depth AOV. It just does not look right and is unusable for compositing.
While trying to find a solution I also tried the karma_physicalLens just to see if that one works. But that setup also has the same issue. Motion Vector AOV has the same problem.
Since I am fairly new to Houdini is there maybe just something I am missing?
epolasek
2025年7月28日 10:14:37
maybe my previous post was a bit confusing. I basicly just want to render a 360° panorama with depth and motion vector aovs.
But no matter what I do even in that simple scene I get these weird gadients in my aovs (attachment)
Anyone know how to fix that? is it maybe a bug in houdini?
Tanto
2025年7月28日 15:04:01
If you dive into karma render settings, and then karmastandardrendervars, you'll find that the Depth aov is rendering ray:hitPz. Change it to ray:hitdist and you should be fine.
Edit: not sure about motion vectors, though.
epolasek
2025年7月29日 11:37:13
Thank you so much! I was not able to change the variable, but there is the option to make an Extra Render Var named hitDist that uses as a source ray:hitdist.
The depth looks perfekt now, thanks for your great help!
Fortunately, the motion vectors are not that important to me at the moment, but maybe I'll figure that out sometime in the future