Extending TurboSmooth

Become a member of the CGSociety

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

Thread Tools Display Modes
  04 April 2009
Extending TurboSmooth

HTML Code:
plugin modifier test name:"test" classID:#(0x6be80e87, 0x71e7eaf6) extends:turboSmooth replaceUI:true ( parameters main rollout:params ( displayIterations type:#integer ui:displayIterationsUI default:1 on displayIterations set val do ( delegate.iterations = val ) ) rollout params "test" ( spinner displayIterationsUI "Display Iterations: " type:#integer range:[0,10,1] fieldWidth:30 ) )

I am trying to make a simpler version of the turbosmooth modifier that just lets you update the iterations. When I change the spinner it appears that the values update ok but the mesh in the viewport does not change. How can I get the mesh in the vp to update as well. Thanks,

  04 April 2009
Definitely something fishy going on!

If you add the modifier by script

addModifier $ (test displayIterations:3)

It adds with the right subd, but after that the turbosmooth is not updating to the replaced UI controls... looks like a bug to me.

Online: LinkedIn
  04 April 2009
mm.. borked - even if you remove the parameters, rollout, etc. Same applies to MeshSmooth. D'oh. I'm sure there's hacky workarounds, but all the ones I can think of are so ugly you might as well stick with the original UI :|
  04 April 2009
Thanks for the confirmation, I suspected it was a bug but wanted to be sure.

  04 April 2009
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 07:19 AM.

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