Did you guys were able to create it? If so, wanna share? :) 2011/6/12 <[email protected]>
> Today's Topic Summary > > Group: http://groups.google.com/group/python_inside_maya/topics > > - move brush for artisan? <#1308544d5833da1e_group_thread_0> [3 > Updates] > > Topic: move brush for > artisan?<http://groups.google.com/group/python_inside_maya/t/2d1de9f11fcab765> > > Sebastian Schoellhammer <[email protected]> Jun 12 10:57AM > +1200 ^ <#1308544d5833da1e_digest_top> > > Hello, > > it always bugged me that there is no move brush in the Sculpt Geometry > tool. > > Looking into it though, making a custom one doesn't look too trivial > though. > :/ > Is it even possible? It would be hard to get the direction of the move > I > suppose.. > > Has anybody tried? > > Seb > > > > > Chad Vernon <[email protected]> Jun 11 04:31PM -0700 > ^<#1308544d5833da1e_digest_top> > > Yes it is possible, I created one. I used a Qt event filter installed > on > the viewport in order to get a mouse move callback so I could draw the > brush > whenever the mouse moves. Then you need to keep track of mouse deltas > and > such and calculate the proper vertex offsets in screen space projected > into > world space. > > On Sat, Jun 11, 2011 at 3:57 PM, Sebastian Schoellhammer < > > > > > johnvdz <[email protected]> Jun 12 12:09PM +0930 > ^<#1308544d5833da1e_digest_top> > > Hi Seb i believe your looking for the M3dView API command and also look > > at Ray casting using one of the Intersect commands to get the Start > position in 3d Space eg MfnMesh.intersect(). you can get direction from > > the M3dview. then you have to look at the whole tool Context thing..but > > mel Paint tools context is probably a lot easier. > i guess though using the standard Movie tool and SoftSelection or "b" > is > really what your trying to achive but it be nice to have just in the > paint tools. > > john > > Chad Vernon wrote: > > > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
