[Papervision3D] Rendering order of objects
kruass at gmail.com
Fri Mar 5 02:53:11 PST 2010
Papervision's z-sorting isn't as robust as a top-notch desktop application.
Its pretty good for most applications, but it can fail pretty spectacularly
when there are lots of objects clustered closely together. Its one of the
tradeoffs of flash, I suppose.
You're probably going to have to write your own sorting methods using
On Thu, Mar 4, 2010 at 3:12 PM, Mark I. Ross <nospam at therossman.org> wrote:
> is this like, a z-sorting problem? if so you could use viewportlayers to
> fix it!
> Douglas Kadlecek wrote:
> Hi All,
> I am building a room planner application. It allows users to place objects
> against a wall (like cabinets) and position them. I created a collision
> detection algorithm that prevents objects from overlapping. I am currently
> representing the objects with cubes (will use collada objects later).
> The problem is, it seems papervision is rendering the child objects in the
> order they are added to the scene, rather that ensuring the proper
> perspective/view is maintained. This means that when the objects collide on
> one side of the camera (say the left side) the cubes render correctly and
> appear side by side. But if I move the cubes to the other side of the
> camera, they overlap, as it appears the rendering order is not correcting
> for this.
> Is this a bug, or am I doing something wrong? A picture is worth a thousand
> words, so if this isn’t clear and someone can help, I can send some screen
> P.S. Thanks Max, for your help previously on the plane/window stuff
> Papervision3D mailing listPapervision3D at osflash.orghttp://osflash.org/mailman/listinfo/papervision3d_osflash.org
> Papervision3D mailing list
> Papervision3D at osflash.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Papervision3D