Hey,

orthogonalize_m4() doesn't do what you think it does. It only orthogonalizes 
the 3x3 subset of the 4x4.


What you'll need to do is change the projection matrix (not the transformation 
matrix) to remove perspective distortion. I don't know much about the GE, so 
others will have to take it from there.

Martin

--- On Sun, 11/14/10, Josiah Lane <[email protected]> wrote:

> From: Josiah Lane <[email protected]>
> Subject: [Bf-committers] Making Orthographic Shadows?
> To: [email protected]
> Received: Sunday, November 14, 2010, 12:18 PM
> Hey. So this is my first post to the
> mailing list. I've been trying to
> implement orthographic shadows into the Game Engine with
> the Blender source
> - I found a way to change the angle of the shadows, but my
> attempt to make
> it orthographic mangled the shadow angles. I was wondering
> which matrices to
> turn orthographic with the orthogonalize_m4()?
> _______________________________________________
> Bf-committers mailing list
> [email protected]
> http://lists.blender.org/mailman/listinfo/bf-committers
> 


_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to