Z Sorting Issues Solved in AR!!

Notice the weird triangles on the flattened box. This is Bad Z Sorting.
This is the same box with the QuadrantRenderEngine, notice the perfect Z sorting on the box.
I figured out how to fix the Z-Sorting issues in the AR i made. I was learning more Papervision3d today and I was browsing through the documentation and stumbled across this:

http://papervision3d.googlecode.com/svn/trunk/as3/trunk/docs/org/papervision3d/render/QuadrantRenderEngine.html

I did some more googling and found this guy: http://blog.zupko.info/?p=177

He has an awesome little demo showing the QuadrantRenderEngine here: http://lab.zupko.info/quadtree/

So I did some editing to the code for my augmented reality and fixed the mangled intersecting faces of my models.

I have more info about Augmented Reality at:

http://ar.benjones.us



One response to “Z Sorting Issues Solved in AR!!”

  1. Amit says:

    Hey Ben,

    My name is Amit and I too am working with AR using FLARManager. Recently while trying to fix the Z-Sorting problem with my scene in PV3D I read your post and am writing regarding the same.

    I changed my renderer to QuadrantRenderEngine and things look better but I noticed an issue with FLAR camera i.e the rotation of the camera was matching closely to the marker rotation but position wasn’t… it was like for every 100 units marker translation there was only 10 unit pv3d scene/camera movement…

    Did you experience any such issues…

    Can you please guide me on this or give some points on how you setup your FLARManager & QuadrantRenderEngine scene?

    Thanks Ben,
    Amit

Leave a Reply

Your email address will not be published. Required fields are marked *