Currently the range of the z buffer is set according to its bit depth. (def
ortho in cameras.py)
This is however not their correct use. In order for these parameters to be
meaningful, they have to be set in accordance with the dimensions of the scene.
For instance, I am currently rendering a lot of small objects (0.01 units in
diameter). They suffer horrible z-fighting problems with these hardcoded
z-limits.
Even as defaults, this setting is not particularly sensible, but in the end,
youd want to either estimate these values from the extents of the scene
automatically (hard, since it is not a very general problem), or give the
end-user a parameter to give reasonable context dependent guesses. (which is a
lot simpler to implement)
Ive hardcoded my own camera limits in for now.
Thanks again for the excellent piece of software!
Original issue reported on code.google.com by
hoogendo...@gmail.comon 18 May 2013 at 6:57