[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19929] trunk/blender: BGE: Fix Orthographic mode and viewport scaling - incomplete commit log

Benoit Bolsee benoit.bolsee at online.be
Sun Apr 26 14:27:37 CEST 2009


Revision: 19929
 
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-
blender&revision=19929
Author:   ben2610
Date:     2009-04-26 14:23:30 +0200 (Sun, 26 Apr 2009)

Log Message:
-----------
BGE: Fix Orthographic mode and viewport scaling.

- The BGE now uses correct glOrtho projection for orthographic camera.
  Scale setting in camera data block represents the largest extent of
the 
  zone covered by the camera in game unit. This corresponds to the outer
  dotted line in the 3D view when viewing the scene through the camera.
- Fix culling when using overriding camera is in orthographic mode.
- Fix old culling method with orthographic camera 
  (normally not used since DBVT is the default culling method)
- Fix scaling problem with viewport:
  camera in viewport would be scaled by 3D viewport scaling.
  Viewport will now render the area within the outer dotted line 
  when viewing the scene through the camera.
- ImageRender did not take into account the aspect ratio settings
  in the render panel when computing the view frustrum. ImageRender
  will only render the area in dotted line as with viewport.
- Disable eye correction in stereo mode for orthographic camera:
  stereo doesn't make sense for orthographic camera, so orthographic
  render will only be "on screen"




More information about the Bf-blender-cvs mailing list