choose what to render in same jit.window

Nov 19, 2012 at 7:47pm

choose what to render in same jit.window


I got a pretty big patch in OpenGL. Im going to use it in a theatre where I both use 3D graphics and some different videos and wounder how I shall mix between these in the best and less powerconsuming way (got a pretty slow computer at the theatre). I just want to render one thing at the time. when Im using video Im just want to render the video without the other stuff (boids in my case) are beeing processed in the background and vice verse.

Is the method Im using in these example patch a good way of doing this or are there some better way? (my real patch pretty powerconsuming and caused max to crash sometimes)

so what I want to do:
sometimes choose to show video through and sometimes 3Dgraphics and toogle between these two.

– Pasted Max Patch, click to expand. –
Nov 19, 2012 at 7:53pm

this seems fine, however it might be easier to simply use the @enable attribute to toggle gl objects.

Nov 19, 2012 at 7:56pm

okej. thanks.

so if I just use the enable attribute. and for example has got boids and a ot of stuff in a chain and everything is output through a for example.

If I just put the @enable to turn the mesh on and off. doesnt all the rest working in the background? In my head Im just turning off the output. not the work and processing itself? or am I wrong?

hope you understand what I mean ..

Nov 19, 2012 at 8:00pm

yes, the enable will just turn of that objects rendering. you have to also disable the other jitter objects as you’ve done in your example patch.


You must be logged in to reply to this topic.