[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [15872] trunk/blender/source/gameengine/ Rasterizer/RAS_CameraData.h: Am teaching a GE course this week, and am finding some small issues that I'm hoping to patch.

Alexander Ewering blender at instinctive.de
Tue Jul 29 23:01:29 CEST 2008


On Tue, 29 Jul 2008, Mal Duffin wrote:

> Revision: 15872
>          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=15872
> Author:   mal_cando
> Date:     2008-07-29 22:28:11 +0200 (Tue, 29 Jul 2008)
>
> Log Message:
> -----------
> Am teaching a GE course this week, and am finding some small issues that
> I'm hoping to patch.
>
> This one deals with the very small default clipend value ( 100.0 ) when
> pressing P to run the GE from a non-camera view.  ( ie if the user zooms
> out a bit from the default box area, the box will get clipped out of view,
> so it's a WFT from the user )
>
> To see what this fixes, load up Blender default scene, go into
> perspective, and press P. Everything looks grand.  Now, zoom out until the
> box is about 10 pixels high, and press P again.  The box will disappear /
> be clipped out.
>
> I've set the clip end to the maximum ( 5000 ) as defined in Camera.h.
>
> This should be suitable for inclusion in 2.47 branch also.

I'm not so sure, this seems like a bad way to fix this. Why don't you
pass the actual values from the 3D view, which would make much more sense
and avoid z-buffer inaccuracy issues?

(FYI: I've submitted a bug report about this exact problem several years ago, 
it probably got dumped into the forgetaboutit^H^H^H^H^H^H^H todo-tracker.

Alexander Ewering


[ i n s t i n c t i v e . ]   http://www.instinctive.de

Zur Waldeshoehe 6                    Tel.: 02393-220558
59846 Sundern                         Fax: 02393-220559
Germany                xx-mail: xx-mail.com/instinctive


More information about the Bf-committers mailing list