[Papervision3D] Custom Z-Sorting (Z-Fighting)

Steve Penza steven at penza.nu
Wed Nov 7 10:29:25 PST 2007


Hello!

I've read over a few discussions regarding z-sorting and PaperVision.  The
solution for undesirable z-sorting has been to:

- increase the model's faces
- change the DO3D's meshSort property

Has anyone had any success with a different approach?  Is there anything
else I can try?

I have a model very similar to a storage trunk with a lid and two latches.
Each of the following is a node:

- the lid
- latch 1
- latch 2
- the exterior of the trunk (5 sides of a cube)
- the interior of the trunk (1 side of a cube)

The interior of the trunk is appearing through the lid even when the lid is
rotated to be open.
Setting meshSort in DisplayObject3D.as to FAR, prevents the latches from
disappearing, but makes the lid even worse. Changing the meshSort for each
node at runtime appears to have no effect!!!

Any ideas?

-- 
View this message in context: http://www.nabble.com/Custom-Z-Sorting-%28Z-Fighting%29-tf4766458.html#a13632880
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list