SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Lounges / Maya Basics & Newbie Lounge / Displacement_Map_Render
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 14-03-2017, 03:21 AM   #1
Bcurless
Registered User
 
Join Date: Mar 2017
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Default Displacement_Map_Render

I am getting a strange result when applying a displacement map made in Mudbox to an object in Maya. All the sides of the object
pop off. Please see 3 pics attached. Any ideas would be great, I am a newbie, thanks.

Brandon C.
Attached Thumbnails
Click image for larger version

Name:	Network.png
Views:	5
Size:	68.5 KB
ID:	57485  
Attached Images
File Type: jpg D_map_00000.jpg (261.1 KB, 8 views)
File Type: jpg B_Geo_&_Map.jpg (344.8 KB, 8 views)

Last edited by Bcurless : 14-03-2017 at 03:27 AM. Reason: Changing pics attached
Bcurless is offline   Reply With Quote
Old 14-03-2017, 09:51 AM   #2
Jay
Lead Modeler - Framestore
 
Jay's Avatar
 
Join Date: Feb 2003
Location: UK
Posts: 6,276
Thanks: 41
Thanked 428 Times in 384 Posts
Default

Hi Bcurless

displacement maps are always a bit of an entity in themselves but the other issue people always seem to forget about is the actual geometry itself that the map is being applied to.

I'm sure you dont need telling this but firstly check that all the geometry is intact and the edges/verts are all merged together as expected.

But secondly and very importantly, is to make sure the mesh is updated with the one you did your sculpt on, and also make sure you have one or two levels of subdivision to support the displacement map itself. People always seem to forget about the geometry update. You are sculpting and changing the geometry so its important that it gets updated in maya too. So export a level one or level 2 subdivision from mudbox. At the moment the base mesh has nothing to support the displacement. Gone are the days where we worry about poly count as much, obviously how many polys is always down to how good hardware is but for the most part, one or two divisions up from the base mesh will not hurt.

Also with regards to the map is it a 32bit?

hope this helps

Jay
Jay is offline   Reply With Quote
The Following User Says Thank You to Jay For This Useful Post:
Bcurless (01-04-2017)
Old 17-03-2017, 05:01 AM   #3
Bcurless
Registered User
 
Join Date: Mar 2017
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Default Displacement_Map_Render

Hi Jay sorry for late reply. I usually get an email when someone replies, but not this time for some reason. Thanks for your advice! It holds together a lot better when I import the geo from Mudbox! Here is a pic I rendered with Mental Ray. It's I think a little blurry and something is still kinda funky with the edges though. I probably need to learn more about the M.R. Approximation Editor. If you have any further advice let me know please. Thanks again! This was causing me a huge frustration!

Brandon C.
Attached Images
File Type: jpg Mudbox.jpg (431.2 KB, 7 views)
File Type: jpg Texture1.jpg (199.0 KB, 7 views)
Bcurless is offline   Reply With Quote
Old 17-03-2017, 10:25 AM   #4
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,038
Thanks: 50
Thanked 390 Times in 305 Posts
Default

Hey Brandon i did a tut on the MR approx editor a few years back might help https://www.youtube.com/watch?v=R1hWksl8GB0

I take it your disp map is set to raw and not srgb? easy thing to forget!
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
The Following User Says Thank You to David For This Useful Post:
Bcurless (01-04-2017)
Old 18-03-2017, 07:45 PM   #5
Jay
Lead Modeler - Framestore
 
Jay's Avatar
 
Join Date: Feb 2003
Location: UK
Posts: 6,276
Thanks: 41
Thanked 428 Times in 384 Posts
Default

Yeah its worth checking out the MR tute that David has posted here too

Jay
Jay is offline   Reply With Quote
The Following User Says Thank You to Jay For This Useful Post:
Bcurless (01-04-2017)
Old 01-04-2017, 06:42 PM   #6
Bcurless
Registered User
 
Join Date: Mar 2017
Posts: 6
Thanks: 3
Thanked 0 Times in 0 Posts
Default

Sorry for late reply again. Thank you David for the MR video link! Still not sure
about how to set disp map to raw and not srgb. I'll have to do some research on it. Thanks again!

Brandon C.
Bcurless is offline   Reply With Quote
Old 01-04-2017, 07:01 PM   #7
Jay
Lead Modeler - Framestore
 
Jay's Avatar
 
Join Date: Feb 2003
Location: UK
Posts: 6,276
Thanks: 41
Thanked 428 Times in 384 Posts
Default

why do you need raw?

If you are looking for extra detail from the sculpt, just export the map as a 32bt exr float. You wont get any better. Its a case of tweaking settings after that
Jay is offline   Reply With Quote
Old 01-04-2017, 10:08 PM   #8
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 3,038
Thanks: 50
Thanked 390 Times in 305 Posts
Default

He's looking for the color correction in mental ray I should think mate.

@Brandon it's under the file attributes (of the texture) in the attribute editor -> color space.

Needs to be set to raw to take advantage of the 32 bit map as it will have been saved out without correction you don't want MR adding gamma to your displacement or your bump / normal. if you saved out a 16 / 32 bit image. The correction upsets the black white balance on the image hence the need to turn it off.

Color correction in Maya is now on by default so it will gamma correct 16 / 32 bit images by default. Used to be to the other way round. If your using a version below 2014 or maybe 2015 i forget then you won't need to do it you'll just run in to the problem in reverse.

Dave
__________________
Worst Response To A Crisis:
From a readers' Q and A column in TV GUIDE: "If we get involved in a nuclear war, would the electromagnetic pulses from exploding bombs damage my videotapes?"
David is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.