Dear all,
Writing some selection code for the application I'm developing I've come 
across some discrepancies between the values of projection specification 
  returned by different parts of the library. Basically my problem is 
that in some cases, the values I get for the field of view inside the 
application differ from what I specified in the configuration file.

For example if I use a canvas with the following projection
projection
{
     origin      [ 0 0 0 ]
     distance    10
     fov         [ 40 40 ]
     hpr         [ 0 0 0 ]
}
and don't specify any other projection or wall in the config file then I 
get:
- 40º vertical fov from config.getCanvases().front().getProjection()
- and 40º from the frustum passed to Channel::frameDraw
But if I use a wall like
wall
{
     bottom_left  [ -.32 -.32 -.75 ]
     bottom_right [  .32 -.32 -.75 ]
     top_left     [ -.32  .32 -.75 ]
}
I get:
- 46,2127ª from the frustum passed to frameDraw (which I suppose is fine)
- and 35,48ª from config.getCanvases().front().getProjection().

 From what I understand from the source code, eq::Frustum is supposed to 
store both specifications consistenly. Is this right? Am I doing 
something wrong using eq::Projection objects when the original spec is 
in eq::Wall?

Another issue I've seen is that the default wall specificaion of a 
eq::View object is not inherited from the canvas in which they are 
rendered. That means that the view frustum reported by this object may 
not match the actual one used in rendering unless explicitely set in the 
configuration file.

Best regards,
Juan

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to