Capturing multiples with

Apr 29, 2011 at 5:12pm

Capturing multiples with

I’ve got a question about capturing multiples with, im using this instead of the render to texture method so i can get rid of the background with reset, glclearcolor 1. 0. 0. 0., glclear.

Unfortunately the cubes aren’t being rendered in the correct order, i.e some appear in front of others when they should be behind- take a look at this patch cobbled together from others.

– Pasted Max Patch, click to expand. –

Ive tried messing around with depth_enable, blend_enable and cull_face but im not getting anywhere with them!

As usual any ideas would eb much appreciated!

May 2, 2011 at 12:25am

@depthbuffer 1 on the jit.window
@depth_enable 1 on the gl.gridshape that is the target of the gl.multiple
@capture_depthbits 1 on the gl.texture that is capturing the output of gl.sketch

May 13, 2011 at 1:44pm

Thanks Robert, i got there in the end- what a silly mistake!


You must be logged in to reply to this topic.