Anim8or Community

General Category => General Anim8or Forum => Topic started by: NickD on August 08, 2008, 04:58:51 am

Title: Object shadow problem (pic)
Post by: NickD on August 08, 2008, 04:58:51 am
Everytime i'm creating a object (cylinder, sphere) there was some problem with object shadow. One half of the object is darker then other, independently of applied material. This stays even in export and i cannot find where the problem is.
My sphere looks ugly, and not like single object (see red arrow where this line comes for example)
(http://img521.imageshack.us/img521/750/lek24azv5.jpg)

Can anyone helps me with that, please?
Title: Re: Object shadow problem (pic)
Post by: RudySchneider on August 08, 2008, 11:40:48 am
Do you get the same effect with just a simple cylinder?  If not, then I'm guessing you've done something weird with this model, and you may want to re-create it.

How did you create that portion of the model in the first place, as two halves?  Are you certain you don't have any overlapping or duplicate meshes?  Or maybe flipped faces?  Are you using two-sided materials?
Title: Re: Object shadow problem (pic)
Post by: tiodiego on August 08, 2008, 03:29:55 pm
That same problem used to happen to me when I made half a model and mirrored it, the new half was created with inverse normals or somehow I inverse them without noticing it xD!

To repair it you should divide the mesh in two again and select one of the halfs, go to "Edit" and press "Flip Normals" :p then you should merge them again :)

If that doesnt help then I have no idea what it could be xD!

~YiHaHoi!!!~
Title: Re: Object shadow problem (pic)
Post by: RudySchneider on August 08, 2008, 04:09:08 pm
Actually, tiodiego, you don't need to divide the mesh to do that.  Simply use "Edit > Fix Normals" ("X" hotkey) which makes all the normals face the same direction on the mesh.  Then, flip all of the normals ("N" hotkey) if necessary.
Title: Re: Object shadow problem (pic)
Post by: Tanzim on August 09, 2008, 12:31:39 am
If you mirrored that object (to get both halves) select both of them and Build->Join Solids, then in point edit mode select the overlapping points (1 pair at a time and Edit->Merge Points).
Title: Re: Object shadow problem (pic)
Post by: tiodiego on August 09, 2008, 01:48:44 am
jojojo I always asked myself what did the fix normals button do xP thanks for the tip :D
Title: Re: Object shadow problem (pic)
Post by: NickD on August 11, 2008, 07:39:57 am
Do you get the same effect with just a simple cylinder?  If not, then I'm guessing you've done something weird with this model, and you may want to re-create it.

How did you create that portion of the model in the first place, as two halves?  Are you certain you don't have any overlapping or duplicate meshes?  Or maybe flipped faces?  Are you using two-sided materials?

The process was following:
1. i've done a simple shpere,
2."convert to mesh"
3.switching to point edit mode and removing some points from top and bottom of the sphere
4. used non-uniform scale by axis Y

I'm receiving the same effect everytime when i'm creating a simple cylinder or sphere and after that convert them to mesh

I'm using a one-sided material, the normals are the same (i've exported the model to the orbiter flight simulator - if normals were reverse, there will be seen a hole in place of the reverse normals)

I can send this part of model if needed...