<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    Hi all!<br>
    <br>
    I used to set <span style=" color:#092e64;"><br>
          camera</span>-><span style=" color:#00677c;">setProjectionMatrix</span>(<span
      style=" color:#800080;">osg</span>::<span style=" color:#800080;">Matrix</span>::<span
      style=" color:#00677c;">ortho2D</span>(<span style="
      color:#000080;">0.0f</span>,<span style=" color:#c0c0c0;"> </span><span
      style=" color:#000080;">1.0f</span>,<span style=" color:#c0c0c0;">
    </span><span style=" color:#000080;">0.0f</span>,<span style="
      color:#c0c0c0;"> </span><span style=" color:#000080;">1.0f</span>));<br>
    when creating RTT-Cameras.<br>
    <br>
    In my SSAO-Module I need to retrieve the projection matrix but<br>
        <span style=" color:#092e64;">if (cam</span>-><span style="
      color:#00677c;">getProjectionMatrixAsOrtho</span>(<span style="
      color:#092e64;">left</span>,<span style=" color:#c0c0c0;"> </span><span
      style=" color:#092e64;">right</span>,<span style=" color:#c0c0c0;">
    </span><span style=" color:#092e64;">bottom</span>,<span style="
      color:#c0c0c0;"> </span><span style=" color:#092e64;">top</span>,<span
      style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">zNear</span>,<span
      style=" color:#c0c0c0;"> </span><span style=" color:#092e64;">zFar</span>))
    ...<br>
    seems to return true but the values retrieved look strange.<br>
    <br>
    So two questions:<br>
    1) Do I have to assign osg::Matrix::ortho insted to RTT-Cameras?
    What is the difference?<br>
    2) Can I retrieve correct values when ortho2D is used?<br>
    <br>
    Many thanks for any assistance.<br>
    <br>
    - Werner -<br>
  </body>
</html>