Move a custom Soft Selection

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 05 May 2010   #1
Move a custom Soft Selection

Hello everyone,
this is my first post and I am writing because I need help in a script.

the idea is to select the vertex, assign a weight (soft selection) and move in one direction. Than you need to move is because their weight, maximum weight maximum displacement, weight zero zero offset.

The custom soft selection only managed to do it, what fails and how to move the vertices in one direction.

The script used for the soft selection is as follows:

 polyop.setVDataChannelSupport obj 1 true
 			
 if not polyOp.getVDataChannelSupport obj 1 do (messagebox "No Soft Selection"; return false) 
 			
 polyop.setVDataValue obj 1 #(vert_poly) select_weight
 

where vert_poly is a vertex and select_weight is the assigned weigth.
For each vertex assign a weight that interests me.

The solution I found is to apply the XForm modifier and move the gizmo at the maximum distance in the direction that interests me. The result is just what I need. But you can get the same thing without using the XForm modifier?

Thanks
 
Old 05 May 2010   #2
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 02:31 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.