realbasic-games
[Top] [All Lists]

Re: OpenGL Lighting again

To: REALbasic Games <realbasic-games at lists dot realsoftware dot com>
Subject: Re: OpenGL Lighting again
From: Frank Condello <developer at chaoticbox dot com>
Date: Fri, 22 Oct 2004 17:02:50 -0400
Delivered-to: realbasic-games at lists dot realsoftware dot com
References: <C3F9EB76-2450-11D9-8FBA-000A95DB6C90 at fireyesoftware dot com>
On 22-Oct-04, at 1:35 PM, Asher Dunn wrote:

I'm still having trouble with lighting in OpenGL. It just doesn't look right. It looks like the light is moving, but I'm not moving it!! Have a look at <http://www.fireyesoftware.com/OpenGLDemo.sitx> (Carbon) and tell me if the lighting looks right. The light should be a directional light pointing down the -z axis (the same direction we're looking).

Hard to tell exactly what's going on just by looking at the output, but maybe you're lighting vertices in model space instead of world space?

Frank.

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://www.realsoftware.com/listarchives/lists.html>

<Prev in Thread] Current Thread [Next in Thread>