reduce number of polygons for jit.gl.model

robin.meier's icon

hello, i would like to create simplified shapes from complex .obj files. in practice i'm trying to reduce the number of polygons used to represent a shape, something which can be done with MeshLab. i saw that it is possible to do it with the dim attribute of jit.gl.gridshape. is there a similar feature for jit.gl.model? thanks for your help, r

Rob Ramirez's icon

you can use jit.gl.model with matrixoutput enabled, pass the matrices through a jit.matrix and control the @dim attribute of the jit.matrix, then pass to gl.mesh.

of course, it might not look great since you're arbitrarily downsampling a mesh matrix.

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

if you need more control, you should use a 3d modeling software.

robin.meier's icon

hi rob, thanks for the reply and patch. i think meshlab will suit my needs better. tutorial for the 'chives:

r