Hey guys,
I have been working on this Topologyprojection script as a school project and thought it might come in handy for some of you.
So what it does is enable you to project a flat shape onto a 3d surface
check out the video for the features
[ame]
http://www.youtube.com/watch?v=MB71JECpjRM&fmt=22[/ame]
special thanks to Pior for some suggestions so far
Replies
I have a working prototype of this at the moment that i keep meaning to finish. the end result is snapping much like topogun or silo. the great thing is its totally realtime and any modeling operations are automatically snapped to the surface of your mesh. Just make sure you have a way of telling the callback that the geometry change after a cast isnt a user input and to ignore it. otherwise you'll get verts sliding all over the model
r_fletch_r: yeah that could be a good feature, i'm going to take a look at that so maybe i could implement it as an extra feature
make sure you've set the graphic windows transform to the identity.
gw.setTransform(Matrix3 1)
This should allow you to cast the vert onto the mesh from the perspective of the user. Heres my code, still a little buggy but it works. I cached the functions outside the casting loop to speed things up.
when my exams are over i'm going to put some time into implementing it for sure!
maybe then i could make a combination of the projection so you could project topology shapes into a mesh that is snapping to the surface and that would automatically have the projected shape welded if points overlap