ZBrushCentral

Introducing the new Zbrush to Maya bridge mel script

OK - some success.

I would appreciate a small tut explaining what to do step by step - more detail. I understand I can alter the inputs and depending on my settings from Zbrush I will get something different.

So perhaps a sample file for us to compare apples and apples. The goal is to provide a file(s) for everyone to test and get same/similar results and then deviate to heart’s desire.

This is promising, but I seem to be missing something and I think it would help a lot of people to have instruction from Zbrush right through the process.

Hats off to the script guru.

put the script in your C:…maya\6.0\scripts directory and in Maya type ` to get to the command prompt, then just type in the name of the script. ‘zatt6’ for example.

I get an error messege if i type `
so i just used ye olde fashond run> cmd
get the C:\Documents and Settings\My Documents\maya\scripts
type: zatt6
and nothing happens…not sure what’s wrong?
by the way, i copied the zatt6.mel in every maya script folder i could find.

a spep by step would be great, from install to running the script.
Thanks!
:slight_smile:

In general, standalone mel scripts need to

  1. be copied into your scripts" folder (I.e. “\maya\6.0\scripts”)

  2. be sourced from within maya. To source a script you can either type “source zatt6” in a command prompt (from within maya) or bring up the maya script editor (window\general editors\script editor) and click on “File”, then on “source script”, and then select the script.

  3. finally, at this point you should be able to type the script name in any command window (within maya) and it should execute the program.

Note: Every time you bring up Maya you need to do steps 2 and 3, so usually I create a button by draggin the following code to my shelf:

“source <name of whatever mel script goes here>;”
“<name of that same script>”

I.e.:

source zatt6;
zatt6;

Note: I noticed that for the most part the presets work with the default values, but if you want to use yourown settings, dissabled the checkboxes (Good and gootter), next time you run the script it shoudl remember the values you typed in.

Hmm, weird nobody else notices this but the script does not create displacements but some kind of bumpmap. I’m only know the basics about maya and I can’t figure out what the shader does exactly, but it sure doesn’t look like displacements to me. Look at the silhouette of you object, it’s as smooth as a baby’s bottom :slight_smile:

you need to adjust your alpha gain to use this properly.

maybe I’m stupid but even when I set the alpha gain to a silly amounts I get no displacements at all. Just very high bumps.

You can also see this in the sword images Glickerish posted. On first sight you might think it’s displecament, but when you look closely its clearly just a bumpmap.

I atached an image to illustrate the difference between displacements and the result I get with the Zatt script more clearly.

comp_displace.jpg

email me the file and the displacement image to
[email protected]

put zbrush 3D as the subject so it doesnt go to spam folder

very cool miguel! i just looked at this thing and it is intense. will test it out soon.

jimmy - if your reading this - damn! :eek: thats one intense script. now get your butt back to gnomon! we need more of this!!

r

the mel works fine regarding hte approximation
but i guess its missing something , or I am
cause here is the result i got with the head from this thread
Rendering ZBrush Displacement-Maps In External Renderers
it looked like a bump map

zatt03 copy.jpg

yes, i got the same result as ashaiad vbmenu_register(“postmenu_179215”, true); .:qu:

thanks to Miguel Ortega
here is my work flow
first get the image from zbrush , open it in photoshop , then image auto contrast
open maya
get the obj file , run the script choose the image
disable the bump map
and it should be fine
im in the prosess of writing a tutorial on maya and zbrush
also check my latest render tests in the thread
rendering in diffrent engine
good luck and thanks
Ash
http://www.pixelcg.com/tutorials/Maya_Zbrush.html

heady.jpg

Hi I was looking for a plugin that would allow my to export my model as a obj for maya 6.

does anyone know where someone finds this?

thanks heaps

you dont need a plugin zbrush already does that…

and if you mean to export from MAYA then just select the obj exporter plugin from your plugins preferences folder, its already there as well.

belated thanks.

thanks, new version with much imporvements coming soon. things ive learned in the past few months of using zbrush in a production enviroment

using zatt6,amd,thank you thank you
Dismapsucess1.jpg

yahhh,baby steps

Quick question - Will the “old” ZB toMaya bridge mel script work in Maya 6.5?
Will the “mew” ZB toMaya bridge mel script work in Maya 6.5?

thanks,
-R

edit - i re-downloaded the script and it worked…

Hello.

I’ve download the script and i’m able to run it in maya 6.0.

I download the sword obj and displacement tif from zbrush’s site.

I bring the tif into Photoshop, auto contrast, run zatt6, render with mr and get the results you see in the attached images. ?

any ideas from anyone why?

tia!

Attachments

1.jpg

2.jpg

Looks like your displacement map is flipped vertically.