|
-
 Originally Posted by paolobax
fenstalker, your demo is impressive. I'm curious about the overlap paradox you mention... can you show an example?
Also, any chance that you can give some insight on the algorithm you use for sorting?
Thank you.
In isometric worlds, object ordering is relative rather than absolute. Because of this, it's possible to place 3 objects in such a way that A is behind B, B is behind C, and C is behind A.
Check out this image for a sample: http://code.google.com/p/as3isolib/w...b_tutorial_002
The sorting algorithm is just a 2d array of relational data, combined with a bubble sort based on that data to constantly output a master "order" of all visible objects. Unfortunately the code is being developed as proprietary software so I can't post it. 
Thanks for the feedback!
Last edited by fenstalker; 04-19-2009 at 09:41 PM.
Reason: link change
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|