Original Post
I''m looking for a method to arrange a scene of 3d and 2d objects represented by bounding cubes, for rendering. In other words I want to feed in a raw list of these objects and get back an ordered one based up on the cameras view.
The problem I run into is similar to the painters algorithm for polygons, where there are several instances of ambiguity. Is there a way to determine if one object is in front of the other?
Furthermore, does anyone know what is the right way of mixing 3d and 2d? sort of like FF or other adventure games? but with out specifying layers.
Thanx.