1. #1
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,670

    Default New ZPlugins : SubDStroke & Mask2Group

    SubDS_grab.jpg


    SubDStroke provides an easy way to partially subdivide a model.

    Partial subdivision can be useful if you want to add detail to some parts of your model while keeping the overall poly count low.


    Press the button immediately after drawing a stroke on a polymesh in Edit mode and the stroke will be subdivided. Pressing the button again will further subdivide the stroke.

    If Ctrl+drag was used to paint a masking stroke then the whole masked area (including any previous masking strokes) will be subdivided. Only one level of subdivision is possible with this method.

    Note: the SubDStroke button must be pressed IMMEDIATELY after making a stroke. If the model has been rotated, scaled or moved the subdivision will not work. (This is because ZBrush regards any mouse movement on the canvas as a stroke.)


    SHIFT-click the SubDStroke button to UNDO the partial subdivision. This must be done before the model has been modified further.


    INSTALLATION

    Unzip the zip file to your ZStartup\ZPlugs folder ..\ZBrush2\ZStartUp\ZPlugs). The plugin file SubDStroke.zsc and the folder SubD_data should both be in the main ZPlugs folder. You may need to create the ZPlugs folder if you have a new installation of ZBrush.

    Restart ZBrush. You should now have a SubDStroke button in the MarcusTools subpalette of the ZPlugin palette. You may Ctrl+drag the button to a suitable place on your interface and save the position by storing the UI configuration (Ctrl+Shift+I).

    Updated August 18 2005
    Again ... I hope I have now fixed the feature whereby some strokes were not being subdivided. You should be able to use any sort of stroke, including ones modified by Ctrl, Shift or Alt.


    Mask2Group plugin added
    Lemonnado suggested that a button to make a polygroup of a masked area would be useful, so I have added a plugin for that too. Just unzip to your ZPlugs folder as above. Press the button after masking part of a polymesh and the masked area will be made into a group.


    I hope you find SubDStroke & Mask2Group useful.
    Attached Files Attached Files
    Last edited by marcus_civis; 08-18-05 at 09:46 AM. Reason: Mask2Group plugin added

  2. #2
    New Member User Gallery
    Join Date
    Apr 2004
    Location
    Athens/Greece
    Posts
    7

    Default

    WOW! That looks really cool and usefull.

  3. #3
    Senior Member User Gallery
    Join Date
    Nov 2004
    Posts
    222

    Default

    Pretty Cool ... Thanx Marcus.

    Dan

  4. #4
    Senior Member User Gallery
    Join Date
    Nov 2004
    Location
    Ohio
    Posts
    1,774

    Default

    Thanks for the plugin Marcus. I think what you've come up with is probably a good way to implement it given what z-brush exposes. Your timing is good too, because I'm starting to get a better feel for zb modelling and use it more.
    Long dead links removed...

  5. #5
    Senior Member User Gallery
    Join Date
    Apr 2001
    Location
    In the Ozone
    Posts
    2,280

    Default

    Really Slick Great little tool, thanks buddy this should make alot of people happy.

  6. #6
    Senior Member User Gallery
    Join Date
    Nov 2004
    Posts
    222

    Default

    Hmmm it installed fine ... and i followed the directions (i was using a poly 3d sphere) and I stroke the sphere ... I immed. hit the button .... I get a subdived completed messege but all that happens is that my stroke goes away like it was erased

    Did i find a bug ?

    Dan

  7. #7
    Senior Member User Gallery
    Join Date
    Dec 2003
    Location
    Chicago
    Posts
    5,537

    Default

    hey dan, not sure as I haven't tested it yet but you might have to turn your primitive into a polymesh first.

  8. #8
    Senior Member User Gallery
    Join Date
    Nov 2004
    Posts
    222

    Default

    Quote Originally Posted by aminuts
    hey dan, not sure as I haven't tested it yet but you might have to turn your primitive into a polymesh first.
    Thnx for the reply ... Yea i did ... the plug actually gives ya a messege if its not a poly mesh (I did try it as a primitive 1st) ... so i converted to polymesh and gave it a whirl so far it just erases my stoke ... not sure if im doing something wrong or if its one of those case specific bug kinda things

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

    Default

    Looks like another great plugin here...


  10. #10
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,670

    Default

    Thanks for the comments guys, much appreciated.

    Dan,
    I'm sorry it's not working for you. I need to find out exactly what's happening to see the problem so would you record a short zscript and send it to me (at the email address in the readme file)? Just load up a polymesh and make a stroke on it; that should be enough. Also, are you on PC or Mac?

    Many thanks.

  11. #11
    Senior Member User Gallery
    Join Date
    Apr 2001
    Location
    In the Ozone
    Posts
    2,280

    Default

    Same thing happened to me, I draw a stroke, press the button and nothing happens.

    I then tried Control Key Dragging a mask of my model which did work. I then tried brushing a mask on with the Control Key down and as I figured that worked as well.

    So... I don't know if it is by design or not but it looks like the trick is to create a mask of the area you want to subdivide and then everything smells like roses.

    Thanks again Marcus

  12. #12
    Moderator User Gallery
    Join Date
    Jun 2004
    Location
    UK
    Posts
    7,670

    Default

    Hmm, you should be able to use either method. But Ctrl+dragging a mask is subdivided by the script in a different way (and obviously a more reliable one).

    I can't actually reproduce the problem which doesn't help finding a solution.
    I am taking another look at the script though and tightening things here and there so hopefully I shall solve it.

  13. #13
    Senior Member User Gallery
    Join Date
    Nov 2004
    Posts
    222

    Default

    Quote Originally Posted by marcus_civis

    Dan,
    I'm sorry it's not working for you. I need to find out exactly what's happening to see the problem so would you record a short zscript and send it to me (at the email address in the readme file)? Just load up a polymesh and make a stroke on it; that should be enough. Also, are you on PC or Mac?

    Many thanks.
    Will do .... im at work right now but will do it when i get home

  14. #14
    Senior Member User Gallery
    Join Date
    Nov 2004
    Posts
    222

    Default

    Hi Marcus,

    Here is the script showing the "erase behavior".

    The tool is in the folder as well (just a poly 3D sphere)

    Dan
    Attached Files Attached Files

  15. #15
    New Member User Gallery
    Join Date
    Dec 2004
    Posts
    9

    Default

    Any idea why I'm not getting a "SubD Data" folder to unzip?

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
  •