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 Tools Display Modes
  07 July 2013
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?

  07 July 2013
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.
  07 July 2013
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'....
  07 July 2013
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
Society of Digital Artists

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

All times are GMT. The time now is 04:48 AM.

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