radius limit for paint tools

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 07 July 2013   #1
radius limit for paint tools

The interface for the paintVertexColor and the paintSelection tool ( and probably for all similar tools ) limits the value for the brush radius to 500. The only way I found for increasing the radius to higher values was through mel:
artAttrPaintVertexCtx( "-e", "-radius", 2000, currentCtx() );
artSelectCtx( "-e", "-radius", 2000, currentCtx();


So, are there other, more interactive ways to do that?

Thanks!
 
Old 07 July 2013   #2
you could make a MEL float slider that hooked up to that value:

global proc setBrushSize()
{	
if ( `window -exists setBrushSizer` )
  deleteUI -window setBrushSizer;

string $setBrushSizer = `window setBrushSizer`;
floatSliderGrp -precision 1 -field 1 -min 0 -max 5000 -cc "changeBrushSizeCommand" brushSlider1;
showWindow $setBrushSizer;
}

global proc changeBrushSizeCommand()
{
float $wt = `floatSliderGrp -q -v brushSlider1`;
//set radius to $wt with command
}


I don't quite get the syntax to use that tool so maybe you can figure out the last lines

Last edited by cgbeige : 07 July 2013 at 06:51 PM.
 
Old 07 July 2013   #3
Thanks for your answer, Dave.
Yes, the slider would be a posssible workaround.
Maybe this would be also a wish for the 'small annoying things to fix'....
 
Old 07 July 2013   #4
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:47 PM.


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