an entire open gl scene on a texture

    Oct 29 2009 | 4:59 pm
    Hi, 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 ? thx.

    • Oct 31 2009 | 12:19 pm
      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 | 12:47 pm
      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 02 2009 | 2:22 pm
      ok, i got it but...
      where is the text ? what is my mistake ? please. thx.