an entire open gl scene on a texture

Oct 29, 2009 at 4:59pm

an entire open gl scene on a texture

i can’t figure out how to put this open gl scene on one texture.
could somebody help me or point me in the right direction ?


– Pasted Max Patch, click to expand. –
Oct 31, 2009 at 12:19pm


Usually the method depends on what you want to do with the texture later.
If you want to get the whole rendered scene back to matrix(for recording mostly), you can use

If you want to do some kind of post-processing first and then display it later, you could render your ‘scene’ through with @capture attribute set to name of destination texture.
All the objects rendered through that sketch should then be @automatic 0.

Even if you have a bunch of sketches that make up your scene, you can still set their @automatic 0, give them @name and render them with a ‘master’ sketch.

Try searching the forum and especially Andrew Bensons recipes – this is quite a recurring subject.


Oct 31, 2009 at 12:47pm

many thx.
yep it’s the second case. i know the way to record a scene with jit.glasyncread.

i’ll try that with sketch. actually i have some andrew examples but it didn’t work well in my case. certainly ’cause i made mistakes. i’ll take time to study that.

Nov 2, 2009 at 2:22pm

ok, i got it but…

where is the text ?
what is my mistake ?

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.