XML Feeds

.

[jitter] Re: Re: Re: erase_color with half transparancy works on one videocard, not on another

Wesley Smith wesley.hoke at gmail.com
Mon Oct 1 08:21:54 MDT 2007


> Btw what is the most convenient way to render multiple objects to the same texture? I was hoping that @capture scene could simply be applied to multiple objects, but it only seems to work with one at a time.
>

That's a tricky one.  There are 3 ways to render to texture:

1) @capture, only works for that object
2) @capture with jit.gl.sketch and multiple drawobject commands
3) use jit.gl.lua and jit.gl.begincapture/jit.gl.endcapture commands

and this made me think of another possibility that might be quite
useful for a future version of Jitter

jit.gl.texture @capture_layer .  This would render all all objects
assigned to a layer to a texture.  hmmm.  will have to think about
this some more.

wes


More information about the jitter mailing list