Hey martinillo CORRECT_Z_ORDER works by catching ambiguous triangles (ie ones that overlap in the z plane and occupy the same screen space) and resolve their order using a more complex sorting method that takes into account the z-depth of each vertex of each triangle. This will work on 90% of all situations, but the one situation that won't be resolved is where triangles are intersecting, as no amount of z-adjustment will be able to produce accurate results. In these cases you need to look at using the INTERSECTING_OBJECTS renderer, although if the objects in question are static it is usually more efficient to resolve any intersecting triangles in a 3d editor before using them in Away3D
Rob On Tue, May 4, 2010 at 5:33 AM, Reinorvak <[email protected]> wrote: > Unfortunately, in most cases throwing this all into one collada will > not give you the results you're looking for either. I've been playing > with a lot of models in our project and this problem occurs with a lot > of objects. CORRECT_Z_ORDER only seems to look for triangles that are > on the same rendering Z. So for some objects this may fix the problem, > others not really. More or less I'd use this if you have a lot of > triangles near or on top of one another. Its more or less for fixing > clipping among objects that share a relative position of one another. > Otherwise use the pushback/front methods stated earlier. > > OwnCanvas is another mess all in its own. Pretty much what it does it > create an individual layer that flash can try and sort on its own. > Again this can cause problems with some triangles trying to lay on-top > of other objects. This can become painfully apparent when trying to do > indoor scenes. I personally use ownCanvas all over the place for > conjunction with pushback/front to solve a lot of my issues. This also > gives you the option to add Flash's filters to an object. > > On May 1, 6:04 am, martinillo <[email protected]> wrote: > > Thank you both. > > So if i get you right, the CORRECT_Z_ORDER is not doing this job for > > me. i better split the roof into two parts and pushback/front. > > what would you think, if i would put the whole house into one collada? > > would the children (floors, roof...) then render correct? or would > > this change nothing? > > btw: is there an explanation around how correct_z_order and own canvas > > work and how they are used? knowing this better might speed up the > > try&error process. > > thanks a lot. > -- Rob Bateman Flash Development & Consultancy [email protected] www.infiniteturtles.co.uk www.away3d.com
