Mar 7, 2008 at 11:07am
I’ve got a simple question. I think i’ve got it because I just don’t really get the render object in jitter:
If I want to apply a simple effect (like jit.slide) to a rendered object (as i.e. the square you get in the help file of jit.gl.render) how should I do that?
Thanks in advance.
Where should i dig deeper into to better understand this principle?
#P window setfont “Sans Serif” 9.;
Mar 7, 2008 at 5:14pm
jit.slide is for matrix processing.
however, you can a tell gl.render to render to a named matrix, and then use jit.slide on that matrix.
if you look at the help file, in the lower left corner there is a matrix named hither. if you press the “drawto hither” message box, gl.render will do just that, and you can connect jit.slide to the output of hither.
all this is covered in the tutorials and reference files.
Apr 2, 2008 at 9:19am
I got this working, but it’s kinda CPU expensive. Is it also possible to use a slab to create this effect. In the jitter examples I saw the jit.gl.slab-slide patch. But it’s used on a video, not on a jit.gl.model. Does anyone has an idea how I could do this?
Thanks in advance!
Apr 2, 2008 at 7:41pm
render to texture and process the texture with slabs.
check out recipe 21
You must be logged in to reply to this topic.