Lights and rotated object

View previous topic View next topic Go down

Lights and rotated object

Post  John on Mon Mar 16, 2009 9:54 am

I'm trying to add a simple light to a simple scene (textured cube that I have rotating).

Problem is it appears that the light is applied to the object's local orientation and not world orientation.

Ex: if I don't rotate the cube, the light comes from behind the camera and everything is visible. As it rotates, the object becomes dark and hard to see because the light no longer shines on the direction from the camera.

Does the light need a rotation added to it for each object rendered?? Or do I have a setting or light type incorrect (I'm using a simple lamp type).

Thanks,

John

John

Posts : 9
Join date : 2009-02-23

View user profile

Back to top Go down

Re: Lights and rotated object

Post  meteors on Mon Mar 16, 2009 10:01 am

Be sure to press the "N" button on the exporter, to export the proper normals.

Let me know if that fixes it.



-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Lighting

Post  John on Mon Mar 16, 2009 11:24 am

I tried the "N" button on export, no change.

John

Posts : 9
Join date : 2009-02-23

View user profile

Back to top Go down

Correction, it worked.

Post  John on Mon Mar 16, 2009 11:32 am

Thanks, the "N" button did actually solve my problem...

Thanks!

John

John

Posts : 9
Join date : 2009-02-23

View user profile

Back to top Go down

Re: Lights and rotated object

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum