SimplyMaya Forums

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

Home / forum / Lounges / Maya Basics & Newbie Lounge / Strange Normal/bump map problem
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 13-02-2009, 01:08 AM   #1
jammer_unknown
Registered User
 
jammer_unknown's Avatar
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Strange Normal/bump map problem

Hello,

Wondering if anyone can help me with this. Basically, I've cut my model in half and only uv mapped that half to save texture space, with the intention of mirroring it once textured and everything.

The problem is, when I apply the normal/bump map, the normals on one side of the model are reversed (see attatched file). This only seems to happen once I combine the two halves of the model. I've checked the normals, and yes they're facing the right way, even on the half that's 'bumping' the wrong direction.

I know I could just reverse the normal direction for that half of the model, which works but produces a distinct crisp line/edge/seam all the way down the middle of the model. I was wondering if anyone knew a better way of fixing this. Any help would be greatly appreciated. Thankyou.
Attached Thumbnails
Click image for larger version

Name:	wierd effect.jpg
Views:	319
Size:	72.3 KB
ID:	41397  
jammer_unknown is offline   Reply With Quote
Old 24-02-2009, 01:43 PM   #2
bluemana
Registered User
 
Join Date: Feb 2009
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

To solve it i guess only by remaping the entire piece and redo the whole texture.

Last edited by bluemana : 24-02-2009 at 01:51 PM.
bluemana is offline   Reply With Quote
Old 28-02-2009, 07:06 PM   #3
jammer_unknown
Registered User
 
jammer_unknown's Avatar
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Unsolvable

Nevermind guys, aparently, there is NO easy way of adressing this problem due to the nature of Maya's UVs. Aparently games companies adress this by getting one of their engineers to create some extra code with maya's model exporter. Just thought I'd save anyone who runs into the same problem the bother of hunting for an answer.

In my previous post, I mentioned reversing the normal direction on the erroneous half of the model. While this works, it produced a distinct seam down the middle (maybe it was just the model, give it a try, might work fine for you). If however, like me, you get this seam, the most feasible solution with regards to saving texture space seems to be, to have overlapping UVs ONLY on geometry that come in pairs but don't actually connect or touch, i.e. gloves, boots, shouder pads, etc. On something like a cuirass/body armour/torso, it's probably easier to just map the whole thing as one uv set.

If you wanna know more, check out the following link. It gives a better explanation of the nature of the problem. Scroll down to "Flipped UVs Issue". It's a great Normal Mapping tutorial by the way.

http://www.bencloward.com/tutorials_normal_maps10.shtml
jammer_unknown is offline   Reply With Quote
Old 01-03-2009, 10:58 PM   #4
bluemana
Registered User
 
Join Date: Feb 2009
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why don't you try to duplicate the material, assign it to half of the model, then you just change the bumpmap value to a negative one. I'm not sure if it would work.

In the Unreal Tournament 3 tutorials made by the guys from Epic, they show a way to solve this same problem. Something like not doing, the line where the seam would be, in the middle.
bluemana is offline   Reply With Quote
Old 02-03-2009, 01:18 PM   #5
jammer_unknown
Registered User
 
jammer_unknown's Avatar
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey bluemana,

Yes that would work, I've tried it before, but does having more materials result in longer render times? Especially when you have 2 or 3 2048 textures? This is definitely another alternative to reversing the normals though.

What you said about the UT3 thing was interesting. Got a link by any chance?
jammer_unknown is offline   Reply With Quote
Old 02-03-2009, 07:34 PM   #6
Chirone
Subscriber
 
Chirone's Avatar
 
Join Date: Dec 2007
Location: NZ
Posts: 3,125
Thanks: 11
Thanked 147 Times in 143 Posts
Default

i dont think having more materials will increase render time.
after all, you haven't increased the amount of work that needs to be done since you are using the same texture just mirrored over. it's still going to go through the same calculations

about that definite line between your model... did you duplicate the half of the model, then do a negative scale, then do flip normals, then do merge verts along the border edges?
if you did then you missed out the softening of the centre edge that used to be the border edge. that may or may not be the problem. i would confirm it but this computer lacks maya...
__________________


that's a "Ch" pronounced as a "K"

Computer skills I should have:
Objective C, C#, Java, MEL. Python, C++, XML, JavaScript, XSLT, HTML, SQL, CSS, FXScript, Clips, SOAR, ActionScript, OpenGL, DirectX
Maya, XSI, Photoshop, AfterEffects, Motion, Illustrator, Flash, Swift3D
Chirone is offline   Reply With Quote
Old 03-03-2009, 08:06 PM   #7
jammer_unknown
Registered User
 
jammer_unknown's Avatar
 
Join Date: Jun 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Cherone,

Regarding that line/seam down the middle, The normals had been softened, indeed for the entire model. Still not sure what it was. I re-merged the vertices again but with a wider threshold and it seems to have solved it, so there's a chance it may have been some rogue vertices which had not been merged properly along with the rest.

That's great if the number of materials doesn't really affect render time. I completely forgot that as you said, I could just connect the same texture to multiple materials. I think this is probably the best way of tackling this issue in future.

Thanks alot to you and Bluemana for your help.

Here's a screenshot of my Model. Just needs to be textured.
Attached Thumbnails
Click image for larger version

Name:	untitled-1.jpg
Views:	272
Size:	118.5 KB
ID:	41485  
jammer_unknown 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem solving many dynamic objects in a pile? rohiniduggal Dynamics & Special Effects 3 14-01-2011 06:26 PM
apache environment problem andrew_sorensen Simply Maya Tutorials 4 08-12-2010 02:48 PM
Strange Problem - Unable to change attributes for multiple objects anthonysw3 Technical Issues 4 04-12-2010 10:56 PM

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.