Hi there. I have moved to a new website at I'm no longer updating this one, but I'm keeping it around so the Internet wouldn't break. See you there.

UV Geometry Constraint Plug-In

Shortly after releasing the geometry constraint plug-in, someone on the CGTalk forums asked if it was possible to extend it to allow of random or uniform placement of several objects on the surface of a polygonal mesh.

After some head scratching and bouncing of ideas, I thought that the most flexible solution would be to have something like the built-in surface constraint in Softimage, but one that works with polygonal meshes instead of NURBS surfaces.

After some more head scratching, SDK reading, and C++ reminiscing, I’ve managed to come up with a decent solution: The UV Geometry Constraint plug-in.

For maximum portability and hackability reasons, I would have preferred to write this in JavaScript. Unfortunately some key functionality that I needed was only accessible using the C++ API. So that’s what I had to use, and as a ramification, I’m only able to provide binary builds for both 32-bit and 64-bit flavors of Windows. Anyone wishing to use this on Linux will have to compile it from the source code.

Someone already asked if it’s possible to have this plug-in constrain the orientation of the constrained object in addition to the position. It is certainly possible, but it’s not trivial. And seeing that there doesn’t seem to be much interest in this plug-in so far, I’m inclined to leave it be for the time being.

No Comments

Powered by: