I don't think the cube should have that many faces to produce a significant
performance decrease with correct z order.
But of course, its possible that its significant, you would need to try.

On Thu, Jul 2, 2009 at 2:39 AM, Julien Barbay <[email protected]>wrote:

> changing the renderer may decrease the speed of your swif.with owncanvas
> enabled, what about tricking the z sorting with the screenZOffset property ?
> this property will be added to the true z property during the z sorting
> calculation of your engine
>
> try to put the lowest value for the lowest cubes and let us know what
> happen
>
> Le 2 juil. 09 à 02:31, Li a écrit :
>
> I have another trick for you to try:
> mesh.renderer = Renderer.CORRECT_Z_ORDER as IPrimitiveConsumer;
>
> This would enable more precise z sorting only for your mesh, the rest of
> the scene remains with normal sorting. Try it with ownCanvas = false, I
> think.
>
> On Thu, Jul 2, 2009 at 2:20 AM, Roma Oskolkov <[email protected]>wrote:
>
>> Sorry, I think the image did bot attached.
>> Here it is.
>> <cube.jpg>
>>
>
>
>

Reply via email to