Re: [osg-users] OpenSceneGraph-3.4.0-rc11 tagged

2015-08-09 Thread John Ivar Haugland
VER *<=* 1800" to "#if defined(_MSC_VER) && _MSC_VER *<* 1800 to drop the typedefs for Visual Studio 2013 is a possible fix, however I have not tested this with Visual Studio 2012 or older. Kind regards John Ivar Haugland On Sun, Aug 9, 2015 at 12:37 PM, Robert Osfield wrote:

[osg-users] Register object wrapper for osg::Geode

2015-03-24 Thread John Ivar Haugland
bject osg::Node osg::Geode" ) Is this correct ? or should it be changed to REGISTER_OBJECT_WRAPPER( Geode, new osg::Geode, osg::Geode, "osg::Object osg::Node osg::Group osg::Geode" ) Kind regard

Re: [osg-users] [build] Android OSG display problem

2012-08-01 Thread John Ivar Haugland
You should use DrawElementsUShort and not DrawElementsUInt (not supported by GLES). John Ivar Haugland ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgVolume not working with latest ATI Radeon drivers on Windows

2011-08-06 Thread John Ivar Haugland
This can be the same problem that exist with new Nvidia drivers, e.g. disucssed here: http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg50871.html John Ivar On Sat, Aug 6, 2011 at 2:36 AM, Mark Hodson wrote: > Hi all, > > This is one of those strange annoying ones, and I'm ho

Re: [osg-users] NVidia 275-series Driver Bug

2011-08-05 Thread John Ivar Haugland
o uniform array name, >> BUT it wont work on old driver anymore with this change. So for now in our >> apps we have to use two uniforms for each uniform array, one original and >> another with "[0]" appended so stuff actually works on both old and new >> drivers... &g

Re: [osg-users] NVidia 275-series Driver Bug

2011-08-05 Thread John Ivar Haugland
FYI, I just tested the new NVIDIA beta driver 280.19. Same problem as with 275 series. John Ivar On Wed, Jul 27, 2011 at 3:56 PM, Jeremy Moles wrote: > On Wed, 2011-07-27 at 12:06 +0400, Sergey Polischuk wrote: > > Hi Jeremy > > > > You can try to append "[]" to array uniform name string when cre

Re: [osg-users] glCopyTexImage2D or Frame Buffer Object

2011-04-27 Thread John Ivar Haugland
ack() { } virtual void operator () (osg::RenderInfo& renderInfo) const { osg::FBOExtensions::instance( renderInfo.getState()->getContextID(), false )->glBindFramebuffer( GL_FRAMEBUFFER_EXT, 0 ); } }; On Tue, Apr 26, 2011 at 9:54 AM, John Ivar Haugland wrote: > Robert,

Re: [osg-users] glCopyTexImage2D or Frame Buffer Object

2011-04-26 Thread John Ivar Haugland
Robert, How do you arrange the camera setup so that two cameras share the same FBO ? John Ivar Haugland On Wed, Apr 20, 2011 at 10:00 AM, Robert Osfield wrote: > HI Martin, > > 2011/4/20 "Martin Großer" : > > Ok thank you. And what do you think about > osg::Textur

Re: [osg-users] OpenSceneGraph 2.9.9 problem with *.osgb

2010-09-23 Thread John Ivar Haugland
Robert, I did an svn update. Yes, this did indeed fix the problem! Excellent!! Good to have a working binary file format again :) Thanks a lot for a very nice visualization library and all the hard work! John Ivar Haugland On Thu, Sep 23, 2010 at 6:15 PM, Robert Osfield wrote: > Hi John,

[osg-users] OpenSceneGraph 2.9.9 problem with *.osgb

2010-09-23 Thread John Ivar Haugland
osg::Geode osg::Geometry osg::Drawable osg::StateSet osg::StateSet osgviewer: No data loaded I also have OpenSceneGraph trunk Revision 11729 compiled (Visual Studio 2010, x64). In this version osgviewer can write and read the cow.osgb file without problems. John Ivar Haugland

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-18 Thread John Ivar Haugland
; For the 2.9.x series we could possible look at re-organizing the > classes in a way that breaks the ABI, since the ABI is already > incompatible with 2.8.0. > > Robert. > > On Mon, May 18, 2009 at 11:44 AM, John Ivar Haugland > wrote: > > Hi Robert, > > I used

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-18 Thread John Ivar Haugland
o] Error 1 make[1]: *** [src/osgShadow/CMakeFiles/osgShadow.dir/all] Error 2 make: *** [all] Error 2 On Mon, May 18, 2009 at 11:24 AM, Robert Osfield wrote: > Hi John, > > On Mon, May 18, 2009 at 9:52 AM, John Ivar Haugland > wrote: > > I tested the new ReaderWriterCURL.c

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-18 Thread John Ivar Haugland
Hi Robert, I tested the new ReaderWriterCURL.cpp. It compiled ok with my system (libcurl 7.10.6). I also made a test by copying the cessna.osg file to a web-server with a new name cessna2.osg. The libcurl plugin seems to work since I was able to access it with a hyperlink address. Thanks! :) John

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-15 Thread John Ivar Haugland
e only place with a construction like this in OSG? If you find a solution like you mention (friend class) this is ok for me at least. Have a good weekend!!! On Fri, May 15, 2009 at 3:14 PM, Robert Osfield wrote: > Hi John, > > On Fri, May 15, 2009 at 1:59 PM, John Ivar Haugland > wrot

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-15 Thread John Ivar Haugland
7.10.6. I have also compiled QT4.5.1 on this platform. QT compiled without errors when I added the include path /usr/kerberos/include. On Fri, May 15, 2009 at 2:46 PM, Robert Osfield wrote: > Hi John, > > On Fri, May 15, 2009 at 1:41 PM, John Ivar Haugland > wrote: > >

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-15 Thread John Ivar Haugland
ata' is protected > /private/jiha/shivr/JIHA/OSG/OpenSceneGraph-2.8.1-rc4/include/osgShadow/ProjectionShadowMap:77: > within >this context > make[2]: *** > [src/osgShadow/CMakeFiles/osgShadow.dir/LightSpacePerspectiveShadowMap.o] > Error 1 > make[1]: *** [src/osgShadow/CMakeF

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-15 Thread John Ivar Haugland
s/osgShadow.dir/LightSpacePerspectiveShadowMap.o] Error 1 make[1]: *** [src/osgShadow/CMakeFiles/osgShadow.dir/all] Error 2 make: *** [all] Error 2 On Fri, May 15, 2009 at 1:38 PM, John Ivar Haugland wrote: > I have to install OpenSceneGraph on a RHEL 3.2 system. I used cmake 2.6.3 > to setup the make

Re: [osg-users] OpenSceneGraph-2.8.1 release candidate four tagged

2009-05-15 Thread John Ivar Haugland
I have to install OpenSceneGraph on a RHEL 3.2 system. I used cmake 2.6.3 to setup the make system and started to compile. I got the error given below. What can be done to fix this? [ 0%] Building CXX object src/OpenThreads/pthreads/CMakeFiles/OpenThreads.dir/PThread.o /private/jiha/shivr/JIHA/

Re: [osg-users] Development of Qt support as part of osgViewer

2009-05-13 Thread John Ivar Haugland
Hi Jean-Sèbastien, Thanks ! :) It helped to  use the TextureVisitor to disable unrefImageDataAfterApply. Have you tried to share the OpenGL context between the widgets to avoid several instances of all object resources. The QGLWidet has the constructor QGLWidget ( QWidget * parent = 0, const char

Re: [osg-users] Development of Qt support as part of osgViewer

2009-05-12 Thread John Ivar Haugland
--QOSGWidget cow.osg --MTCompositeViewer does not work again. John Ivar Haugland On Mon, May 11, 2009 at 5:33 PM, Martin Beckett wrote: > Probably not the right thread - but I get continual recursive repaint with > QOSGWidget on Qt4.5 when built with the default raster backend. > >

Re: [osg-users] OpenSceneGraph-2.9.4 dev release tagged

2009-04-27 Thread John Ivar Haugland
OpenSceneGraph 2.8.0 on both windows and linux platform) John Ivar Haugland ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] osgviewerQT example

2009-03-18 Thread John Ivar Haugland
I forgot to initialize the ViewerQOSG with a pointer (this) to the QMainWindow "_viewer = new ViewerQOSG(this)". It is ok now. John Ivar Haugland On Wed, Mar 18, 2009 at 3:20 PM, John Ivar Haugland wrote: > Hi, > > I tried to set the QOSGWidget from the examples as

Re: [osg-users] osgviewerQT example

2009-03-18 Thread John Ivar Haugland
QOSGWidget can use all threading models) Platform: Windows XP 32bit, OpenSceneGraph 2.8.0, QT 4.3.3, Visual Studio 2008 Pro. John Ivar Haugland ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] Method to split osg::Geometry

2009-02-20 Thread John Ivar Haugland
n > either. > > Robert. > > On Fri, Feb 20, 2009 at 8:22 AM, John Ivar Haugland > wrote: > > Hi, > > > > I have a single osg::Geode/osg::Geometry with several hundred thousand > > triangels. Is there a method in OpenSceneGraph to split it into smalle

[osg-users] Method to split osg::Geometry

2009-02-20 Thread John Ivar Haugland
Hi, I have a single osg::Geode/osg::Geometry with several hundred thousand triangels. Is there a method in OpenSceneGraph to split it into smaller parts (of type osg::Geode) ? Regards John Ivar Haugland ___ osg-users mailing list osg-users

[osg-users] Single GPU multiple display performance mode

2009-01-26 Thread John Ivar Haugland
Hi, I have one GPU and two screens configured independentlay from each other (Dual view). Nvidia driver 181.20. In "Manage 3D settings" under "Multi-display/mixed-GPU acceleration" I have tried both 1: "Single GPU multiple display performance mode" and 2: "Multiple display performance mode" in co