Re: [osg-users] FOV

2012-02-02 Thread Shaheed Khan
Hi, @ thanks for suggestion em able 2 creae black screen now :| Also i trued to draw come reticules on created black screen using GL functions but the colur of the drawn reticule is alwayz black no matter wat color i set .. Is any default flightgear properties affecting this drawn reticule ..

Re: [osg-users] FOV

2012-02-02 Thread Chris Hanson
On Thu, Feb 2, 2012 at 11:48 AM, Shaheed Khan shahee...@gmail.com wrote: @ thanks for suggestion em able 2 creae black screen now :| Also i trued to draw come reticules on created black screen using GL functions but the colur of the drawn reticule is alwayz black no matter wat color i set

Re: [osg-users] FOV

2012-01-31 Thread Shaheed Khan
Hi, em using Flight gear 1.9.0 with osg 2.8.0 The terrain and sky is generated in the window using 2 cameras far and near i tried 2 set window color to black using Osg - setColor(osg::Vec4(0.0f, 0.0f, 0.0f, 1.0f)) and even tried with glut - glclearColor(0.0f, 0.0f, 0.0f, 1.0f) but only sky

Re: [osg-users] FOV

2012-01-30 Thread Shaheed Khan
Hi, Thanks chris .. em able to zoom using getProjectionMatrixAsPerspective and setProjectionMatrixAsPerspective fuctions Actually em trying this view for LDP instead of Aircraft and i want to make my view as entire black screen (instead of Runway) during initialization until i select some

Re: [osg-users] FOV

2012-01-30 Thread Chris 'Xenon' Hanson
On 1/30/2012 12:25 PM, Shaheed Khan wrote: Actually em trying this view for LDP instead of Aircraft and i want to make my view as entire black screen (instead of Runway) during initialization until i select some modes Wat parameters in which function should i set to get black screen You

Re: [osg-users] FOV

2012-01-22 Thread Shaheed Khan
Hi, @Bryan Thrall thanks for moving the thread in correct place :) Actually i want to alwayz focus (zoom) on the building near runway while flying so which Osg camera functions can i use to do so and wat parameters should i pass .. [Image: http://i44.tinypic.com/2qnruhd.jpg ] any suggestion

Re: [osg-users] FOV

2012-01-22 Thread Chris 'Xenon' Hanson
On 1/22/2012 11:34 AM, Shaheed Khan wrote: Actually i want to alwayz focus (zoom) on the building near runway while flying so which Osg camera functions can i use to do so and wat parameters should i pass .. Well, if you do getProjectionMatrixAsPerspective: