General Category > Anim8or v0.98 Discussion Forum

Enhancement NEAR Z-limit

<< < (2/2)

Gregory:
Steve, can you take a look at this one please.  http://www.anim8or.com/smf/index.php?topic=897.0

Steve:
I've fixed several problems with z-limits.  The scanline and OpenGL renderers should use a project's environment settings now.  I've also set the lower limit to 0.01.  The upper limit is still 100,000.  Also the ratio of ZFar to ZLow is restricted to 100,000:1.  (The ART raytracer has no limits - it doesn't use a perspective projection of the geometry.)

Relaxing these limits can cause artifacts, I believe, due to the limitations of single precision floating point math but I'm not really sure how bad they are.  I may be able to remove the ratio limit and the upper limit altogether without making them much worse.  There are some articals on that that I'm looking at now.

But be warned: Using very small values for Z-Near causes a serious loss of precision in the depth buffer for things onlt a little bit farther away resulting in improperly rendered distance objects.

Gregory:
In scene view there is still clipping in Ortho view and I thin k in Camera view.

Also, why are there two places to set Z limits:  Settings, Environment Parameters as well as View, Z Limits?  Changing one does not change the other, so which is used?

Francesco:
Not sure, but maybe there are separate settings, one for renders and one for edit view, really don't know, try to fiddle with the values to see if you can guess the behaviour.

Navigation

[0] Message Index

[*] Previous page

Go to full version