yes, you can apply per object only,
take a look at Rob's room demo code for implementation

Fabrice

On Jan 20, 2011, at 2:29 AM, Julien wrote:

> Oh i see, i was thinking about something like that.
> That you very much for your reply and your time Fabrice.
> 
> I have just one more question.
> Is it possible to execute some Z ordering with only 2 objects ?
> Not the whole scene.
> 
> Basically i have a ground with a character on it.
> And instead of applying the Z-Ordering on the whole ground, i would
> like to apply it only on the faces where my character is situated.
> Because Flash is so slow and limited for 3D i am forced to do things
> like that...
> 
> Thank you again for your time !
> 
> 
> 
> 
> On Jan 20, 1:37 am, Fabrice3D <[email protected]> wrote:
>> if you want toggle renderers,
>> you can use  
>> engine.view.renderer = Renderer.INTERSECTING_OBJECTS;
>> when you stop enterfame
>> then call view.render();
>> 
>> and set
>> engine.view.renderer = Renderer.BASIC;
>> before set on enterFrame...
>> 
>> to draw something, simply call engine.view.render();
>> 
>> Fabrice
>> 
>> On Jan 19, 2011, at 5:23 PM, Julien wrote:
>> 
>>> Hi all !
>> 
>>> I would like to correct the Z-ordering of my scene with
>>> Renderer.INTERSECTING_OBJECTS.
>>> It is working very good but i would like to execute it only 1 frame.
>> 
>>> Right now, i use it like this :
>>> engine.view.renderer = Renderer.INTERSECTING_OBJECTS;
>> 
>>> And the Renderer is constantly updated onEnterFrame.
>>> It totally kill the framerate of my game.
>> 
>>> So i would like to update the view only for crucial moments.
>>> Thank you very much for any help.
>> 
>>> Regards.
>> 
>> 

Reply via email to