ecere/OpenGL/Android: Worked around limitation on projection matrix
authorJerome St-Louis <jerome@ecere.com>
Mon, 4 Mar 2013 07:32:42 +0000 (02:32 -0500)
committerJerome St-Louis <jerome@ecere.com>
Mon, 4 Mar 2013 07:32:42 +0000 (02:32 -0500)
commit6689a826e873580cca9f17a05748d2530c76b744
tree4e1f1316c3b3696aff29decc81b62fd666c2d553
parente36885823ef9d10b6906ff542d4af1ce5ba9d9c1
ecere/OpenGL/Android: Worked around limitation on projection matrix
- Lighting was not behaving correctly with large value for near/far clipping planes
- Worked around by using scaling in ModelView matrix (scale applied to fog density as well)
- Implemented our own matrix stack for double matrix operations precision
- Now doing full matrix multiplication for proper Projection matrix computation on Android
ecere/src/gfx/3D/Matrix.ec
ecere/src/gfx/drivers/OpenGLDisplayDriver.ec