1. #1
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,609

    Default Useful small ZScripts and Macros for ZBrush 4R6

    This thread is intended as repository for useful small zscripts, plugins and macros for ZBrush 4R4/4R5/4R6. It is a continuation of the earlier thread here.

    Sometimes there's a simple zscript solution to a problem or need that may not warrant a major plugin but will none-the-less be useful to users. If you have written such a zscript, plugin or macro please share it here so that users can easily find it and benefit. Thanks!

    **************************************************

    Index
    __________________________________________________

    Split Masked

    Pixols To 3D

    Toggle Trays

    New Document on Startup

    Max Detail for UV map

    Change Default Material

    Hotkeyable Focal Shift & Z Intensity + increment sliders

    Macro on-screen keyboard

    Proportional Subdivision

    LightCap Light On/Off toggle

    Editing a Macro to work with All SubTools

    Nudge (slider values)
    Last edited by marcus_civis; 02-13-14 at 10:01 AM.

  2. #2
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,609

    Default Split Masked macro

    This is a very simple macro but may be useful for those who are using InsertMesh brushes and want to make them into separate subtools. It's a one-click solution to splitting the just-inserted mesh while the main mesh is still masked.

    Copy the file to your ZBrush 4R4/ZStartup/Macros/Misc folder and then press Macro>Reload All Macros. There will then be a new SplitMasked button in the Macro>Misc subpalette.


    Download here: SplitMasked.TXT

  3. #3
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,609

    Default Pixols To 3D

    This plugin will convert a 2.5D canvas into a 3D by displacing a plane. This means that BPR renders can be used and additional detail can be added through subdividing or using HD Geometry. It's a very quick way of starting off an environment.


    For some great images produced using this plugin see Francesco Mai's thread here.

    1. Unzip the zip file to your Desktop then copy the PixolsTo3D.zsc file and the PixolsTo3Ddata folder to your ZStartup/ZPlugs folder.
    2. Restart ZBrush. There should be a new menu in the Texture palette called 'Pixols > 3D'.
    3. Press the 'Convert Pixols to 3D' button to convert the canvas pixols to a 3D plane.
    4. Turn on the Materials option to embed materials in the texture map.
    5. The Scale UVs function can be used with any polymesh to reduce the UVs slightly within the 0-1 UV space. This can be useful to avoid wrapping of points that are on the UV boundary, causing texture issues. (The plugin uses this option automatically.)

    Notes:
    * It works best if there is no 'gradient background' showing, in other words, the canvas is all pixols. The simplest way to work is to fill the layer (Ctrl+F) before painting any pixols.
    * The canvas will be cleared during operation, so save the document first! (There is a warning about this.)
    * The color/materials are limited by the canvas size (the texture that is create is the same size). It is likely that you will see some jagged edges.
    * Larger document sizes will produce better results but the plane will be divided more times (up to what your system can handle) so be careful!
    * This works simply by displacing a plane from the pixol depth data - there are no undercuts!


    Download here: PixolsTo3D.zip

  4. #4
    Senior Member User Gallery
    Join Date
    Apr 2011
    Location
    Italy
    Posts
    136

    Default

    Thank you so much for this script my dear Marcus..I am sure that many skilled old school Zbrushers will show
    us another side of the infinite capability of Zbrush..
    Of course everyone is invited to suggest new things or to improve the script!

    Long life to the Pixol!

  5. #5
    Senior Member User Gallery
    Join Date
    Dec 2010
    Location
    On my boat
    Age
    38
    Posts
    2,584

    Default

    YAY!!!!
    I love you both!
    nope...
    I don't know what I'm doing but I'm doing it anyway.

  6. #6

  7. #7
    Senior Member
    User Gallery
    Join Date
    May 2008
    Location
    Rome/Italy
    Posts
    1,720

    Default

    Genius!

  8. #8
    Senior Member User Gallery
    Join Date
    Feb 2004
    Location
    USA on Planet Earth somewhere in the Universe
    Posts
    1,438

    Default

    marcus_civis the Pixols To 3D is the best plugin for artist sense the PaintStop plugin that Glen and you worked on. This truly is a great addition to Zrush. Pixologic should include this plugin in all future releases.

    I have tried this plugin with alphas and ztools and works great

    See attached images.

    I have only one question and that is is there a way to control the depth of the bas relief the plugin creates.
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	3d.JPG 
Views:	556 
Size:	57.9 KB 
ID:	327817   Click image for larger version. 

