Re: [osg-users] Implementing a HUD in QTviewer - hud projection matrix

2012-02-21 Thread Ron Mayer
OK I found a solution to what I was trying to achieve. I stopped using a 2nd HUD camera, because I couldn't figure out the proper projection with the resizable QT dialog. Instead I added a Geode to my projector node (I forgot to mention in my previous post that the image is actually a projection

[osg-users] Implementing a HUD in QTviewer - hud projection matrix

2012-02-20 Thread Ron Mayer
Hello all, I am trying to implement a HUD with a crosshair in a QT window. I have used the osghud.cpp and QTViewer examples for this. It seems like I am not setting the correct projection matrix in my HUD camera. In my project I have 2 cameras (as in the osghud.cpp example): The first, looking at