1. #1
    Senior Member User Gallery
    Join Date
    Jan 2003
    Location
    NYC
    Posts
    1,626

    Default PolyPainting Plugin – custom button set for ZB3

    PolyPainting splash.jpg

    What is the PolyPainting custom Button Set?

    In ZBrush3 you can no longer paint directly onto texture maps (unless you use Projection master).

    Instead, you must paint directly onto the polymesh. The more subdivided the polymesh is, the better resolution and detail in your painting. At some point you will want to transfer your polypainting to a texture map to be exported along with your model (an .obj file.) This PolyPainting button set is designed to simplify and streamline this whole process.

    Generally, the button workflow is this:

    Assume you have loaded a model with GUV mapping (or imported a pre-UV-wrapped .obj file) and you want to paint on your model. It should be in edit mode. You may also have imported a texture map which should be selected. If not, you can create one and make sure that is selected. The New Map button lets you quickly create one if you need to offering three different sizes.

    The Five buttons are used in this order:

    1. New Map = If your model doesn't already have one create a texture map and assign it to your model.

    2. SaveUV = This critical step creates a temporary .obj file at lowest subD level which preserves your UV mapping, then creates a Morph Target also at lowest subD level and identifies the texture map with the model. You will always be asked if you want the existing texture map colors to be copied over to initialize the PolyMesh - if so press yes. Also, remember you should already have subdivided to the highest possible polymesh resolution BEFORE you agree to copy your texture map to the polymesh - this lets you start with a polymesh version that's as sharp as your original imported texture map!

    3. HideMap = Press this button to start or to continue with the polypaint process. The Texture Map is deselected revealing the polygons. It also selects the highest subD level, selects colorize and disables UVs. At this point you may choose to subdivide your model several more times to enhance the polymesh detail. Now you begin polypainting on the model in Draw>Rgb mode using different alpha brushes and optionally, painting with other textures. Avoid modifying your model's surface (Draw>ZAdd should remain off.) When finished painting, move on to step 4.

    4. ShowMap = This reselects and displays your map, then changes your model to its lowest subD level. The original UVs are recovered from the stored.obj file and re-applied to your model which is then again set to the highest subD level. With the texture map reloaded it may look like your polypainting is gone... but it's all still there, underneath.

    5. PolyPaint to TexMap = Reselects DRAW:Rgb and sets Rgb Intensity to 100%, and transfers the polypainting from your polymesh up onto your texture map.

    At this point you simply repeat steps 3, 4, 5 - painting and enhancing your RGB polypainted model, reloading your texture map, then updating it as often as you want.

    Used together this button set will hide from view all the repetitive pressing of buttons and settings of slider values so you can focus on poly-painting your model and transferring it to the texture map for eventual export.

    Installing the PolyPainting Plugin

    Unzip the PolyPainting.zsc file into your ZStartup\ZPlugs folder. The next time you start up ZBrush3 you will find a new subgroup titled PolyPainting, in the TEXTURE Menu which contains the buttons as shown above. The question mark is a help button which pops up the same info outlined above.

    The PolyPainting Button Set is free for distribution to the ZBrush community. Please post any bug reports or helpful suggestions to the ZBCentral Forum.

    Thanks! - Svengali, August 2007

    [Updated August 14th - to include option under the saveUV button that copies the map colors to the polymesh, as suggested by EddyLoonstijn )
    Attached Files Attached Files
    Last edited by Svengali; 08-19-07 at 04:41 PM. Reason: updated the plugin to allow copying of map to polymesh.

  2. #2
    Senior Member User Gallery
    Join Date
    Apr 2006
    Location
    White Beach, Spain
    Posts
    132

    Default

    this is great!!! thanks

  3. #3
    Senior Member User Gallery
    Join Date
    Apr 2004
    Location
    USA
    Age
    37
    Posts
    5,385

    Default

    Much appriciated! It's going to be a very cool and handy tool ! But can't find the download for it just yet.
    Last edited by SolidSnakexxx; 08-06-07 at 09:46 AM.

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

    Default

    Apologies, (wearing my moderator's hat) I had to temporarily remove the file. It will be back up very soon.

    EDIT: Back up there, sorry for the delay.
    Last edited by marcus_civis; 08-06-07 at 10:05 AM.

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

    Default

    Looks like this'll be a GREAT plugin Sven

    Look forward to this one

    Chris


  6. #6
    Senior Member User Gallery
    Join Date
    May 2007
    Posts
    106

    Default

    Hi Marcus,


    Thanks in advance man. I am new to ZB and need all the help I can get :-)

    Cheers,

    yvan_c

  7. #7
    Senior Member User Gallery
    Join Date
    May 2007
    Posts
    106

    Default

    Sorry about my previous post. I meant to say was "Thank you Sven".

    Regards,
    yvan_c

  8. #8
    Senior Member User Gallery
    Join Date
    May 2007
    Posts
    309

    Default

    This looks awesome, Svengali!

    I'm hoping this 'temp .obj' file process will correct the corrupting of UVs I
    seem to be continually getting once I re-import my low-poly .obj back into
    XSI. Great work, and thank you!


    WailingMonkey

  9. #9
    Senior Member User Gallery
    Join Date
    Jan 2003
    Location
    NYC
    Posts
    1,626

    Default

    Marcus, thanks very much for your help reposting the script. (it does get complicated, doesn't it? ).

    To everyone else who might download: This first release of the PolyPainting button set is subject to updating, depending on the feedback I get. In my own tests it seems to work fine, however I know there are some situations I couldn't test (particularly exporting the model with the newly created texture map.)

    Test it carefully and let me know of any problems. Thanks, Sven

  10. #10
    Senior Member User Gallery
    Join Date
    Apr 2004
    Location
    Essex UK
    Age
    44
    Posts
    1,031

    Default

    Another genius but simple plugin...

    Thank you Sven...


  11. #11
    Senior Member User Gallery
    Join Date
    Oct 2005
    Location
    The Netherlands
    Posts
    1,411

    Default

    You Plugin Masters are making our lives easier with every addition. Thanks Svengali, this will come in handy!
    Elfquest Sculpting Odyssee
    The continuing diary of my first sculpt

    The Topology and Flow Lab
    Everything you need to know about topology (and more)

  12. #12
    Senior Member User Gallery
    Join Date
    Mar 2006
    Location
    Korea
    Posts
    398

    Default

    Thank you! Nice Plugin

    UV coordinated Multi Model...
    1. Texeture:UV Check
    2. Polypainting:SaveUV
    Testing OK!!!

  13. #13
    Senior Member User Gallery
    Join Date
    Apr 2006
    Location
    Luzern_Switzerland
    Age
    49
    Posts
    391

    Default

    Cool Plugin, Svengali

    Thanks for your hard work and for sharing.

    Greets

    Roland

  14. #14
    Senior Member User Gallery
    Join Date
    Jun 2001
    Location
    Venezuela
    Age
    64
    Posts
    6,466

    Default

    Thanks Sven

    Andreseloy

  15. #15
    Senior Member User Gallery
    Join Date
    Jan 2005
    Location
    Zurich
    Posts
    772

    Default

    hi Sven, thanks a lot. Will use it, have tested it and its a nice workflow improvement.

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
  •