Community
Arnold General Rendering Forum
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

HTOA Arnold 5 Depth - Empty Areas of Frame at Far Camera Clip

1 ANTWORT 1
Antworten
Nachricht 1 von 2
nickchamberlainvideo
242 Aufrufe, 1 Antwort

HTOA Arnold 5 Depth - Empty Areas of Frame at Far Camera Clip

I'm trying to render a depth pass, and I'm having an issue where the empty areas of frame are being filled with the value of my far camera clipping plane. Is there a way to make the empty areas of the frame black?
I've attached a test image showing the white bg at a value of 50000 (current clipping plane).
Thanks!

1 ANTWORT 1
Nachricht 2 von 2

That is by design. The Z AOV uses the far clipping plane for areas where there are no objects.

You could build a custom depth AOV:

  • Get shading point in world space (state vector)
  • Transform to camera space (space transform)
  • Negate/complement to get positive value
  • Write to float AOV

But if you have a skydome visible to the camera, you'll still get non-zero values for empty areas.



// Stephen Blair
// Arnold Renderer Support

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report