Hi Shayne, There isn't nothing platform specific about osgTerrain, and I do all my dev and testing of osgTerrain under Linux. There shouldn't be any correlation between GLUT and osgTerrain either. I'm afraid I no explanation for your findings.
What I can say is that GLUT is a truely awful API and shouldn't be used anywhere any modern graphics application. It was written for tiny OpenGL demos, and long exceeded it's intended life a decade ago, let alone now, it's survived not because it's actually any good, but because well... lots of people copied those early demos. osgViewer itself is a far better tool for a modern graphics application. Might I suggest you use it rather than GLUT. Robert. On Fri, Mar 5, 2010 at 4:55 PM, Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC <[email protected]> wrote: > All, > > > > I’m seeing a problem that I’m hoping someone can shed some light on. > > > > I have an application that uses an OSG viewer (OSG version 2.8.2) embedded > in a GLUT window. This application runs on both Windows XP and Linux > (currently using RHEL 5.4). The machine is dual boot so the hardware is the > same in both cases. The embedded OSG viewer is rendering a database which > includes a VPB terrain using osgTerrain. When I run this application on > Windows, everything (terrain, models, sky, etc.) renders fine. However, when > I run the same application on Linux, using the same database, the terrain > does not show up at all. I’ve verified that the terrain is being read in and > added to the scenegraph as usual, but it is not being rendered for some > strange reason on Linux when viewer->frame() is called. Everything else > renders just fine in the rendering loop. > > > > Is there something special I need to do for Linux in the application to get > the terrain to render? At this point, I’m at a loss as to what is causing > this problem. For a sanity check, I’ve looked at the terrain database using > osgViewer on the Linux box and everything renders fine. Is GLUT causing > problems on Linux that aren’t seen on Windows for rendering the terrain? Is > there something else I can do to debug this problem on Linux? > > > > Any help or input would most appreciated… > > > > Thanks, > > -Shayne > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

