1. #1
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Wink zAdjustor v2.0 [UPDATE]

    zAdjustor plugin : Adjust Draw Size, Focal Shift (and Z/RGB Intensity) by simply moving the mouse/stylus on X and Y axis while holding down a hotkey. Don't interrupt your workflow anymore when adjusting brush size or focal shift, instead smoothly adjust it with visual feedback, just like in mudbox, photoshop, etc... !!!


    >>> UPDATE : New version 2.0
    Works really well and smooth now.

    zBrush has got a wonderful seamless smooth workflow, and to me adjusting draw size or focal shift with a slider totally ruins it. I wanted to have a tool which would do it more naturally, without having to relate to precise numbers, just like like in Photoshop with Alt or Maya/Mudbox holding B key. The adjust plugin shipped with zBrush did not do it for me, so I started to write my own one, and there it is.

    So : You choose between one of the six independent profiles with the top buttons, set whatever parameters you like, assign a hotkey to the big button at the bottom, then while sculpting you hold that hotkey and adjust a chosen parameter with X axis and another one with Y. While doing so the cursor stays in place (only zAdjustor 1.0 and up).

    While doing this, you have instant smooth visual "analog" feedback of brush size and focal shift, as well as numerical in the status bar if you enable "Display" option. You can also adjust Z Intensity and RGB Intensity if you want.

    You have six independent profiles, each with its own settings and hotkeyable action button, so you can have up to six different hotkeys adjusting various parameters in various ways.

    Axis culling means that if you aim within a certain angle from horizontal/vertical axis the other axis will be filtered out so you won't have to be extra-precise to prevent changing its value. If you aim outside the defined angle then you will adjust both axis just like usual or if you set angle on 45° then there will always be an axis culled. The length slider sets the number of pixels traveled that the plugin will take in account when it evaluates axis culling. Lower it for optimal response, raise it if you find the test too much precise.

    To adjust mask/smooth/clip brush settings, you have to first hold the hotkey, then add the modifier one (SHIFT/CTRL), in that order. So, choose your hotkeys wisely : it is best to choose a single key which also is not part of another zBrush shortcut with CTRL/SHIFT. So, for example : D key first seems to be a nice choice, till you remember CTRL-D is for subdividing ! You won't be able to adjust mask brush settings. Two solutions : you can remove all conflicting shortcuts, or choose another key.

    The current version is zAdjustor v2.0, available only on windows. Mac version isn't ready yet but Mac users can still use SizeAjustor v0.92.
    Voilà ! Hope you will like it, use it and find it useful. I would like a lot of feedback (I hope less problem reports and more bugless thanks ), so don't hesitate. Also pardon me for my English and if you see any mistake let me know. Happy sculpting !!!


    A really big thanks to Denvi, whose help did really make possible for zAdjustor to become a really kickass plugin !!!




    > Download :

    ZBrush_SizeAjustor_Plugin_v0.9b.zip (now obsolete)

    ZBrush_SizeAjustor_Plugin_v0.91b.zip (now obsolete)
    ZBrush_SizeAjustor_Plugin_v0.92.zip(latest version for OSx, obsolete for Windows)
    ZBrush_zAdjustor_Plugin_v1.0.zip (now obsolete)
    Attachment 399457 (latest version for Windows)



    > Installation :

    Just extract the whole archive in zBrush plugins folder, depending of your OS :
    Windows > "C:\Program Files (x86)\Pixologic\ZBrush 4R?\ZStartup\ZPlugs"
    Mac OSx > "/Applications/ZBrushOSX 4R?/ZStartup/ZPlugs"
    If you have a previous version installed, BE SURE TO ERASE THE OLD FILES (the whole SizeAjusor / zAjustor folder and the SizeAjustor.zsc / zAdjustor.zsc) before installing the new one.


    >
    Version history :


    *** zAdjustor v2.0 :
    _ Went back to an engine more like 0.92, as Denvi found the way to make it work even with cursor locked. Removed the loud code used in 1.0 to bypass that ex-problem.
    _ Removed "Delay" setting, as it is useless and misunderstood.
    _ Added option to display changing values in zBrush's status bar.
    _ So no more problematic exe, only a good old tiny dll.
    _ Attracts your lover and make him or her irresistible to you, make your Marriage successful and more.

    *** zAdjustor v1.0 : 4th release :
    _ Cursor now stays in place while adjusting
    _ Axis culling feature added
    _ Up to six different profiles in only one palette
    _ Name changed
    _ Complete source rework

    *** SizeAjustor v0.92 : 3rd release :
    _ Added support for Mac OSx : now everyone's happy.

    *** SizeAjustor v0.91b : 2nd release :
    _ Fixed an interface bug where buttons could be on top of each other depending on [Preferences:UI:Buttons Size]. Should now look good on any interface setup.
    _ Recompiled the dll with CodeLite(g++) instead of Visual Studio 2013, so no more need to install Microsoft VC blah blah Runtimes or whatever to fix dependencies issues. Dll should now work ok without installing anything.

    *** SizeAjustor v0.9b : 1st release


    Happy sculpting every-z-one !!!
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	SizeAjustor_palette.jpg 
Views:	2341 
Size:	35.7 KB 
ID:	383528  
    Attached Files Attached Files
    Last edited by KeuPon; 11-19-13 at 05:50 PM. Reason: Update

  2. #2
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Default First Report SOLVED

    ALL FIXED
    Here is a first bug report ( thanx marcus_civis ) :

    FIXED _ People who don't have Visual Studio 2012 need some files from microzoft ( the usual VC 20XX runtime libs ), included the link in the post. I'm interested to know if you think I should include them within the plugin archive, I don't know if it is okay to do that ( and it would considerably increase the file size ).

    FIXED _ Some buttons may be on top of each other if your button size differ from mine ( I think I was using defaults ), but as it shouldn't interfere with good operation of the plugin I will update it in the next release along with potential critical bugs found meanwhile. If someone can't use the plugin properly because of this let me know and I will update it.

    Cheers everyone !

  3. #3
    New Member User Gallery
    Join Date
    Sep 2007
    Posts
    18

    Default

    This is awesome!

    I've installed the linked files but msvcr120d.dll was not enough me.
    I solved it by installing the Visual Studio 2013.

  4. #4
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Default Fix

    No more need to install Microsoft Visual blahblah runtimes

    The two issues mentioned in post #2 and #3 are fixed (DLL and buttons).
    Updated with link to new version !

    Happy sculpting everyone

  5. #5
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,582

    Default

    Good work, it works very well.

  6. #6
    Member User Gallery
    Join Date
    Jan 2010
    Posts
    73

    Default

    This is very nice KeuPon! I hope Pixologic is watching this. Two comments:


    • Would it be possible to let the Plugin cull horizontal movement when the main movement direction
      is vertical and vice versa? What you now have created is a two dimensional slider - which is kind of cool
      but hard to control.
    • Does Zbrush by any chance give you access to RMB (only when hovering over the object) so that one
      could assign this event instead of a keystroke? This way was clearly my favorite - then one would not even need to press a hotkey. 3DCoat uses this mapping too - this would ease things for those who use both apps. It was of course brilliant if you even could allow RMB+Modifier or keystroke as the alternative
      mapping (SizeAdjustor B). Seems that when RMB-Navigation is turned on, all Modifiers are already
      taken - but they might get free when one turning RMB-navigation off.

    Thanks again!

  7. #7
    Senior Member User Gallery
    Join Date
    Aug 2011
    Location
    Mebane, NC
    Posts
    2,801

    Default

    Saw this, looks neat. I use right click for the popup menu native to ZBrush. If it wasn't available, I might be using your plugin.

  8. #8
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Default

    > Polyxo :

    Thanks a lot, and that's two very nice ideas you've got here !!!

    For the first one, if I understand, you want that when you start moving either vertically or horizontally, the plugin then ignores the other axis ( just like some functions in maya's graph editor ). Am I getting it ? If I do I think it's a very good idea and I think I could set it up very easily, so except it as a new option in the next update !!! Personally, I quite like controlling draw size with X and focal shift with Y, don't forget you've got the strength slider for each axis which can help you with precision.

    For the second one you can already do that :
    If you've got a tablet, in the Wacom Tablet Properties, you can map a key to whatever pen button you like. Just map it to a key available in zBrush, and voilà !!! If you want to use it with right mouse button, you even doesn't need to disable Right Click Navigation and Right Click Popup as mapping it to a key bypasses the right click anyway. I just mapped my upper pen button ( which usually act as middle click, pretty useless anyway in zBrush ) and it just kicks asses !!! Thank you a lot man I didn't think about using my plugin in that way at all, I owe you a good one ! If I become millionaire with donations I'll buy you a big Cintic HD !!!
    If you don't have a Wacom I think there are some drivers / utilities which can map mouse buttons to keys the same way. I think for Logitech mouses you've got uberOptions ( http://uberoptions.net/ ) which is a sort of driver addon to do that kind of stuff. Don't know if it works for other brands, but there's certainly something equivalent out there.
    Except the next update in few days.

    So a very big thanks to you again !!!


    > Doug :

    If I understand well, you say you use the zBrush native right click quick menu with all the sliders and stuff to change draw size focal shift etc ? ( I'm again not sure to understand - not a native English speaker sorry ) Because that's exactly to avoid doing it that I made this plugin - not judging or anything I just dislike doing it - matter of taste. Now that polyxo gave us a new way to use my plugin, you maybe could use it with 3rd mouse button ??? I'm doing brute forced sale here hehe. JUST USE MY DAMN PLUGIN !!! If you don't I won't buy you anything when I become millionaire with donations ! lol
    More seriously, thanks for the good comment

  9. #9
    Senior Member User Gallery
    Join Date
    Aug 2011
    Location
    Mebane, NC
    Posts
    2,801

    Default

    Yes, the one with all the sliders. It pops up where you click, no need to jump across the UI for one which is macro based 'docked' somewhere. Again personal preference. I have duplicate items in places to save time while working.

  10. #10
    Senior Member User Gallery
    Join Date
    Sep 2010
    Posts
    723

    Default

    Quote Originally Posted by KeuPon View Post
    For the first one, if I understand, you want that when you start moving either vertically or horizontally, the plugin then ignores the other axis ( just like some functions in maya's graph editor ). Am I getting it ? If I do I think it's a very good idea and I think I could set it up very easily, so except it as a new option in the next update !!! Personally, I quite like controlling draw size with X and focal shift with Y, don't forget you've got the strength slider for each axis which can help you with precision.
    I agree. Sometimes it's nice to change both in one motion but sometimes you just want to change one and not affect the other. I would try to do something similar to the way the transpose tool works, while holding shift it locks to the angle, otherwise it works as normal.


    I would like to see this mapped to the Middle Mouse button (or 3rd button/scroll wheel button) that leaves those of us who use right click with our default but can still map our Wacom pens to a button. I use Right click navigation and I can't have right click popup anything else or it interrupts my workflow too much. I mapped my Wacom pen with a right mouse click and a middle mouse click. Middle mouse button isn't used for anything in Zbrush that I know of. I do use it in other programs which is why it's mapped on my pen.

    I'd like to try this plugin out but I'm on OSX. I'd like to see it ported over with the above mentioned implemented.

  11. #11
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Default

    > Doug : Ahh I agree with you travelling all the way across my A4 tablet is a real pain ! It's not that I hate sports but...

    Before writing this plugin I had setup a little palette with just Draw Size, Focal Shift, intensities and underneath switches M RGB MRGB Z+ Z- Zcut, assigned to S so just like by default when you press it you the draw size slider just under your pointer, plus the other useful stuff just some pixels away in a predictable manner, so it's kinda like "gestures".

    I might sound a little boring here but again I fear I either didn't explain properly how SizeAjustor works or misinterpreted you :
    When you say "no need to jump across the UI for one which is macro based 'docked' somewhere" : Were you talking about my plugin ? Because the purpose of it is exactly to avoid having to travel anywhere in the interface or push any button especially one docked somewhere. The button is just there so you can assign a hotkey to it, you never have to press it ( as anyway pressing it wouldn't do anything ). Exactly like when in photoshop you hold ALT+Right Mouse Button and move your mouse.
    If that's me who misinterpreted you, please accept my deepest apologies as I realize it's seriously starting to look like harassment... ( like " Use my plugin and stop doing your way ! now ! not kidding !!!" ) I promise to stop right now ! lol ( For my defense I'm french. I'm working on it but there is unfortunately no cure... )


    > MentalFrog :

    The problem would be that if you have to hold SHIFT that looses one key, plus as it can't prevent the brush from switching to smooth brushes it would cause problems. But no need for that I'll just put on something which will detect the initial aim you take, in maya it feels very well so no problem.

    I mapped mine on the middle (3rd) button too just like you, very useful like in maya and yeah I had no use for it in zBrush until sooner today when Polyxo came with the wonderful idea to use my plugin on it. I barely used it since but I think it will stay this way. I really couldn't do without right click navigation, I'm totally with you here.

    For osX : seriously... get a real computer... DON'T SHOOT I'M JUST JOKING LOL
    I was talking with marcus_civis about porting the dll to Mac OSx and for sure it should be really quick and easy. If anybody now about compiling a lib on OSx, we should talk. I think that's the matter of one or two hours, anyway no more than a very few. It won't stay PC only !!!

    Cheers everyone !

  12. #12
    Member User Gallery
    Join Date
    Jan 2010
    Posts
    73

    Default

    Hi KeuPon
    thanks! Good to see that my comments were well received. You asked what I meant exactly with what I called filtering and culling values. What I wanted to say is, that I found helpful to discard all x values when in the list of transformation values when the motion vector clearly points upwards or downwards. I of course have no idea what options you have at disposal but to me it would make sense to automatically lock the cursor in the one or the other direction: So that one either edits parameter 1 or 2 but not both at the same time.
    I further much preferred if the Pen midpoint didn't wander while resizing the pen - this feels kind of odd. I imagine it like the needle of a pair of compasses (if you still remember that old tool ) which also stays in situ while changing the diameter of the tool.

    cheers!

  13. #13
    Senior Member User Gallery
    Join Date
    Aug 2011
    Location
    Mebane, NC
    Posts
    2,801

    Default

    Right click opens the quick menu panel for a 1 shot adjustment. Spacebar holds it open for many. The defaults work fine for me, I'm happy without yours for the time being.

  14. #14
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Default

    SO, good to see I understood you well

    To "filter" the discarded axis should be easy but locking the cursor in place ( wich again is a good idea ) or on one axis will require some system work via dll call and I'll have to google around, should be possible but must see. I'm also starting to work on the mac version.

    To be honest my c++ is a little rusty...
    Things have quite changed since TurboC++ on MSDOS 5.0 and my ol' 80x86 IBM PS/2 ! Yes I learned everything on a computer born the same year as myself Things were easier ( were they ? ) : make an assembler routine to call interrupt 13h to switch to the oh so wonderful VGA mode with its amazing 256 indexed colors, and wonder how beautiful it would look on a color screen if only I had one

    How would zBrush be on that ? It would be called zPaintbrush hahaha ( for those who remember )

  15. #15
    Member User Gallery
    Join Date
    Nov 2012
    Location
    BELGIUM Liège
    Age
    30
    Posts
    64

    Default

    > Doug :

    My mistake ! I just wasn't sure if I made myself clear about what the plugin is about and how it works.
    Thanks a lot for having tried it anyway and the first comment
    ( like the word "neat" very much, partly because of the first Damned lp )

Page 1 of 5 1234 ... LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •