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

Feb 23, 2013 at 6:22pm

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

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

– Pasted Max Patch, click to expand. –
#66679
Feb 23, 2013 at 7:00pm

Hi,

I don’t know exactly why, but jit.pwindow always render in upmost position. In your example if you draw in the tiny window, it does the same than in the biggest one.

But you can still draw a complete circle (or use jit.gl.gridshape) in front and in the middle of your scene to make arcs with your sketch ;-)

– Pasted Max Patch, click to expand. –
#240010
Feb 23, 2013 at 7:14pm
– Pasted Max Patch, click to expand. –
#240011
Feb 24, 2013 at 11:32pm

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!

#240012
Feb 25, 2013 at 2:44am

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

#240013
Feb 25, 2013 at 10:05am

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.

#240014
Feb 25, 2013 at 6:59pm

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

#240015
May 28, 2013 at 6:07am

i used a transparent patcher in a similar situation

#250922

You must be logged in to reply to this topic.