Trying to arrange videoplanes in specific order, works on PC but not on Mac

gpvillamil's icon

I've made a patch where 4 different videoplanes can be zoomed in and out. When zooming in, one of the videoplanes should overlap all the others.

What I'm doing is initializing all the videoplanes with a @layer 1 attribute. Then when zooming in, I send that videoplane a 'layer 0' message and zoom, and when zooming out I send a 'layer 1' message.

This works perfectly on a PC (ATI FireGL card) but not on a MacBook Pro.

Is this the right thing to do? Is there a better approach that would work cross platform?

Rob Ramirez's icon

i'm pretty sure we're going to need a patch to be of much help.

Joshua Kit Clayton's icon

Without seeing a patch, this sounds like a depth buffer issue. On Windows, the driver typically creates a depth buffer even if one is not asked for explicitly. On Macintosh you need to use jit.window @depthbuffer 1. This is usually the source of confusion on the two platforms for this kind of situation.