SimplyMaya Forums

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

Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 06-06-2005, 07:10 PM   #1
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default Displacement Maps

So I've been making Legos. Mostly because I like them, but also because they're a precise mathematical relationship to each other (as near as I can measure them, anyways). I've managed to amass a small library, and it's growing.
Then I realized I hadn't mapped the word "LEGO" Onto the tops of the bricks. I'm currently using a displacement map from a file that covers the lego brick (for all of my pieces, I made sure that the circle was in the same location). The problem I'm getting, though, is that the word isn't as smooth as I'd like. It's occasionally triangulated, and is 'ripply', that is, it has slight vertical waves on it. (Picture attached).
Also, I didn't build all the 'composite' bricks - that is, I built, say, a 1x1 normal brick, one end (1x1) of a long brick and a middle piece (1x1), etcetera. The upshot of this is that if I (when, eventually) get around to writing a script, all I have to do is have the component parts, and the script combines them for me (this means I save on file size, and number of files, too. Besides allowing virtually any size of piece). Unfortunately, this also means that I either would have to build an 'opposite' piece for the ends (and corners, etc.), or have to figure out another way to use the maps (what about UV sets? Could I somehow use those?).

Any ideas?
Any help would be appreciated, although I'm likely to figure it out eventually..... (well, maybe).
Attached Thumbnails
Click image for larger version

Name:	displacementquestion.jpg
Views:	66
Size:	10.3 KB
ID:	21611  
Xander-0 is offline   Reply With Quote
Old 06-06-2005, 07:55 PM   #2
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Well you need more resolution there. You can run edit Polys>Subdivide on just that region, but remember... the more resolution you add, the slower your renders will be. What you need to ask yourself is how close are you really going to get to the word Lego in your project. In all likelihood, you could get away with using a bump map and not a displacement. It will render much much faster and be smoother, but on super close ups it won't look quite as good.
Dann is offline   Reply With Quote
Old 06-06-2005, 08:55 PM   #3
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

select the object and open the attribute editor and go to displacement map and up the sample rates. Start off with small additions and see how much you can get away with.

As far as your lego blocks go though I would consider having two of each one, one with the displace one without. That way you wont be calculating unecessary displacements on hidden geometry.


Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 07-06-2005, 09:35 PM   #4
Xander-0
Registered User
 
Xander-0's Avatar
 
Join Date: Feb 2005
Location: This Place
Posts: 220
Thanks: 0
Thanked 2 Times in 1 Post
Default

Because of the way I currently have the shaders set up, I tend to have an extra copy of them for the express use of the non-displacement mapped pieces (those without bumps on top). Apparently, for every piece, you need a seperate displacement node.... even if their components start out in the same location.... ah well.
And I've tried bump maps - they didn't look 'real'. Might have been the lighting angle, but other than that they looked too flat. And for how close - well, I might get closer than this; although the cylinders are fairly low poly (32 axis divisions) , they're effectively normal-mapped (from the program defaults). So I actually can get quite a bit closer before they break down. I think.
Might try getting more resolution on the top - but it's just the standard axis division up top. Thanks for the idea, though.
Xander-0 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.