Re: [osg-users] Color grid overlay question/help

2011-09-13 Thread Kevin DeMott
So I'm pretty close to getting this working using the osghud example code. The problem I'm having now is that color grid on the left side of the screen is not visible at the start of the application. I traced this problem down to the fact that during creation the window size is larger than

Re: [osg-users] Color grid overlay question/help

2011-09-13 Thread Kevin DeMott
No, as it is pretty heavily tied into other source that can not be made available. I can probably post the code for how the HUD and the object to be placed in the upper right hand corner are being created if that would help though. IE the posted code would not run on its own.

[osg-users] Color grid overlay question/help

2011-08-31 Thread Kevin DeMott
I'm trying to create a 4x1 (row x col) grid on top of my scene. The rows should equally fill up the height of the window while the column width should be 1/4 the width of the window. The intent is to have the user be able to specify a color for each cell. Not all cells may be specified at a

Re: [osg-users] Color grid overlay question/help

2011-08-31 Thread Kevin DeMott
There is no reason I have to use osgWidget. I'm rather new to using osg and it seemed to fit into the scheme of everything else that was going on. Is there perhaps a basic example you can point me to regarding the implementation you suggested? -- Read this topic online here:

[osg-users] Transforming a quad polygon into a rectangle

2011-06-01 Thread Kevin DeMott
I'm trying to find a way to convert a four sided polygon (non-rectangular) into a rectangle in 3D space. I would like this to be some type of matrix transform as I need to be able to go both ways. IE from the polygon to a rectangle and from a rectangle to the polygon. I can do a similar