360 Pano depht AOV issue

   704   3   1
User Avatar
Member
3 posts
Joined: June 2025
Offline
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?
Edited by epolasek - July 18, 2025 04:43:52

Attachments:
Screenshot 2025-07-16 003254.png (1.9 MB)

User Avatar
Member
3 posts
Joined: June 2025
Offline
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?

Attachments:
aovTest02.jpg (230.5 KB)
scene_viewport.png (1.2 MB)

User Avatar
Member
538 posts
Joined: Nov. 2016
Offline
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.
Edited by Tanto - July 28, 2025 15:08:52
User Avatar
Member
3 posts
Joined: June 2025
Offline
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
Edited by epolasek - July 29, 2025 12:22:32
  • Quick Links