PDA

View Full Version : any shader artists here?



jgchan
February 11th, 2010, 12:13 PM
I've got a slight problem with the toon outline

https://udrive.oit.umass.edu/jgchan/aethon_progress_007.jpg

Basically everything here looks pretty much the way I want it to ('cept the incomplete textures) except for the wing in the right that's all darkened out. Somehow the toon outline I added is spazzing out and actually engulfs the whole wing. (You can see it too on the exhausts on the engine too)

I know it's not the lighting because can point a light pointed directly at it doesn't change at all

https://udrive.oit.umass.edu/jgchan/aethon_weird_toonshade_diffLight.png

I have the same problem in here on some of the mountains in this test render (pardon the terrible camera work)

9344205

Some of the mountains are completely grayed out, which, coincidentally, is the color of the toon outline I wanted to add. I didn't actually lay out the UVs for the mountain test which I thought was causing the problem, but when I went to go texture the airplane I found it had the same problems.

Any idea what's going on?

Other info:
-Software = Maya
-Toon outline is set for offset mesh

And as always, more stuff about this problem can be found on my blag: http://jgchan.blogspot.com/

ikken
February 11th, 2010, 12:50 PM
Did you try deleting the history and/or unlocking the normals after you apply ink outline?

jgchan
February 11th, 2010, 01:17 PM
I was getting some pretty funky performance issues with maya so I was constantly deleting the history.

I'll try that thing with the normals though. Perhaps duplicating it as an inverse messed it up, but the odd thing is that the dark wing was actually the original one

neuroballistic
February 11th, 2010, 07:50 PM
Hmmm, did you check the normals to see if they were flipped. Happens to me a lot in Maya.

jgchan
February 11th, 2010, 11:32 PM
Looks like that was the problem! Thanks for the help guys



Still some slight problems

https://udrive.oit.umass.edu/jgchan/normals_problem.jpg (linked for hugeness)

I flipped the normals and it solved most of the problem, but now there's a giant black band on the back of the wing. I have no idea what's causing this now, any ideas?

ikken
February 12th, 2010, 02:25 AM
select the wing and go to display -> polygons -> face normals
it will show you the normal orientation for each face on the object
you might will have to select individual faces and flip them manually
Another suggestion - you could select object, go to the attribute editor and uncheck "doublesided" on the renderstats tab
so faces with normals not facing camera will be transparent and it will be easier to spot them
it will also (probably) save you some rendertime too.

I did use ink feature and it was fine for me (except slow and no mental ray support :x ) but the normals problems are really common.

jgchan
February 17th, 2010, 03:47 AM
The face normals thing ALMOST worked, but according to the 3D teacher at my school, this is an undocumented problem in Maya.

In case anyone else ever runs into something like this, make sure objects do not have a negative scale or you'll run into all kinds of messed up.

The quick/dirty fix for me was to go into the vertex mode and just scaling the components there instead of flipping it while in object mode, and now everything works like a charm

Thanks for the help dudes!

http://2.bp.blogspot.com/_QuwxaBS4C6U/S3urMxApOSI/AAAAAAAAAQA/JNp8ru3CnFg/s320/d_handDrawTest.png (http://2.bp.blogspot.com/_QuwxaBS4C6U/S3urMxApOSI/AAAAAAAAAQA/JNp8ru3CnFg/s1600/d_handDrawTest.png) (click for larger)