Re: [osg-users] multiple inheritance ERROR

2014-09-25 Thread Javier Taibo
Search for "dreaded diamond" problem in Google and you'll find good explanations of this problem and possible solutions. Regards, On Fri, Sep 26, 2014 at 5:01 AM, jiang.sa...@gmail.com < jiang.sa...@gmail.com> wrote: > Hi, > > recently, I write a sample application based on osgEarth 2.5. w

Re: [osg-users] Texture Map

2014-09-25 Thread Chris Hanson
You may wish to skip OSGDEM and head straight to osgEarth, depending on your needs. On Thu, Sep 25, 2014 at 3:06 AM, dzwang wrote: > > Hello everyone, > > I am new to OSG and unfamiliar to the software. I want to use elevation > and texture maps via > osgDEM to obtain my .ive file. I want to kno

[osg-users] multiple inheritance ERROR

2014-09-25 Thread jiang.sa...@gmail.com
Hi, recently, I write a sample application based on osgEarth 2.5. when using "FeatureManipTool" class like the way osg::ref_ptr _featureManipulator; I got some errors: error C2385: ambiguous access of 'unref' 1> could be the 'unref' in base 'osg::Referenced' 1> or could be the 'unref' in

Re: [osg-users] OSG deployment on Windows

2014-09-25 Thread Judson Weissert
Hi Émeric On 9/24/2014 1:03 PM, Émeric MASCHINO wrote: Hi, What's the best practice regarding OSG deployment on Windows? Indeed, several plug-ins depend on external libraries. Is it best to put the required DLLs in OSG_ROOT\bin\osgPlugins-X.Y.Z or rather in OSG_ROOT\bin, thus ensuring that OS

Re: [osg-users] update operations vs. update traversals

2014-09-25 Thread Robert Osfield
Hi Christian, On 25 September 2014 16:35, Christian Buchner wrote: > when looking at the osgViewerBase class I noticed a feature where the user > can install "update operations" that get executed once per frame. > addUpdateOperation() is the function I am talking about. > > I was wondering if th

[osg-users] update operations vs. update traversals

2014-09-25 Thread Christian Buchner
Hi, when looking at the osgViewerBase class I noticed a feature where the user can install "update operations" that get executed once per frame. addUpdateOperation() is the function I am talking about. I was wondering if this method of updating the scene graph has any advantages over the classic

Re: [osg-users] [osgPlugins] Bad Freetype font displaying

2014-09-25 Thread Andrés Barrionuevo
Hi, I changed the code logic in my app and got rid of the camera creation. Now the font is loaded and displayed :) As for my "various modifications" to osgtext, it's just a pointer check. I mean, the pointer shouldn't be NULL becuase without the check it is returned. But then if I write down t

Re: [osg-users] OSG 3.2.1 osgviewerWX not showing up in Visual Studio solution and proposal to remedy the situation

2014-09-25 Thread Robert Osfield
Hi Émeric, My guess is that check against build type had to be added to work around problems under Windows with mixing release and debug libraries in the context of WxWidgets. Have a check of the svn logs for the submission that added this workaround, it might give some more insight to why it exi

[osg-users] OSG 3.2.1 osgviewerWX not showing up in Visual Studio solution and proposal to remedy the situation

2014-09-25 Thread Émeric MASCHINO
Hi, Even though I've correctly set up my wxWidgets environment, the osgviewerWX example isn't added to my OSG 3.2.1 Visual Studio solution. Looking at the examples\CMakeLists.txt file, I've noticed that osgviewerWX inclusion is guarded against wxWidgets_FOUND (obviously) but also against CMAKE_BU

[osg-users] strange behavior in osgmultiplemovies example with FFMPEG plugin

2014-09-25 Thread Christian Buchner
Hi, I just built the FFMPEG plugin for OSG 3.2.1 using one of the daily builds found here: http://ffmpeg.zeranoe.com/builds/ I notice that in the osgmultiplemovies example, the movies are initially in paused state, yet the "current time" counts upwards. When you a while and then click on a movie

Re: [osg-users] [osgPlugins] Bad Freetype font displaying

2014-09-25 Thread Robert Osfield
On 25 September 2014 09:54, Andrés Barrionuevo wrote: > Hi Robert! > > The osgtext example works fine, my app not. The difference is that I was > calling: > I suspect the difference in behaviour has nothing to do with osgText and everything to do with a problem in the set up of your viewer that

[osg-users] Texture Map

2014-09-25 Thread dzwang
Hello everyone, I am new to OSG and unfamiliar to the software. I want to use elevation and texture maps via osgDEM to obtain my .ive file. I want to know what tools that I can use to create a texture map from the imagery data. The more details the more appreciation. Thanks a lot for you. y

Re: [osg-users] [osgPlugins] Bad Freetype font displaying

2014-09-25 Thread Andrés Barrionuevo
Hi Robert! The osgtext example works fine, my app not. The difference is that I was calling: Code: osgText::readFontFile("arial.ttf"); instead of: Code: osgText::readFontFile("fonts/arial.ttf"); I added the "fonts" part but the "cubic" display persists. Now, in both situations (usin

Re: [osg-users] OSG deployment on Windows

2014-09-25 Thread Émeric MASCHINO
OK, this is now clear with what Farshid also explained me in the other post. Thanks, Émeric 2014-09-24 22:29 GMT+02:00 Chris Hanson : > I just move the osgPlugins folder into the folder where the executable and > top-level OSG DLLs are found. All seems to work without any fuss. > > On Wed,