1. #1
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default simple workflow scripts

    ***Instructions - simply extract all of the contents from each .zip into your Zstartup/Zplugs folder and then in zbrush under Zplugin you will see a E panel where each of these plug-ins reside. ***

    These are just a few very, very simple work flow scripts that I find very useful and others just for fun. I would reccomend using these as hotkeys if you like them. Just throw any of these into your ZStartup/Zplugs folder

    1. PivotLocal_center. - This script automates setting a local pivot of your model and then maximizes your model to the view port.

    2. PivotClear_center - this script automates un hiding all parts of your mesh and then clears its pivot and then maximizes the model in the view port.

    3. mouse average 3 -
    this script basically just changes your mouse average to 3.

    4. mudbox - this script copies mudbox's lighting and material and color as close as I could. (I used to use zmats to save them, but I hate how the script panel at the bottom keeps popping up while working. And yeah you can manually move it back down but that is annoying.)

    All of these scripts are intended to be assigned to hotkeys, they are pretty pointless to use any other way in my opinion because the time it takes to go the plug-in panel and click on these buttons you could have just done what these do manually. So once again these are just quick workflow scripts to help speed up working in zbrush.

    Big thanks to marcus for creating the zbrush hotkey editor which I would not have made these scripts otherwise and also thanks to TV Eyes for helping me out with one of these scripts.
    Attached Files Attached Files
    Last edited by --E--; 09-10-06 at 08:11 PM.

  2. #2
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    ***Instructions - simply extract all of the contents from each .zip into your Zstartup/Zplugs folder and then in zbrush under Zplugin you will see a E panel where each of these plug-ins reside. ***

    Okay so here are a few more simple work flow scripts for working with bump maps. I would also recommend assigning these to hotkeys. Just makes zlife faster!

    1. bump_map_setup -
    this script sets you up to start working with a bump map. It automates setting your RGB color to 128, 128, 128 for a total 50% grey map. And then creates a 4096 x4096 texture off of that color and then loads the bump viewer material. And then sets your RGB color to 255, 255, 255.

    2. txtbmp_2_alphbmp - this script automates converting your bump map from a texture to an alpha and then sets the displace settings to mode and the intensity to .05. And then creates a new white place holder texture in the texture slot. This is for proper viewing of your bump map after picking it up from projection master

    3. alphbmp_2_txtbmp - this script simply converts your alpha bump map back to a texture bump map so you can work on it again in projection master after you are done looking at it in the view port real-time.

    I really hate the tedious aspect of working with bump maps so that is why I created these to speed up the workflow a lot and make it much easier to work with them.

    Let me know what you guys think or if you have any suggestions.

    Note: these are intended to be used on p3dmeshes, objs and ztools that are in edit mode
    Attached Files Attached Files
    Last edited by --E--; 09-14-06 at 10:03 AM.

  3. #3
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    So I just realized that I didnt have the show actions command turned off in my scripts. This wasnt an issue on 3 out of 4 of the computers that I tested these scripts on but on the 4th it was an issue because for some reason on that particular computer zbrush defaults to having show actions turned on. So I have added the command to all of my zscripts and re uploaded them all.

    So if any of you were having issues with that. You will just need to re download them and delete your old ones. Sorry for the inconvenience guys
    Last edited by --E--; 09-10-06 at 08:06 PM.

  4. #4

    Default

    I love this! Thanks E.

    This is the type of stuff that just makes lives easier.

    r

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

    Default

    Great work --E--,
    And thanks for sharing.
    Yeah, I reckon that ShowActions has got most of us at one time or another.

  6. #6
    Senior Member User Gallery
    Join Date
    Dec 2002
    Location
    Canada
    Posts
    105

    Thumbs up thank you for your workflow helpers

    i don't know how much help the scripts will be for me, but thank you for your effort to provide them.

    ciao voolger

  7. #7
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    ryankingslien - Glad I could make your life easier! and thank you for taking the time to try them out. That is pretty cool

    marcus_civis - Thanks a lot, that means a lot coming from you. They arent the most efficent scripts as I am still learning zscripting. But I do think they make a big step forward in speeding up the workflow.

    voolger - If you like to work faster with less moving the mouse all over the screen and chance for mistakes then I am sure they will help you out!

    -I am updating the mudbox script as I noticed that a user can receive an error if they are already using the basic material and then try to use the mudbox script.

  8. #8
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    I updated the bump_map_setup zscript to create a texture at RGB 128 128 128 texture instead of the original RGB 125 125 125, dont ask me why I had it at 125.

    Any way since you cant do 127.5 I figure 128 is close enough to 50% grey if you round up. So now the default color is as close as zbrush can get to 50% grey like it should be.

  9. #9
    New Member User Gallery
    Join Date
    Jul 2002
    Posts
    3

    Default

    cool stuff, but could you make a workflow script to facilitate the meats mier wire technique???
    Last edited by drbambooli; 09-19-06 at 12:11 PM.

  10. #10
    Senior Member User Gallery
    Join Date
    Nov 2003
    Location
    UK
    Posts
    728

    Default

    Thanks for the scripts, -E-
    Very useful indeed, and all working great this end

    cheers

    Chris


  11. #11
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    ***Instructions - simply extract all of the contents from each .zip into your Zstartup/Zplugs folder and then in zbrush under Zplugin you will see a E panel where each of these plug-ins reside. ***

    Once again a few more very simple workflow Zscripts. These scripts speed up going from the lowest sub D level on your tool to the highest and vise versa.

    1. Max_SubD_Level This script simply when executed automatically goes to the highest sub d level that your current tool has.

    2. Min_SubD_Leve
    l This script simply does the reverse, it automatically goes to the lowest sub d level of your current tool.

    These speed up workflow quite a bit especially when assigned to hotkeys. I use these a lot while modeling especially when I save my tool because I always save at sub D level 1 and then I want to go right back to my highest Sub D level afterwards. And constantly hitting Shift + d over and over to go down to level one and then d over and over to go up and it gets old after awhile. This comes in real handy if you are like me and you manually save your tool every 5 min or so to avoid loosing any work.

    Don't forget if you like them, assign them to hotkeys to really speed things up!
    Attached Files Attached Files
    Last edited by --E--; 10-02-06 at 11:51 PM.

  12. #12
    Senior Member User Gallery
    Join Date
    Aug 2004
    Location
    Dublin, Ireland
    Posts
    204

    Default

    Hi E, thanks for these, but when I copy all the files from each of these zips to my ZStartup\Zplugs dir, including the BumpViewerMaterial.zmt material, every time I run a script I get an error saying "Error has been encountered while trying to load a material. Loading has been aborted". Any ideas why?
    The root of ZStartup\Zplugs dir has the following files:

    alphbmp_2_txtbmp.zsc
    BasicMaterial.ZMT
    bump_map_setup.zsc
    BumpViewerMaterial.zmt
    txtbmp_2_alphbmp.zsc

    Obviously I also still have the BumpViewerMaterial.zmt in the default C:\Program Files\Pixologic\ZBrush2\ZMaterials dir also.

    Sen

  13. #13
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    Hey seanforsyth, sorry you are having troubles with it.

    Normally the only files that go into ZStartup\Zplugs are .zsc files, and ofcourse then sub dir's.


    The .zmt file is actually inside of a "bump_map_setup_data" folder and if you remove it from that folder and place it in the root of ZStartup\Zplugs, then it will not run.
    (Which is a little hard to notice if you use winzip. but if you use the extract feature instead of just clicking and dragging the files out of winzip or if you use winrar to open winzip files. You wont have the problem you are having.)

    So it should go ZStartup\Zplugs with the .zsc script and then

    ZStartup\Zplugs\bump_map_setup_data with the .zmt material.


    All of the files and folders needed to run the script are in the .zip

    let me know if you have any more problems and thanks for trying them out.
    Last edited by --E--; 10-25-06 at 10:15 AM.

  14. #14
    Senior Member User Gallery
    Join Date
    Aug 2004
    Location
    Dublin, Ireland
    Posts
    204

    Default

    Ah, I see where your mistake was now. In making this idiot proof, you obviously thought you'd taken care of everything. But here's the rub, there's always another kind of idiot around the corner, and this time I'M that idiot! I just extracted everything into that dir without using folder names, so the folders never got created. My bad entirely! Thanks for the help, and - more importantly, thanks for the scripts!

    Sen

  15. #15
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    USA
    Age
    30
    Posts
    838

    Default

    !!!!!!!!!!!!!!!!!!I have noticed a few people have been downloading rev C in my previous post. Do not download rev C. it is old. Download the file attached to this post. !!!!!!!!!!!!!!!!!!!!!

    I am updating the "bump_map_setup" script

    the "rev D" changes are:



    • I changed the script to set your DSmooth to "1" so that your artifacts in PM will be minimized.
    • I also added it to load in lights that are better for bump map painting

    ***For some odd reason ZBC isn't letting me edit my previous posts. So here is the updated script until i can change the previous post. ***
    Attached Files Attached Files
    Last edited by --E--; 12-07-06 at 10:20 AM.

Page 1 of 3 123 LastLast

Posting Permissions

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