Author Topic: ZBuffer Clamp  (Read 3205 times)

2013-12-24, 12:21:46

postwendend

  • Active Users
  • **
  • Posts: 17
    • View Profile
The option to use an unclamped zbuffer would be great.

for example.

i use a min of 0.0cm and a max of 100.0 cm as setting for my zbuffer
a pixel in my image has the value 1.0f at 1m distance between this particular point and the camera. so you would be able to check your camera distance using the zbuffer.

if the zbuffer clamped the values clipped by 1.0f


2013-12-29, 22:30:42
Reply #1

astudio

  • Active Users
  • **
  • Posts: 172
    • View Profile
    • A-Studio
Unclamped zbuffer is a great thing for sure, but not for checking camera distance. There are simpler ways to check it.

But for post processing it's great. In photoshop you may choose one distance for blur, another for air perspective,saturation, fog and so on just by using exposure. It would be really great.

And in this case you don't need min and max distance at all.

2013-12-30, 19:16:49
Reply #2

postwendend

  • Active Users
  • **
  • Posts: 17
    • View Profile
a simpler way for checking camera distance in post ? how ? i thought this was the only "way"

2013-12-31, 08:50:22
Reply #3

astudio

  • Active Users
  • **
  • Posts: 172
    • View Profile
    • A-Studio
Just I can't imagine situation, when I need to measure it in the post. But still it's good idea I think.

2014-01-05, 18:19:50
Reply #4

Ondra

  • Administrator
  • Active Users
  • *****
  • Posts: 9048
  • Turning coffee to features since 2009
    • View Profile
ok, the output is now unclamped. I've also removed world Z depth render element, as it can be now easily simulated with the other one
Rendering is magic.How to get minidumps for crashed/frozen 3ds Max | Sorry for short replies, brief responses = more time to develop Corona ;)