ZBrushCentral

(new) Flat Canvas plug-in, for use with PM

Paints the Flat Color Material to the entire Canvas.

Designed to be used with Projection Master with shaded option enabled.
After you Drop your object, use Flat Canvas to remove any self-shading.

:+1: includes source script code.

FlatCanvas.zip - ver 1.02

I’ll eventually give it a permanent home on my homepage, for now, use this thread.

Questions or comments, email me at: [email protected]
Or add to this thread.

Thanks for sharing the zscript. This is one I’ll use a lot!

Thank you!

If this script dose what I think it dose, you are my Saviour!

I must test this :slight_smile: thanks :slight_smile:

EDIT:

I tested it, and it dose do what I think it dose!!!

You totally rock! Thanks M8!

How totally cool!

:slight_smile:
:+1: :+1: :+1: :+1: :+1: :+1: +

Thank you very much!

Game Master 770 , forgive my ignorance - I’m not sure I follow exactly for what context one would find your script beneficial.

For myself and perhaps others could you describe a working scenario that this script would be used and how it is an improvement on the current funtionality?

Also I’m presuming it’s for V2 and not 1.55b?

With thanks

Boozy

Glad you like it guys. All I can say is, why didn’t anybody make it before me?
Shaded painting is so cool since Texture Master first introduced it in earlier versions of Z-brush

For those who don’t understand why i made FlatCanvas, I’ll explain the need. Also if somebody wants a version for 1.5, just let me know, but if you don’t have z2, you should go get it!!

Texture Master is an earlier version of the new and improved Projection Master.
Color-wise, there are 2 modes to paint your models with these awesome tools.
Plain Color/material or full shaded color which features shadows, highlights, and more.
this post
This link shows someone who had shading on, without using it properly.
To use shaded option properly, you must flaten the canvas after dropping your object.
If you don’t you can get some screwy looking edges, and discoloration, all caused by self-shading.
But if you flaten it 1st, it works perfectly. the tutorals with both tools demonstrate this need to flatten the canvas 1st. In order to flatten the canvas it takes several steps, listed in the above post.
If you want to do it alot (over & over), it can become quite a hassle, from chaging your tool settings. So I shortend the whole process into 1 button/ or hot key, and even re-stored the users’ tool settings. Basicly it’s 5+ steps before, now it’s just 1.
Some people like shaded painting, some don’t, some don’t know how to use it right and some just don’t want the hassle. I was the last, hated the hassle. I love shaded painting though, and this limitation was driving me nuts. Something about the latest release of zbrush has me totally addicted, just like the promos say. I also wanted to take a shot at it’s simple, yet cryptic scripting language. So here it is, my 1st useful plug-in for zbrush. I can also turn it into an old fashioned script, only 1 line is specific to version 2, as far as I can tell, the button declaration.
In version 2 it’s better since multiple plug-ins can be installed at once, there fore you don’t need to switch back and forth to use 2 different scripts. In this case PM and FlatCanvas. Each is assigned a hotkey, so you can jump back and forth.

**Demonstartion on how to use it, in Z2.
Create any 3d mesh, lets say a sphere.
Drop it into PM, with shading on.
Pick up the object without making changes.

  • instead of it being the same, you get wacky edges, caused by self-shading.

Do the same thing, but flatten your canvas 1st. You will see that no change happened. just what we want.

Shaded painting after you flaten is simple, just draw more 3d objects on your main dropped object. When you pick up, all 3d objects you added will be baked into your texture map, complete with lighting, and possibly other things like fibers, shadows, or whatever.

Game Master 770 , your further info is much appreciated - I was confused by your first explanation as I’ve always had the mental working image that the object itself was first painted over by the flat color material in it’s facing position before shaded rgb was picked up. I was not familiar with the concept of flattening the canvas. :+1:

HIya! here is a

REQUEST:

Please make so user can customize keys :slight_smile:

F and f are both taken for view polymesh, I use those keys all the time while modeling.

I did further testing , It works great for what it was intended for… but when I switch over to modeling I am constantly hitting this key (F&f) to view the wireframe.

Thanks for all your efforts , this was a very nice and selfless thing to do for us all :slight_smile:

Outstanding! I didn’t even know how to correctly use the Shaded option. Sure opens up a whole new world. A big huge thanks :+1: :+1: :+1:

The online keyboard shortcut list is out dated. I want a key next to ā€˜G’, without using combo keys, or overriding another key. (if possible) Any suggestions?
I’m thinking of ā€˜B’, since ā€˜H’ seems taken by something, I don’t what. What do you guys suggest? For now it’s ā€˜B’.

I posted the txt script, so you can make it what-ever key you want or turn it into a 1.5 version (not tested, and I don’t have 1.5 instaled anymore)

So the original link now has the updated version, with source and new hotkey.

This script was soo needed, shaded painting is so cool, but gets over-shadowed by the odd prepwork needed.


btw, to any script writers out there, I’ll have a zb script syntax file for Textpad up shortly. if you haven’t heard of Textpad, and you use Notepad instead, time to take a look. It’s free shareware, and has support for many languages, and will syntax highlight them. You can also open up several files at once, and many other cool things.
I’m breaking up the commands into upto 7 catagories, each with it’s own color. In the process, I’ll have an updated catagory list for the commands. You’ll recognize what’s going on byt the colors. :smiley:

Indeed!

i am constantly ā€œOver bakeingā€ my models…

this is going to be a great help to me…

Thanks again for makeing this :slight_smile:

1 more update. i used the IFreeze command to prevent the mouse from moving, after hitting the hotkey. Iceing on the cake. :slight_smile: now it’s version 1.01

There is a pdf with the new hotkeys within the folder you have installed Z2.
Filename: ZBRushHotkey.pdf

cameyo

awesome, thanks for the info. looks like ā€˜B’ is a good hotkey.

Has anyone used FlatCanvas yet?

Sven

I tried it quickly last night or was that this morning. I like it so far but am hoping that tonight to experiment some more.

thanks for the script Game Master.

thanks a million, many times I have been vexed with unexpected shading, and I definately never knew about flattening the canvas

I discovered another use for my plug. If you want to use a background as a template for a transparent object, you can flaten it, so only your forground object receives shading. see this post on X-ray mode
,decribing using a texture map, and filling the canvas with texture map in flat shader.
With FlatCanvas, this can be done at any stage.including existing layers.

Hey GM,

Check your Private Mail…

Sven

Thanks, Svengali, for finding that bug with deformation on. It’s fixed and updated.

best part, he provided detailed info on the problem.

It would not be possible to create something like this for version 1.55b. The reason is that 1.55b can only run one ZScript at a time. If you were running TextureMaster, you would have to drop the model and load the flatten script – but then you would have to reload TextureMaster before you could pick the model up again, at which point it will no longer know that a model has been dropped.

Z2 introduced plugins in part so that multiple scripts could be run at the same time. Also, since plugins can embed buttons within the interface, it is not necessary to switch back and forth between scripts.