Simple GL objects in the same context window..please help me undertsand it

uvray's icon

Hello Jitter masters,
I am new to Jitter but eager to learn and starting to work on an exciting project with openGL objects.
Can any of you show me or direct me to a (Simple) patch that illustrates how to get a few GL objects onto one window with individual control of each of them and none of the flashing and binding I'm getting when the objects have the same context name??
..It would really make my day and solve my frustration.

I sort of got an answer and a direction to the cool "Rabbit" patch but it was a bit too complicated to understand everything there.

Thanks !!

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

Enjoy.

cap10subtext's icon

Throw a texture in there while we're at it. ;)

Max Patch
Copy patch and select New From Clipboard in Max.

Don't forget to save and reopen the patch or the loadbangs won't fire.

uvray's icon

Now I know why they call you cap10. Thanks a lot!
This explains exactly what I needed( and you used my photo for the texture :).

Let me ask you another quick question if I may..
For a performance I would like to have the ability to move each GL object but without seeing the round blue green and red axis lines that appear when you click on an object. is it possible to get rid of those?
Thanks!

UV

uvray's icon

And another quick thing..
How would you apply a different image to each GL object?

justin's icon

@uvray i already answered that in ur other post: use textures with different names. And also read the jit.gl.texture object helpfile.

to get rid of red and blue lines, you can send jit.gl.handle "visible 0" to turn them off... I dont mean to be condescending but its also in the jit.gl.handle helpfile!

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

OK I managed to load two different textures to each object. Now it's time to
make music with it.

uvray's icon

Yes Justin, thanks for your answers, I managed now. sorry for posting twice on this subject, I just had to figure it out somehow quickly.
Cheeers
UV