Hi Joseph,

I don't see it.  Your example has from=(0,0,2) and to=(0,0,1).  Change "to"
to (0,0,0.1) or (0,0,1.9), and there's no difference in clipping (or the
view in general), even though there are connection lines in the z=1 plane.

Randy

Joseph Young:
 |Thanks very much for your reply. After I sent my question to the list, I 
 |too got into the code - particularly camera.c - to see what was going on. 
 |Your email confirmed what I had found.
 |
 |If I understand your reply correctly, I have one minor difference 
 |concerning the location of the projection plane and front clipping plane. I 
 |believe the projection plane runs right through the "To" point and that it 
 |also acts as the front clipping plane.
 |
 |To confirm this, I set up a small experiment where I positioned a simple 
 |2x2x2 cube on the origin and viewed in perspective with a "View Angle" of 
 |90 degrees and with the X resolution = Y resolution (this means all half 
 |angles are 45 degrees which makes it easy to determine what the final 
 |projection should look like). If you then generate a perspective view the 
 |cube (connections) using from = (2,0,2) and to = (1,0,1), the front cube 
 |face lies on the projection plane and it should consume all of the rendered 
 |image window, due to the location of the viewer and the 90 degree view 
 |angle. And this does indeed occur. I've inserted the small net in the email 
 |if you wanted to try it.


-- 
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711

Reply via email to