<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Jun 23, 2014 at 10:52 AM, joopeter <span dir="ltr"><<a href="mailto:joo.peter@gmail.com" target="_blank">joo.peter@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><a href="http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a63ac225662fc7b81628366a7b3b7096c" target="_blank">http://www.vtk.org/doc/nightly/html/classvtkCamera.html#a63ac225662fc7b81628366a7b3b7096c</a><br>
<br>
Hello, I found that the documentation is misleading, because it tells that<br>
the order of the planes is:<br>
left,right,bottom,top,far,near<br>
<br>
Debugging VTK revealed that the actual order is<br>
left,right,bottom,top,near,far<br>
<br>
This is how I verified that it is wrong: I created 10 equidistant points<br>
from the camera position (outside the frustum) to the focal point (inside<br>
the frustum) and I checked the signed distances of the last and the second<br>
last planes.<br>
<br>
The second last remained positive (far plane, oriented inward) while the<br>
last went from negative to positive. That is the behavior of the near plane!<br>
the first point is the camera, which is outside of the viewing frustum,<br>
therefore it has negative sign, the last is the focal point for which the<br>
signed distance was positive.<br>
<br>
Please fix+comment :)<br></blockquote><div><br>Hello,<br><br>This type of question should be sent to the vtk-developers list for a faster response:<br><a href="http://www.vtk.org/mailman/listinfo/vtk-developers">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<div><br>David</div></div></div></div></div>