modeling

OpenCL Sculpt (Composition by gtoledo3)

Author: gtoledo3
License: (Other — see description)
Date: 2010.07.19
Compatibility: 10.6
Categories:
Required plugins:
(none)

This composition is a demo that shows how to setup an interactive sculpt method with the Apple Mesh engine in Snow Leopard.

Shoutout to cwright for a question he answered a long time ago (hmm, 2 years? Time flies...) where the resolution was to take a Kineme3D warp and sample the output with a sample and hold before the renderer, so that a gravity warp would freeze on mouse up, and clear on mouse down.

After that lingered in my mind, I realized I could setup a feedback/multiplexer loop that would allow one to do a type of additive sculpting that wouldn't clear the sample and hold data every time a mouse down event occurred, but additionally clear it if I wished with a secondary mouse button.

A recent discussion about pushing around vertices in OpenCL led me to whip this up, since I was pretty sure the routine could be applied to OpenCL just as easily.

So, this uses that kind of sample and hold based feedback loop with multiplexers to allow one to use a mesh filter in a way that adds the results of deformation to the resulting mesh with each push/pull motion. This is very similar to some sculpting and vertex push functions in modeling programs.

Rev History- .01- Slight tweak to improve clearing mesh filter effect.

Mesh Lab

gtoledo3's picture

http://meshlab.sourceforge.net/

What I'm finding to be really useful:

-Straightforward conversion between many 3d file types, particularly 3ds, obj, and collada, but having OFF, DXF and some of the others has proven useful as well.

-A decent smoothing tool that's speedy and barely makes the file larger/more complex.

-Surface reconstruction from points (so it can take some more obscure data types).

-Tools to automatically clean up models - remove duplicate faces, inner faces that are unneeded, hole filling, etc.

-Really quick texturing/paint on mesh tools.

It's not extremely full featured, but what it does, it does solidly and I haven't encountered any problems with it. The fact that it's free and open source is a plus too.