From: Jérôme Hénin (jerome.henin_at_ibpc.fr)
Date: Fri Aug 08 2014 - 09:05:20 CDT

One thing you could do is calculate a rough bounding box for the scene and
make sure it fits in the viewport.

Jerome

On 8 August 2014 14:11, Norman Geist <norman.geist_at_uni-greifswald.de> wrote:

> Dear developers,
>
>
>
> I need a way to apply a automatic scale (zoom) from TCL so that everything
> visible is inside the viewport, is it possible? I know “display reset view”
> does something similar, but I need it without resetting the rotate and
> scale center.
>
>
>
> Thanks in advance
>
>
>
> Norman Geist
>
>
> ------------------------------
> <http://www.avast.com/>
>
> Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus
> <http://www.avast.com/> Schutz ist aktiv.
>
>