Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!


Go Back   Simply Maya User Community - Maya Tutorials > Modeling > Modeling
Register FAQ Members List Calendar Mark Forums Read

Reply
 
Thread Tools
Old 12-12-2010, 08:21 PM   #16
David
SM Site Programmer
 
David's Avatar
 
Join Date: Apr 2002
Posts: 2,991
Thanks: 49
Thanked 385 Times in 300 Posts
Default

Moved to modeling

David
__________________
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
Old 04-02-2011, 12:44 AM   #17
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

**UPDATE**


I continued playing with displacement to add the "lego" text on the top of all the pegs and forgot to post the results. I am still figuring out displacement. There is a significant difference in behavior between mental ray and maya materials.

I still do not have a handle on how to displace inward. All my attempts to do so resulted in my entire model being inflated. In the end I just went with a black and grey disp map image and controlled the positive displacement with the alpha gain.

My original plan was to inset part of the label. So I went with the image in the network below and set the alpha gain offset to -.5. The idea was to shift the 0-1 range to -.5 to .5, but I could not get it to work and have to continue experimenting to understand what is going on better. The shader network below has the image that was not working. In the end I just used a black and grey image and a alpha gain of .07 and alpha gain offset of 0.



The resulting render with alpha gain set to 0.07.



Note that rendering with displacement significantly increases render time!
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 04-02-2011 at 01:05 AM.
ctbram is offline   Reply With Quote
Old 04-02-2011, 01:47 AM   #18
bullet1968
Lifetime Member
 
bullet1968's Avatar
 
Join Date: Feb 2010
Location: Australia
Posts: 4,255
Thanks: 158
Thanked 651 Times in 621 Posts
Default

Im watching this ct....interesting. Would it not then be prudent to just use a bump map if the render times are so large??..or are you trying to displace the geo for a reason? close up shots etc?

cheers bullet
__________________
bullet1968

"A Darkness at Sethanon", a book I aspire to model some of the charcters and scenes
bullet1968 is offline   Reply With Quote
Old 04-02-2011, 02:56 AM   #19
ctbram
Moderator
 
ctbram's Avatar
 
Join Date: Jan 2004
Location: Michigan, USA
Posts: 2,995
Thanks: 42
Thanked 582 Times in 532 Posts
Default

Precisely! I use displacement for close ups and for shots where the displaced surfaces would be visible in silhouette. These are the to conditions where bump mapping and normal mapping fail.

You can get some performance gain by using mental ray approximation nodes at render time as they will adjust the tessellation dynamically.

Another option for this problem is to model the text as separate objects using the bevel plus tool but that would add a lot of geometry, especially in the case of legos where there could theoretically be lots of blocks.

This is primarily an exercise to understand displacement mapping. I personally prefer creating the geometry myself. However, I am rarely time constrained on my projects. If the schedule was tight and the additional render time was acceptable displacement is an option.
__________________
"If I have seen further it is by standing on the shoulders of giants." Sir Isaac Newton, 1675

Last edited by ctbram : 04-02-2011 at 04:05 AM.
ctbram is offline   Reply With Quote
Old 04-02-2011, 03:50 AM   #20
bullet1968
Lifetime Member
 
bullet1968's Avatar
 
Join Date: Feb 2010
Location: Australia
Posts: 4,255
Thanks: 158
Thanked 651 Times in 621 Posts
Default

Depending on what you were doing (ie still model/animation) you could forgo the DM and use bump if anything at all? as you would only need the DM on the parts you can see?.same same with the text Rick? working out which pieces that are seen might be a brain buster though LOL especially if it is a disintergrating/reintergrate model...might need a coffee or 3 with that.

cheers bullet
__________________
bullet1968

"A Darkness at Sethanon", a book I aspire to model some of the charcters and scenes
bullet1968 is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.