Forums > Jitter

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

Apr 12 2011 | 10:58 pm

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 !!

Apr 13 2011 | 2:31 am


-- Pasted Max Patch, click to expand. --

Apr 13 2011 | 2:44 am

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

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

-- Pasted Max Patch, click to expand. --

Apr 13 2011 | 9:25 am

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?


Apr 13 2011 | 10:10 am

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

Apr 13 2011 | 10:47 am

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

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

Apr 13 2011 | 10:50 am

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

-- Pasted Max Patch, click to expand. --

Apr 13 2011 | 10:52 am

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.

Viewing 8 posts - 1 through 8 (of 8 total)

Forums > Jitter