Hi Robert,

Thank you for the tip.  I guess the other option I have is to use
osgTerrain instead of VPB until I upgrade my OSG version.  However, I
don't plan to upgrade until OSG 2.0 is released.  Does VPB in its
current state provide any advantages over osgTerrain?

Thanks,
Andrew


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Robert
Osfield
Sent: Wednesday, April 11, 2007 12:43 AM
To: osg users
Subject: Re: [osg-users] VirtualPlanetBuilder Problem

Hi Andrew,

VirtualPlanetBuilder uses the new osgViewer library to create graphics
contexts.

What you should be able to do is check out the SVN version of
OpenThreads, OpenSceneGraph and VirtualPlanetBuilder and keep them all
in an single directory structure separated from the rest of the you
dev environment use env vars to point VPB at OT and OSG.
OPENTHREADS_INC_DIR,   OPENTHREADS_LIB_DIR, OSG_INC_DIR,   OSG_LIB_DIR
are the env vards I uses to get my local VPB compiling without
installing anything.

Robert.

On 4/11/07, Weitz, Andrew C. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm trying to use the current SVN version of VirtualPlanetBuilder with
> the original release of OSG 1.2.  I'm using the osgdem.cpp that came
> with VPB as my executable.  I had to slightly modify the
> MyGraphicsContext class by adding underscores to the beginnings of the
> traits member variables, since the underscores are present in my
version
> of osg::GraphicsContext.
>
> When I try running the app, I am unable to create a valid graphics
> context.  I tried replacing my GraphicsContext and GraphicsThread
> classes with the current SVN versions.  Unfortunately, that requires
an
> upgrade of OpenThreads, which breaks the rest of my OSG build.
>
> Is there any way to use VPB with the original release of OSG 1.2?
Does
> anyone know why my graphics context creation is failing?
>
> Thanks,
> Andrew
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to