scene fit buttons

About Truespace Archives

These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.

They are retained here for archive purposes only.

scene fit buttons // Feature suggestions

1  |  

Post by Wigand // May 28, 2007, 12:06am

Wigand
Total Posts: 462
pic
A button which zooms the view in a window that you can see the whole scene filling the window.

A button which zooms the view in a window that you can see the selected object filling the window

Post by splinters // May 28, 2007, 12:44am

splinters
Total Posts: 4148
pic
1. How would the program know where the scene ends i.e. it's perimeter? It would need some sort of object or space defined as a boundary which would then technically become your second request...


2. Your second request is more practical but there is always the new (to 7.5) zoom to area tool in the Nav tools section to accomplish this...:)

Post by Tiles // May 28, 2007, 1:09am

Tiles
Total Posts: 1037
pic
For TS 6.6 there is a plugin available for issue 2, called Zoom to fit. Issue 1 could be done with this too. Just glue everything together :)


http://ckgamefactory.hp.infoseek.co.jp/index-e.html


It checks how it fits best, either horizontally or vertically. Has its flaws though in perspective view. Here it doesn't really fit.


1. How would the program know where the scene ends i.e. it's perimeter?


In the same way than the Zoom to fit plugin maybe? :)

Post by parva // May 28, 2007, 1:36am

parva
Total Posts: 822
pic
1. How would the program know where the scene ends i.e. it's perimeter? It would need some sort of object or space defined as a boundary which would then technically become your second request...


Would be no problem if the largest object in space would be taken as boundary but I prefer "bookmarks" for camera/perspective views :)

Post by Wigand // May 28, 2007, 4:48am

Wigand
Total Posts: 462
pic
1. How would the program know where the scene ends i.e. it's perimeter?



I think this is easy. The program checks for the max and min of every X,Y,Z coordinates of every object in the scene.

then calculate ABS(Max(X)-Min(X); Abs(Max(Y)-Min(Y); Abs(Max(Z)-Min(Z).

Then set the result in relation to the perimeter of the view.


But parvas bookmarks would be a good idea in addition too.
Awportals.com is a privately held community resource website dedicated to Active Worlds.
Copyright (c) Mark Randall 2006 - 2024. All Rights Reserved.
Awportals.com   ·   ProLibraries Live   ·   Twitter   ·   LinkedIn