[Papervision3D] using papervision to depth sort
fabioburkard at gmail.com
Tue Aug 31 07:21:29 PDT 2010
Try putting more segments in the large cuboids; it works for me, when I have
viewport layers issues...
On Tue, Aug 31, 2010 at 9:27 AM, Andy Zupko <azupko at zupko.info> wrote:
> viewport layers use the average of the faces drawn to them to calculate
> their depth, making them susceptible to the same draw order problem as
> regular faces. You can fix this by using a indexSort on the main
> viewportLayer, which will sort all the layers by their layerIndex. You can
> set this value manually based on whatever criteria you want (z position of
> the object for instance). This can present some other problems but it
> really depends on your application.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D