Camera

Found a bug? Post information about it here so we can fix it!

Moderator: Moderators

Post Reply
User avatar
Kjell
Posts: 1876
Joined: Sat Feb 23, 2008 11:15 pm

Camera

Post by Kjell »

:!:

Already reported to Ville, but since others might encounter this one as well ( when using fixed-pipeline fog for example ). The camera transformations are applied to the GL_PROJECTION Matrix instead of the GL_MODELVIEW.

The commands "glMatrixMode(GL_MODELVIEW);" and "glLoadIdentity();" on line 587/588 of ZApplication.pas should be executed before ApplyRotation and glTranslatef.

K
User avatar
jph_wacheski
Posts: 1005
Joined: Sat Feb 16, 2008 8:10 pm
Location: Canada
Contact:

Post by jph_wacheski »

Please post if/when you get the fog working,. as you know I am interested in utilizing it,. if it can be made to work reliably.
iterationGAMES.com
User avatar
VilleK
Site Admin
Posts: 2274
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

Kjells fix makes the fog work perfectly. It will be in next beta release.
Post Reply