<div dir="ltr">Correct!</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 5, 2018 at 12:25 PM, Andreas Plesch <span dir="ltr"><<a href="mailto:andreasplesch@gmail.com" target="_blank">andreasplesch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Date: Fri, 4 May 2018 15:32:48 -0600<br>
> From: GPU Group <<a href="mailto:gpugroup@gmail.com">gpugroup@gmail.com</a>><br>
> To: X3D Graphics public mailing list <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>><br>
> Subject: Re: [x3d-public] OrthoViewpoint fieldOfView<br>
> Message-ID:<br>
>         <<a href="mailto:CAM2ogRc8-11CY6aDyiOYThBiEY4ZnXDU2jfeEnDA-6qcp92W8w@mail.gmail.com">CAM2ogRc8-<wbr>11CY6aDyiOYThBiEY4ZnXDU2jfeEnD<wbr>A-6qcp92W8w@mail.gmail.com</a>><br>
> Content-Type: text/plain; charset="utf-8"<br>
<span class="">><br>
> Its like a zoom.<br>
> on bind, freewrl checks if fieldOfView.n == 4 and copies, else uses defaults<br>
> then on each frame, it honors the ymax - ymin range (like you say a single<br>
> value would do)<br>
> - and scales the xmax- xmin range to match the aspect ratio of the screen.<br>
> -- this assumes you don't want anisotropic scaling,<br>
> - and treats the field as outputOnly on each frame (in case you want to<br>
> know the range in other nodes)<br>
> - until the next bind when it starts fresh<br>
> -Doug<br>
<br>
</span>Thanks.<br>
It is like a zoom, and potentially also like an offset if the min and<br>
max values are not centered on 0.<br>
Always scaling the x range according to the window aspect ratio may<br>
sometimes cut off the requested minimum x range, I believe ?<br>
For example, if the fieldOfView is -10,-1,10,1 , eg. the requested<br>
minimum x range is -10,10, and the window aspect ratio is 1:1, then<br>
scaling the x range would mean cutting it down to -1,1, no ?<br>
So other browsers check if the requested width/height aspect ratio is<br>
larger than the display aspect ratio, and if so rescale the y range,<br>
and if not rescale the x range.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Andreas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
______________________________<wbr>_________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/<wbr>listinfo/x3d-public_web3d.org</a><br>
</div></div></blockquote></div><br></div>