3d z-buffer issue

Bob Arning arning at charm.net
Sun Sep 22 02:13:18 UTC 2002


On Sat, 21 Sep 2002 10:04:48 -0400 Jon Hylands <jon at huv.com> wrote:
>I start getting what look like z-buffer artifacts, and I've attached a
>couple JPGs that shows one of these. You can see it particularily near the
>back of the sub, where the top fin is -- the bottom part of the fin sticks
>down into the shell a bunch normally, but here it shows up in a ragged
>manner, and the "hidden" parts you can see change with pretty much every
>frame (as you can see if you compare the two images).
>
>Has anyone seen this, or something like this? Any ideas?

Jon,

Try fooling with the near and far clipping planes. Making the near plane number as large as feasible is especially important, but reducing the far plane also helps. See B3DCamera>>setClippingPlanesFrom:

Cheers,
Bob



More information about the Squeak-dev mailing list