PDA

View Full Version : Maya & zbrush displace ( Urgent)


living_for_cg
07-18-2008, 08:17 PM
hi all.
i just came across a problem while working with zb and maya displacement.
here is an image which explanes the problem.
i have seen the scott spencer tutorial on using dissplacements but this problem occures only when im working on a thik object...like a thin box. Its ok fore heads and bodies etc.

there is some annoying bumps in corners and sides when i render my dis in maya. i have tested so many settings in zb dissplace exporter but doesnt work.
i also tested the Adaptive On. It solves the problem but adds some extra lines in sides...i will post more images tomorrow.
this problem occures only when im working on a thik object...like a thin box. Its ok fore heads and bodies etc.

hakanpersson
07-18-2008, 11:00 PM
Did you import the meshes from zb before rendereing, or just a displacement along with the original mesh? You should grab the one from zb, since its softened after being tesselated by zb.

In case you already knew all that, this script is from Scott Spencer aswell, to solve issued with maya 2008 (or mental ray 3.6 more like it) and the cmc tesselation method. Havent tried if it, but thats basically what everyone recommends whenever somethings doesnt render accurate.


//COPY THE SCRIPT FROM HERE
// mental ray Subdivision Approximation script
// by scott spencer
//scott@scottspencer.com (http://forums.cgsociety.org/)
//converts all subdivision approximation nodes in the scene from CCMesh to subdivision surface as well as sets the option
// to use maya style alpha detection
optionVar -iv "miUseMayaAlphaDetection" 1 -sv 1 1; //sets maya style alpha detection - mthe same as
// checking the Alpha is Luminance box in the file node but this works for all displacements in the scene
string $selected[] = `ls -type mentalraySubdivApprox`; // selects each subdivision approximation node in the scene and adds to an arry
int $size = `size ($selected)`; // creates the counter variable
for ($a=0;$a<$size;$a++) //increments thru the array
{//beginning of loop
string $name = $selected[$a]; // this variable accesses each element of select using $a as an index
addAttr -ln "miExportCCMesh" -at bool $selected[$a];
}
//END OF SCRIPT

living_for_cg
07-19-2008, 04:21 AM
hakanpersson >>> yes i did all these things. As i said i have used Scott Spencers tutorial.It only occures when im working with a thin object.

CGTalk Moderation
07-19-2008, 04:21 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.