Name:	3d1.JPG 
Views:	615 
Size:	126.6 KB 
ID:	327818   Click image for larger version. 

Name:	3d1a.JPG 
Views:	515 
Size:	143.8 KB 
ID:	327819   Click image for larger version. 

Name:	3d2.JPG 
Views:	575 
Size:	66.5 KB 
ID:	327820   Click image for larger version. 

Name:	3d2a.JPG 
Views:	553 
Size:	56.2 KB 
ID:	327821  

    Click image for larger version. 

Name:	3d2b.JPG 
Views:	609 
Size:	71.9 KB 
ID:	327822   Click image for larger version. 

Name:	3d3.JPG 
Views:	716 
Size:	94.8 KB 
ID:	327823   Click image for larger version. 

Name:	3d3a.JPG 
Views:	512 
Size:	66.8 KB 
ID:	327824  
    SpaceMan's Space Book Journal On ZBrush
    http://www.zbrushcentral.com/showthr...rnal-On-ZBrush

    Wormholes were first introduced to the public over a century ago in a book written by an Oxford mathematician. Perhaps realizing that adults might frown on the idea of multiply connected spaces, he wrote the book under a pseudonym and wrote it for children. His name was Charles Dodgson, his pseudonym was Lewis Carroll, and the book was Through The Looking Glass. ***8212; Michio Kaku

    It's kind of fun to do the impossible...
    - Walt Disney

  9. #9
    Senior Member User Gallery
    Join Date
    Nov 2011
    Location
    Austria
    Posts
    230

    Default

    This plugin is amazing. Thank you Marcus, well done.

  10. #10
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,609

    Default

    Thanks guys, I'm glad you like it.

    Quote Originally Posted by SpaceMan View Post
    I have only one question and that is is there a way to control the depth of the bas relief the plugin creates.
    SpaceMan,
    You can adjust the depth if you want like this:

    1. After the plugin has finished, undo once (Ctrl+Z) to remove the displacement.
    2. In the Tool>Displacement Map menu, turn on Mode.
    3. Adjust the Tool>Displacement Map>Intensity slider to get the effect you want. (It's probably a good idea to note down the setting before adjusting as only a small adjustment will be necessary.)
    4. Press Tool>Displacement Map>ApplyDispMap.

    Note that as the plane has several millions of polygons ZBrush may take some seconds to adjust the displacement.

    HTH,

  11. #11
    Senior Member
    User Gallery
    Join Date
    Apr 2007
    Location
    Boston MA USA
    Posts
    4,032

    Default

    A long time coming...Way overdue, and.... Fantastic....Thanks Guys ....Let The Good Times Roll...

    Glenn

  12. #12
    Senior Member User Gallery
    Join Date
    Dec 2010
    Location
    On my boat
    Age
    38
    Posts
    2,584

    Default Polypaint and materials

    If anyone has trouble polypainting or changing materials on these objects, all you need to do is got into the Texture Map pallet under Tools and hit the Texture OFF button.
    It took me awhile to realize what was happening.
    nope...
    I don't know what I'm doing but I'm doing it anyway.

  13. #13
    Senior Member User Gallery
    Join Date
    Jul 2011
    Location
    Wisconsin
    Posts
    137

    Default

    hello this sounds very interesting, I installed the plugin and its saying my that I need to update the plugin because my zbrush is 4.42 anyone else get this error?
    thanks

  14. #14
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    8,609

    Default

    Quote Originally Posted by idlemind View Post
    hello this sounds very interesting, I installed the plugin and its saying my that I need to update the plugin because my zbrush is 4.42 anyone else get this error?
    thanks
    It sounds as though you need to update your version of ZBrush 4R4 to P2. See here for instructions:
    http://www.zbrushcentral.com/showthr...h-4R4-Update-2

  15. #15
    Senior Member
    User Gallery
    Join Date
    Nov 2008
    Location
    At the end of Time in Space
    Age
    67
    Posts
    1,785

    Default

    I have been able to make some really nice pieces 0f work with your plugin, all I can say is A great big Thank You !... Deke
    ...email me
    ...on facebook
    " Life is the art of drawing without an eraser "


Page 1 of 4 1234 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
  •