Why can I not put objects in front of this jit.pwindow?

Beep's icon
Max Patch
Copy patch and select New From Clipboard in Max.

Not why I can't put objects in front of this pwindow?

Beep's icon

Thanks for the replies Nic, what I am trying to put infront of the jit.pwindow is more complex than the dot I have included, its a bpatcher with loads of content, unfortunately it just sits behind the jit.pwindow taunting me!

seejayjames's icon

jit.pwindow with matrix data can have objects in front of it, but jit.pwindow using GL rendering can't. Not sure why.

Beep's icon

I've had to settle on a pretty ugly work around for now, adding and removing the jit.pwindow from presentation mode with [presentation $1]. This results in some rather ugly, transient distortion, especially when the app I'm building switches between full screen mode being on/off.

Rob Ramirez's icon

yes, as you've discovered, you cannot layer non-opengl elements over opengl contexts.

Rajan Craveri's icon

i used a transparent patcher in a similar situation

Sapo's icon

Hi !
It's been 9years so sorry for digging up this thread :)

Any news about this ?

I experimenting with jit.gl objects and it's pretty annoying to not be able to place objects over my jit.pwindow...

I'm looking for a solution so would it be possible to recreate these objects (buttons and numboxes) via jitter ? Any leads to achieve that ?

Thanks !

Roman Thilenius's icon


not sure now but i believe this only occurs when the pwindow is in onscreen mode, no?

while it is possible most of the time, it is not ideal to place objects over each other.

making a button in jitter is really easy, you woud just measure if a mouse-down is within certain geometric limits and you are done.

recreating the original numberbox is a bit more work and quite hard to get the exact mouse acceleration like in ther max external, but in theory you can create everything you want with the pwindow outlets in combination with drawing lcd, mgraphics, picture files or GL, where the latter has the issue that you can not place anything onto it, but you dont need to do that anymore.

Sapo's icon

Hi Roman !

Thanks for replying !

Just tried, and if I'm not wrong, it occurs when onscreen mode is enabled and disabled...

Would you mind sharing an example ? I understand principle here but I'm not familiar with jitter and I'm not sure how to achieve that...

Thanks for your help !