I have a patch with mutiplte 3D objects movin in space,
and I’d like them to leave more or less a trace behind
them, as if they had different erase_color values.
All rendering in one window.
I found examples in the forum explaining how to make
multiple rendering of a scene, but this does not seem to do the trick.
I guess I would need as many render as different erase_color,
since erase_color in done during the rastering phase which is
performed only once in the render, if my little OpenGL knowledge is correct.
Does anybody know how to achieve this?
I suggest you try rendering your objects to separate gl textures, and then
do mixing/feedback effects using slabs/shaders.
for rendering to texture, checkout capture attribute to gl.objects,
to_texture of jit.gl.render and search all recent threads about rendering to
texture, good stuff in there!
mmm… yes, thats the solution I was thinking of.
I was reluctant to create 1 render per new 3D object,
because this number changes dynamically, but I do
not see any other way of doin it in the GPU.
Thanks Nesa for the indication though..
C74 RSS Feed | © Copyright Cycling '74