I mean that it sometimes makes sence to swap renderers runtime.
say you are in a room, and you have only sorting issues only when cam
is at certain places, and at other location in that room you don't
cause the sorting goes ok with basic renderer.
Take a closer look at Rob's room demo code.
but golden rules still applies: make good geometry and try get all or
most rendering ok with basic, apply more complex sorters with caution.
Rob has also implemented sorters per objects, also in this demo.
goes like this:
obj.ownCanvas = true;
obj.renderer = Renderer.CORRECT_Z_ORDER as IPrimitiveConsumer;
Fabrice
On May 6, 2009, at 12:02 PM, ben wrote:
HI!
Fabrice:
"To desable/swap renderers, best way (at least thats what I do) is
to
have two intances renderers and swap them runtime. "
What do you mean ?