How can I draw the geometry generated by jit.gl.graph by a jit.gl.mesh?

Gary Leyrn's icon

Hello,
How can I draw the geometry generated by jit.gl.graph by a jit.gl.mesh? ( 'cause I want to use mesh draw modes)
I also need to apply jit.slide to the jit.gl.graph output.

I made this patch , trying to unpack the output of jit.gl.graph, but it is not working.
Can someone please can help me to fix it?
Thanks guys, cheers.

Max Patch
Copy patch and select New From Clipboard in Max.



Rob Ramirez's icon

unfortunately it looks like gl.graph has never implemented matrixoutput. I'll put in a feature request ticket for this.


you can change the drawmode of gl.graph via the circpoints attribute (1 = lines, 2 = tri_strip, > 2 = tri_grid) and the poly_mode attribute

Gary Leyrn's icon

Thanks Rob.
Thanks for considering this for a feature request ticket. Cheers.