PDA

View Full Version : marcus, asking you for AdjustDFZsizeZB3 Oldversion's note code



xueqing0622
06-14-07, 02:34 PM
I'd love to know how the AdjustDFZsizeZB3 Oldversion's note work so nice!
My note reaction for ZB3 is so slow.

[IButton,"ZPlugin:XQplus:ZIntensity+1","Load ZIntensity+1 zscript",
[IFreeze,
[ISet,Zscript:Show Actions,0]
[ISet,Draw: Z Intensity,[IGet,Draw: Z Intensity]+1]
]
[Note, [StrMerge, " \Cffffff", [Iget, Draw: Z Intensity], ],,-1]
[Note,,,0.035,0,0.035,400, ,,,,,]
,,,82,,19]

marcus_civis
06-14-07, 03:35 PM
I'd love to know how the AdjustDFZsizeZB3 Oldversion's note work so nice!


You're on the right lines but I use a loop while the mouse is down. It's really an adaptation of Svengali's CropBox routine in this thread:
http://www.zbrushcentral.com/zbc/showthread.php?t=22826&page=2&pp=15

Also the 'fading Notes' feature has to be disabled temporarily for smooth display.

Anyway, here's the code for the DRaw Size. I've taken out the plugin button code so that you can test it out more easily.

Cheers,

xueqing0622
06-14-07, 03:38 PM
By the way, Could you change the Z intensty hotkey to "w"
and detach for three files, like zbrush 2.
AdjFocalShift.zsc AdjZInt.zsc AdjDrawSize.zsc!
So that we can pick what we need!

xueqing0622
06-14-07, 03:42 PM
Thank you, marcus!
You are so generous!

marcus_civis
06-15-07, 02:29 AM
By the way, Could you change the Z intensty hotkey to "w"
and detach for three files, like zbrush 2.
AdjFocalShift.zsc AdjZInt.zsc AdjDrawSize.zsc!
So that we can pick what we need!

Well, you can change it yourself now. :) But I wouldn't advise using 'W' as a hotkey - it will conflict with Move:Transpose.