ZBrushCentral

Maya Displacement Issues (Resolved. See page 3)

You are a freaking genius! Excellent work man!

I saw that rendering update info but didnt make a connection.

I will try it on my 8.5 mesh and report back.

Drat.
I get an error that says: invalid flag or no objects match attribute etc…

I probably have something messed up.
Anyway
here was the 8.5 object rendered back in 8.5 and then how it looked in 2008

I also was having trouble with the colour filter type set to quadratic

in 8.5 leaving it at quadratic didnt matter, but in 2008 I have to have it at OFF or I get seams in the colour map

The other image is the current mesh that had seams-and by rearranging the uvs I was able to reduce them to almost 0

Attachments

maya85ref2a.jpg

blemseam.jpg

Make sure you name your mental ray subdivision approximation node as in this command line (or change the command line)

addAttr -ln “miExportCCMesh” -at bool mentalraySubdivApprox1;

In my case the subdiv. approx. node´s name was mentalraySubdivApprox1

If your node´s name is different then change the command line appropriately

addAttr -ln “miExportCCMesh” -at bool NameOfYourSubdivApproxNode;

I´m sure you get this error message because there´s no node named mentalraySubdivApprox1 in your scene.

Marco

The node is listed as subdivApprox1, just like you typed. Maybe its an underscore problem. Maybe I should check the filter. Either i get the error or I get no error, and I still get the seams.
I click on the model and then type the mel command right?

I also get the error: found no valid items to add the attribute to.

Anyway I want to get it working but its an old model i have to redo anyway. I just dont want seams in any new model. The method I used to get rid of the seams on that other model makes little sense to me.

EDIT: i also get a message warning: the name ‘iExportCCMesh’ of new attribute clashes with an existing attribute of node SubdivApprox1

EDIT 2

It worked!

You deserve an award for that one.

Attachments

hoodmonstersubapproxadjust.jpg

Awesome!
It also worked for my newer model!

Attachments

blemseamvanish.jpg

thanx alot
your the man marco!! It worKs just like charm…
sehr gut!!

Nice to hear it works for you, too. :slight_smile:

I hope Autodesk will fix that (or at least keep the option to use the old way in future versions of Maya)

Marco

nice work! I havent used Maya 2008 yet but I will file this one away in case I have a similar problem! Thanks for posting it!

S

I have updated www.pixologic.com/docs to include this information. Thanks!

Thanks everyone! :smiley:

Thanks for adding this!

@psi0nic_gh0st: Glad to hear it worked for you, too…

Marco

That’s a real gem marcotronic :+1: :+1: :+1:

Thanks for sharing that discovery :slight_smile:

Chris

I am a little fuzzy on how to make this change. Can anyone provide more detailed instructions on how to run this MEL script in Maya 2008?
Thanks!

marcotronic, you´re my man :slight_smile:

Been looking for that solution for quite a while now.

@kaibosh:
There´s really nothing fency about it.
script editor -> paste command “addAttr -ln “miExportCCMesh” -at bool mentalraySubdivApprox1;” ->right click ->execute

Then just render it :wink:

Oh yeah! I got it working! Thanks so much!

But I can’t paste it. I have to type it every time. Is that normal?

Also, do we have to do this for every model and every element of every scene every time? Or is it once per scene?

Can’t we just set Maya to stay like this?

Thanks.

Hey everyone, Ive tried all the workarounds that everyone has posted and im setting everything up as i normally would’ve, but i still cant get my displacement maps to render…they renedr fine in 8.5, but in 2008, they dont render at all!!..any advice??

I’ve tried this script to fix my seams - all that happen is, the render takes ages, and the displacement is screwed up.

Anyone else still having problems/know another fix?

cheers,

gubar

It took a couple of tries even though I had the correct names in the script. For what ever reason after I deleted the aproximation node and then re-added it, the script did exactly what it has for others.

Thanks for taking the time to figure this one out. It’s too bad I already pulled out most of my hair trying to figure this one out. Now I can’t go in public for a few months.

Cheers,
Sky

Attachments

skyasayfarmer.jpg

Wow, looks like Maya 2008 has been nothing but problems for people. I personally still use 8.5 since an upgrade is just too pricey for me. I did want to thank you guys for the great info in this thread. I am working on the Rendering chapter of my book right now so I am running 2008 through the paces.

The funny thing is a friend who sits in the office next to me has been rendering in 2008 with no issues on about three projects now. I asked a couple days ago and he has yet to experience seaming issues no has he changed any settings… weird.

now I have found issues with the 3.1 Dispalcement Exporter when your map contains only high frequency details. For now I have been working this out by just generating maps in 2.0. It will need some attention in the next release. I havent seen anyone else come up against this problem but I have duplicated it a few times.

Other than the changes to the Subdivision approximation I know that people have reported issues with Alpha as Luminance on the file node for the displacement. Any other oddball changes poping up out there?

Scott

Hey all,

just wanted to plug a script and tutorial I made for Maya 2008 rendering.
http://www.zbrushcentral.com/zbc/showthread.php?p=429433#post429433

It will automate the process of fixing all the new “features” in Maya 2008

S

Scott you’re the man, i was about to post something similar. I was having the same problem in Maya but after some trouble shooting i finally got it. Thanks for the script though, Im sure everyone will definitely apprecite it!!