MeshLab Shaders Collection

cybero's picture

The release yesterday, the 16th of February , of Mesh Lab version 1.3, prompted me to return to a back burnered project to port the shaders used in MeshLab into Quartz Composer.

All but ambient occlusion proved to be capable of porting and were a pretty trivial task too.

Utilising the v002 Model Importer to import and render .ply meshes and all those colours and such came to life more vivdly and easily than was achievable with the use of .dae.

A really amazing plugin, the v002 Model Importer; I'm just beginning to be captious of its full potential. I'm looking forward to getting some sweet animations done.

I've packaged up the results of my work, including the .dae , .ply , .mlp and .gts files to run the project [.mlp] from within MeshLab, an incredibly useful program.

One really wonderful thing about the v002 Model Importer plugin is that meshes can be rendered from so many formats, without having to use .dae .

The shader collection is as follows:-

















I'd be interested to know if these also work well on 10.5.x. I think they should, but perhaps I'm not apprehending some lack of backwards compatibility. They don't test to Leopard runtime correctly.

Much thanks and appreciation to vade and also to the MeshLab development team, especially Massimiliano Corsini.

I'm also pretty delighted to discover how well Quartz Composer snapshots with transparency to.png, hithertofore most of my rendering snapshots have been of full area renders :-).

[who knew that?] - yeah, you! [who didn't know that?] - yeah, me! [who else..]

CI Normal Map_gtII (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2011.01.24
Compatibility: 10.4, 10.5, 10.6
Required plugins:

This is a companion to the other normal map filter, that samples from more pixels than CINormalMap_gt to make it's normal map from heightfield.

Included is another composition that makes a normal map on the fly using this filter.

GLSL Noise and Extrusion - Kinect

gtoledo3's picture

I made a blog post about setting up a GLSL shader to do an extrusion function and noise function, inspired by the gl point/noise look of the cool plugin from _1024 / franz, posted yesterday, setup for using the kinect tools output.

Hopefully, the shader based approach is of use, and is a good jump off point for customization. Many thanks to franz for the inspiration on look; I'm saying happy holidays with another "snow storm"! :)

GLSL-Vignette (Composition by gtoledo3)

Author: gtoledo3
License: (unknown)
Date: 2010.11.14
Compatibility: 10.4, 10.5, 10.6
Required plugins:

This is a GLSL shader that creates a vignette effect.

It takes advantage of the GLSL smoothstep function. It's adapted from the example here: