[osg-users] enable/disable a view on a CompositeViewer having more than one view

2008-05-30 Thread Juan Casanueva
Hi, I am new to osg, so I apologise if this question seems trivial. I have looked through the examples and documentation with no luck. I am using a composite viewer, and have two views. I want to be able to let the user disable and enable one of the views using the keyboard keys. I have something

Re: [osg-users] cmake 2.6 issue, latest svn head

2008-05-30 Thread Mattias Helsing
Hi all On 5/29/08, Paul Martz <[EMAIL PROTECTED]> wrote: > Hi Robert -- Current head builds fine on Mac OS X 10.5, cmake 2.4.8 building > gcc makefiles. > > On WinXP SP3, cmake 2.6 building VS8 sln/vcproj files, I get a cmake warning > during configuration. See attached warning dialog screenshot

Re: [osg-users] How can I archieve "antialiasing" in osg 2.4?

2008-05-30 Thread Peter Wraae Marino
Hi, I just tried the: osg::DisplaySettings::instance()->setNumMultiSamples( 4 ); and didn't get it to work either at first try. I found out that is must be called right after osg::ref_ptr viewer = new osgViewer::Viewer; then it worked just fine.. would have been nice with a warning or something w

Re: [osg-users] VPB: Non-geocentric spherical data set

2008-05-30 Thread Robert Osfield
HI Paul, VPB is built around working on earth data, hence the default to WGS84. You can override the size of the spheriod via --radius-equator value and --radius-polar value, a recent bug fix to VPB fixed this functionality so it should work now. It should also be possible to set the coordinate

Re: [osg-users] Problem with osgProducerViewer on new GeForce video cards

2008-05-30 Thread Robert Osfield
Hi Yefei, Could you try the osgViewer from the SVN version of the OSG? There is a workaround written by Wojiech Lewandowski that calls wglMakeCurrent twice to fix a problem when running multiple windows across multiple display, multi-threaded under WindowsXP with NVidia drivers. The submission r

Re: [osg-users] osgDEM usage...

2008-05-30 Thread Robert Osfield
Hi Shayne, The wiki instructions was written in the very early days of the development of osgdem, and is awaiting a rewrite. Today I wouldn't recommend using --xx definition of the coordinate system, you are better off using geospatial imagery/dems. Are you files GeoTiff's? If so then dispense w

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
Hi Jason, In the SVN version of the OSG there is a catch for this. FYI, the PgConfig support works from 2.4.7 on my system so you are possible just a bit unlucky. I will putting out a 2.5.1 release today once I've done some bug fixing work. Robert. On Fri, May 30, 2008 at 12:23 AM, Jason Daly

Re: [osg-users] Loading OSG Models in OpenGL code

2008-05-30 Thread Robert Osfield
Hi Siddharth, I'm not clear on what you actually want to do. Do you want to rendering using the OSG, or just use the OSG purely as a data structure? Robert. On Fri, May 30, 2008 at 4:22 AM, Sid <[EMAIL PROTECTED]> wrote: > Hi, > > Is there any way, I could load an osg model, use some of the osg

Re: [osg-users] Proper method for getting the screen/viewport resolution.

2008-05-30 Thread Robert Osfield
Hi Eric, To get he screen resolution you need to the osg::GraphicsContext::WindowSystemInterface and query the getScreenResolution methods. Have a look at the osgcamera example for guidance. Robert. On Thu, May 29, 2008 at 9:17 PM, eheft <[EMAIL PROTECTED]> wrote: > I have a camera drawback and

Re: [osg-users] enable/disable a view on a CompositeViewer having more than one view

2008-05-30 Thread Robert Osfield
Hi Juan, You need to stop threading before you remove or add views to a CompositeViewer. i.e. viewer.stopThreading(); viewer.addView(view); viewer.startThreading(); The other thing you can do is toggle the cameras associated with the view off by setting their NodeMask to 0x0/0x

[osg-users] Fwd: cmake 2.6 issue, latest svn head

2008-05-30 Thread Robert Osfield
Sent yesterday, but never got through... -- Forwarded message -- From: Robert Osfield <[EMAIL PROTECTED]> Date: Thu, May 29, 2008 at 9:04 AM Subject: Re: [osg-users] cmake 2.6 issue, latest svn head To: OpenSceneGraph Users Hi Paul, The warning doesn't mean anything specificall

Re: [osg-users] How can I archieve "antialiasing" in osg 2.4?

2008-05-30 Thread Robert Osfield
Hi Leeten, Full screen anti-aliasing is different the line and polygon smooth modes, for these you just do stateset->setMode(GL_LINE_SMOOTH, osg::StateAttribute::ON); etc. As for full screen anti-aliasing, the advice given so far won't help you, as it only works for osgViewer based apps that use

Re: [osg-users] Problem with osgProducerViewer on new GeForce videocards

2008-05-30 Thread Wojciech Lewandowski
Hi Yefei, I just noticed your post. Robert told you everything. You may try duplicating of wglMakeCurrent. But I doubt this is the same issue if Producer really runs in SingleThreaded mode. You may check this with VS Debugger. See menu Debug / Windows / Threads panel. SingleThreaded app shou

Re: [osg-users] Operation progress report from OSG Interactive operations

2008-05-30 Thread John Vidar Larring
Hi Robert, See my comments below: Robert Osfield wrote: Hi John, Perhaps a Terrain::init() or update() method would be appropriate - one that goes through all the tiles registered with the terrain and calls init() on them. As for 16 seconds, this is looong time. I am only seeing around a

[osg-users] Vertex attributes: how does implementation of osg::State::disableVertexAttribPointersAboveAndIncluding() work, it is almost never called

2008-05-30 Thread Raymond de Vries
Hi, I am trying to add vertex attributes to my shader program and I am having a crash when I reload the geometry with vertex attributes. Now I am looking into the source and came across the func osg::State::disableVertexAttribPointersAboveAndIncluding(). Looking at the func name I would expe

Re: [osg-users] New Improved DatabasePager, now with even more threading! Please take a taste today :-)

2008-05-30 Thread Robert Osfield
Hi Pagees, I've been looking into the problem of memory growth in the new rev of the DatabasePager and I've tracked the problem down to the new mechanism of attached DatabaseRequest's via a ref_ptr<> to PagedLOD/ProxyNode nodes. The DatabaseRequest themselves had a ref_ptr<> which creates a circu

Re: [osg-users] NaN errors appearing in transparency sorting

2008-05-30 Thread Robert Osfield
Hi All, Back on Wednesday I wrote: > So... please test the SVN version of the OSG and let me know if you > get lots of : > > Warning: RenderBin::copyLeavesFromStateGraphListToRenderLeafList() > detected NaN depth values, database may be corrupted. > > Spewing out, once per frame to your console

Re: [osg-users] Operation progress report from OSG Interactive operations

2008-05-30 Thread Robert Osfield
Hi John, On Fri, May 30, 2008 at 10:24 AM, John Vidar Larring <[EMAIL PROTECTED]> wrote: > Please excuse my ignorance, but osgdem produces pagedLOD databases per > default, doesn't it? At least, the top node of my terrain database start out > like this: Yes by default VPB creates paged databases.

[osg-users] osgSim::SphereSegment implementation

2008-05-30 Thread Enrique Parodi
Hi all, I am developing an app where i need to have SphereSegment-like geometry changing dynamically, so i just wanted to know the advantages that osgSim::SphereSegment implementation has (using drawImplementation with direct calls to OpenGL) over the use of osg::Vec3Array and osg::PrimitiveSets.

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread Robert Osfield
Hi All, I've made various fixes/merges since the last call. Could people do an svn update on OSG and VPB and let me know how you get on. If things look good for OSG this afternoon I'll tag OSG-2.5.1. Before I tag VPB we'll need to get it working with CMake 2.6 so I'll leave that till next week.

[osg-users] I get errors when trying to render to a luminance buffer...

2008-05-30 Thread Viggo Løvli
Hi, I want to render to a floating point buffer, and I set things up like this: tex->setInternalFormat( GL_LUMINANCE16F_ARB ); tex->setSourceFormat( GL_RED ); tex->setSourceType( GL_FLOAT ); camera->setRenderTargetImplementation( osg::Camera::FRAME_BUFFER_OBJECT ); camera->attach( osg::Camer

Re: [osg-users] I get errors when trying to render to a luminance buffer...

2008-05-30 Thread Robert Osfield
Hi Viggo, The warning is exactly right, pbuffers don't suport multiple render targets, only FrameBufferObjects do. Perhaps what you intend it not to use multiple render targets, in which case you should set the Camera attachment to COLOR_BUFFER rather than COLOR_BUFFER0, that later tells the OSG

Re: [osg-users] error in viewer.frame

2008-05-30 Thread Mike Greene
Paul, The program is pretty large with lots of dependencies, so I'm not sure I can attach it here: By SVN head, do you mean using OSG 2.4 instead of 2.3.7? Here is the stack trace: Stack Trace : > osg33-osgd.dll!std::_Vector_const_iterator,std::allocator > >::operator++() Line 117 + 0x

Re: [osg-users] cmake 2.6 issue, latest svn head

2008-05-30 Thread Jean-Sébastien Guay
Hello Mattias, Paul, etc. I have seen this also on linux using CMake-2.6. A fix could be something like IF(CMAKE_VERSION >= 2.6.0) CMAKE_POLICY(VERSION 2.4.8) ENDIF(CMAKE_VERSION >= 2.6.0) This will revert all new policies in 2.6.x to their 2.4.x behavior. Is this what we want? It seems a b

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread J.P. Delport
Hi, busy building. Just some info on cmake so far under Debian Sid: $ cmake --version cmake version 2.6-patch 0 I get a report: ---8<--- CMake Warning (dev) at CMakeLists.txt:347 (ADD_DEFINITIONS): Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically.

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread J.P. Delport
Hi, everything using default ./configure built fine. gcc version 4.2.4 (Debian 4.2.4-1) jp J.P. Delport wrote: Hi, busy building. Just some info on cmake so far under Debian Sid: $ cmake --version cmake version 2.6-patch 0 I get a report: ---8<--- CMake Warning (dev) at CMakeLists.txt:

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread Jean-Sébastien Guay
Hi J.P. Just some info on cmake so far under Debian Sid: $ cmake --version cmake version 2.6-patch 0 I get a report: ---8<--- CMake Warning (dev) at CMakeLists.txt:347 (ADD_DEFINITIONS): Policy CMP0005 is not set: Preprocessor definition values are now escaped automatically. Run "cmake

Re: [osg-users] cmake 2.6 issue, latest svn head

2008-05-30 Thread Zoltán
Jean-Sébastien Guay wrote on Friday 30 May 2008: > The second is more > verbose, but if we ever decide that OSG can't support > CMake 2.4.x in the future (for other reasons) > What do others think is the best course of action? I don't think it's good to only work with the latest versions on all

Re: [osg-users] I get errors when trying to render to a luminance buffer...

2008-05-30 Thread Viggo Løvli
Hi Robert, I modified my code as you suggested. The warning is gone :-) The framerate is now 10 seconds per frame instead of 30 frames per second. It does something. The texture I render to remains black (cleared to black). If I change the setInternalFormat to GL_RGBA then the framerate is u

Re: [osg-users] cmake 2.6 issue, latest svn head

2008-05-30 Thread Jean-Sébastien Guay
Hello Zoltan, My 2 cents: OSG should support cmake 2.4.x as long as possible. Oh, I totally agree, that wasn't the point at all. Both of my proposed changes keep compatibility with 2.4.x and remove the warning in 2.6.x. So that's ok. The difference is only that one change "ignores" the new

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread Jean-Sébastien Guay
Hi Robert, I've made various fixes/merges since the last call. Could people do an svn update on OSG and VPB and let me know how you get on. If things look good for OSG this afternoon I'll tag OSG-2.5.1. Apart from the warning reported by others on CMake 2.6, everything builds fine on Vista,

[osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Adrian Egli OpenSceneGraph (3D)
just wondering if the osg user mailing accepts my email adress or no. was accept up to today adrian -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org

Re: [osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Jean-Baptiste Authesserre
It works JB 2008/5/30 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]>: > > just wondering if the osg user mailing accepts my email adress or no. was > accept up to today > adrian > > -- > > Adrian Egli > ___

Re: [osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Can T. Oguz
Received :) 2008/5/30 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]>: > > just wondering if the osg user mailing accepts my email adress or no. was > accept up to today > adrian > > -- > > Adrian Egli >

Re: [osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Vincent Bourdier
It looks good... 2008/5/30 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]>: > > just wondering if the osg user mailing accepts my email adress or no. was > accept up to today > adrian > > -- > > Adrian Egli > ___

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread Jean-Sébastien Guay
Hi again, Apart from the warning reported by others on CMake 2.6, everything builds fine on Vista, VC++ 2005, both CMake 2.4.8 and CMake 2.6.0. Also building on a VirtualBox VM running Ubuntu 8.04, GCC 4.2.3, CMake 2.4.7, and so far everything looks fine (about 50% in). Though I wouldn't thi

Re: [osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Paul Melis
Amazing how many replies this gets. Unless Adrian has set up his list account so that he doesn't receive his own posts back from the list, I don't see the reason for wanting an answer? Vincent Bourdier wrote: It looks good... 2008/5/30 Adrian Egli OpenSceneGraph (3D) <[EMAIL PROTECTED]

Re: [osg-users] cmake 2.6 issue, latest svn head

2008-05-30 Thread J.P. Delport
Hi, Jean-Sébastien Guay wrote: Hello Mattias, Paul, etc. If we want more fine-grained control, we have the following two options: # around line 17: cmake_policy(SET CMP0005 OLD) or # around line 347 IF(CMAKE_VERSION >= 2.6.0) ADD_DEFINITIONS("-DOSG_DEBUG_POSTFIX='"${CMAKE_DEBUG_P

Re: [osg-users] error in viewer.frame

2008-05-30 Thread Paul Martz
Try forcing SingleThreaded, either in your app by calling Viewer::setThreadModel, or with the env var OSG_THREADING=SingleThreaded. -Paul On May 30, 2008, at 6:44 AM, Mike Greene wrote: Paul, The program is pretty large with lots of dependencies, so I'm not sure I can attach it here:

Re: [osg-users] New Improved DatabasePager, now with even more threading! Please take a taste today :-)

2008-05-30 Thread Serge Lages
Hi Robert, Have you already updated the pager with these changes ? I was looking to the debug crash, but I'll wait for these modifications to see if it changes something. Cheers, On Fri, May 30, 2008 at 12:16 PM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Hi Pagees, > > I've been looking into

Re: [osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Adrian Egli OpenSceneGraph (3D)
Thanks all, because couldn't sent any email yesterday .-( 2008/5/30 Paul Melis <[EMAIL PROTECTED]>: > Amazing how many replies this gets. Unless Adrian has set up his list > account so that he doesn't receive his own posts back from the list, I don't > see the reason for wanting an answer? > > Vi

Re: [osg-users] TEST EMAIL to OSG USER, please answer

2008-05-30 Thread Paul Melis
Adrian Egli OpenSceneGraph (3D) wrote: Thanks all, because couldn't sent any email yesterday .-( This probably wasn't a problem on your end. The mailing list host (dreamhost) seemed to have screwed up yesterday. Paul 2008/5/30 Paul Melis <[EMAIL PROTECTED] >:

[osg-users] Representing a trackball view with a cube

2008-05-30 Thread Poirier, Guillaume
Hello, I am trying to represent a trackball view with a cube, with each face of the cube labelled "front", "top", "right", etc. I'd like the cube to be positioned in the window corner and follow the trackball view. I assume that the initial home position corresponds to the front view. Now I've

Re: [osg-users] Fwd: cmake 2.6 issue, latest svn head

2008-05-30 Thread Philip Lowman
On Fri, May 30, 2008 at 4:26 AM, Robert Osfield <[EMAIL PROTECTED]> wrote: > Sent yesterday, but never got through... > > -- Forwarded message -- > From: Robert Osfield <[EMAIL PROTECTED]> > Date: Thu, May 29, 2008 at 9:04 AM > Subject: Re: [osg-users] cmake 2.6 issue, latest svn h

Re: [osg-users] Representing a trackball view with a cube

2008-05-30 Thread Paul Martz
OSG's Trackball manipulator (and other core OSG manipulators) set the modelview matrix so that +Z is up. If you'd like to use +Y up, you'll need to derive a new manipulator. BTW, I think this is covered in the online FAQ as well as the Quick Start Guide. -Paul On May 30, 2008, at 8:21

Re: [osg-users] Fwd: cmake 2.6 issue, latest svn head

2008-05-30 Thread Jean-Sébastien Guay
Hi Philip, I think Jean-Sébastien's suggestion of setting cmake_policy CMP0005 to OLD is the best option here because we want compatibility with CMake 2.4.x. I'll send it as a submission in a minute. J-S -- __ Jean-Sebastien Guay[EMAI

Re: [osg-users] Please test SVN of OpenSceneGraph and VirtualPlanetBuilder in prep for dev releases

2008-05-30 Thread Paul Martz
OK on Mac OS X 10.5, cmake 2.4.8 w/ gcc makefiles. -Paul On May 30, 2008, at 6:12 AM, Robert Osfield wrote: Hi All, I've made various fixes/merges since the last call. Could people do an svn update on OSG and VPB and let me know how you get on. If things look good for OSG this afternoon I

Re: [osg-users] Vertex attributes: how does implementation of osg::State::disableVertexAttribPointersAboveAndIncluding() work, it is almost never called

2008-05-30 Thread Raymond de Vries
bound, 20080530 #if 0 while (index< _vertexAttribArrayList.size()) { EnabledArrayPair& eap = _vertexAttribArrayList[index]; if (eap._enabled || eap._dirty) { eap._enabled = false; eap._d

Re: [osg-users] error in viewer.frame

2008-05-30 Thread Mike Greene
Paul - Thanks! That fixed the problem. Can you explain why this was needed? /Paul Martz wrote: Try forcing SingleThreaded, either in your app by calling Viewer::setThreadModel, or with the env var OSG_THREADING=SingleThreaded. -Paul / ___ osg-use

Re: [osg-users] I get errors when trying to render to a luminance buffer...

2008-05-30 Thread Robert Osfield
Hi Viggo, When performance drops like this it's because you've dropped onto a software fallback path in the OpenGL driver. Exactly what formats are software vs hardware depends upon the hardware and OpenGL drivers. You'll need to check with your hardware vendors specs to see what will be hardware

Re: [osg-users] New Improved DatabasePager, now with even more threading! Please take a taste today :-)

2008-05-30 Thread Robert Osfield
Hi Serge, On Fri, May 30, 2008 at 2:42 PM, Serge Lages <[EMAIL PROTECTED]> wrote: > Have you already updated the pager with these changes ? I checked in the changes about 20 mins after my previous post, so yes they are checked in now. > I was looking to the debug crash, but I'll wait for these m

Re: [osg-users] Fwd: cmake 2.6 issue, latest svn head

2008-05-30 Thread Robert Osfield
On Fri, May 30, 2008 at 3:47 PM, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > Hi Philip, > >> I think Jean-Sébastien's suggestion of setting cmake_policy CMP0005 to OLD >> is the best option here because we want compatibility with CMake 2.4.x. > > I'll send it as a submission in a minute. Now

Re: [osg-users] error in viewer.frame

2008-05-30 Thread Paul Martz
Not without more info. Your app was somehow executing some code that wasn't thread-safe, possibly a callback or a custom node. -Paul On May 30, 2008, at 9:04 AM, Mike Greene wrote: Paul - Thanks! That fixed the problem. Can you explain why this was needed? Paul Martz wrote: Try forcing

Re: [osg-users] Representing a trackball view with a cube

2008-05-30 Thread Poirier, Guillaume
Can you tell me where it is in the code ? I see in MatrixManipulator::MatrixManipulator() that the view is set as follows: _homeEye.set(0.0,-1.0,0.0); _homeCenter.set(0.0,0.0,0.0); _homeUp.set(0.0,0.0,1.0); How does that relate to what you are saying ? -Original Message- From: [EMAIL

Re: [osg-users] I get errors when trying to render to a luminance buffer...

2008-05-30 Thread Viggo Løvli
Ok, that make sense. It happens every time I render with a floating point texture. The fall in framerate does not happen when I run the OSG multi render target example using HDR. My code does however use additive blending toward the floating point texture so I bet that is what cause it to fall

Re: [osg-users] Vertex attributes: how does implementation of osg::State::disableVertexAttribPointersAboveAndIncluding() work, it is almost never called

2008-05-30 Thread Robert Osfield
index > ) > { > if (_glDisableVertexAttribArray) > { > // Fix by RdV, to avoid a crash when a non-existing vertex array is still > bound, 20080530 > #if 0 > while (index< _vertexAttribArrayList.size()) > { > EnabledArrayPair& eap = _vert

Re: [osg-users] Representing a trackball view with a cube

2008-05-30 Thread Paul Martz
I think you just answered your own question, as that code sets the eye position at -Y (looking towards +Y), with +Z up -- just like I said. You'll want a different orientation in your app's manipulator. -Paul On May 30, 2008, at 9:38 AM, Poirier, Guillaume wrote: Can you tell me where i

Re: [osg-users] error in viewer.frame

2008-05-30 Thread Robert Osfield
On Fri, May 30, 2008 at 1:44 PM, Mike Greene <[EMAIL PROTECTED]> wrote: > Paul, > > The program is pretty large with lots of dependencies, so I'm not sure I > can attach it here: > By SVN head, do you mean using OSG 2.4 instead of 2.3.7? Oh I might guess that Paul might have have SVN head, *not*

Re: [osg-users] Fwd: cmake 2.6 issue, latest svn head

2008-05-30 Thread Jean-Sébastien Guay
Hi all, Now merged, thanks guys! Philip, any chance you could work that CMake 2.6 magic you did on OSG into the VPB CMakeLists.txt files? It has the same CMP0003 problem OSG had, and same symptoms on building (libs don't have an extension, so Visual C++ thinks they're .obj files). BTW, fo

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: Hi Jason, In the SVN version of the OSG there is a catch for this. FYI, the PgConfig support works from 2.4.7 on my system so you are possible just a bit unlucky. I will putting out a 2.5.1 release today once I've done some bug fixing work. Hi, Robert, I'm aware tha

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
On Fri, May 30, 2008 at 5:07 PM, Jason Daly <[EMAIL PROTECTED]> wrote: > I'm aware that there was a fix put into svn, and I made sure I had the > latest update before testing it. I checked the CMakeLists.txt to be sure it > was there, and it was. It just doesn't seem to be working. > > I guess th

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: The new code is in OpenSceneGraph/CMakeLists.txt is: #use pkg-config to find various modues FIND_PACKAGE(PkgConfig) IF(PKG_CONFIG_FOUND) ... Yes, as I said, that code is in the version I have. This should prevent problems. Could you please post problems you get on

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
Hi Jason, On Fri, May 30, 2008 at 6:59 PM, Jason Daly <[EMAIL PROTECTED]> wrote: > Robert Osfield wrote: >> >> The new code is in OpenSceneGraph/CMakeLists.txt is: >> >> #use pkg-config to find various modues >> FIND_PACKAGE(PkgConfig) >> >> IF(PKG_CONFIG_FOUND) >> ... >> > > Yes, as I said, that

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Robert Osfield
Hi Jason, I have introduced the follow: IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) FIND_PACKAGE(PkgConfig) ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) Hopefully this will fix your outdated CM

[osg-users] OpenSceneGraph-2.5.1 dev release tagged.

2008-05-30 Thread Robert Osfield
Hi All, I've just tagged the OpenSceneGraph-2.5.1 developer release which can be downloaded from: http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases * OpenSceneGraph-2.5.1, released on 30th May 2008. OpenSceneGraph-2.5.1 introduces a revamped database pager that prov

[osg-users] OpenSceneGraph 2.4.1 stable release?? If/when/when/who

2008-05-30 Thread Robert Osfield
Hi All, There has been a number of build and bug fixes to the OSG since 2.4 that would be nice to fixed as part a 2.4.x stable family. While desirable there are practical issues to overcome to make a stable series possible, which is why I'd like to strike up this thread to see what we as communit

Re: [osg-users] Problem with osgProducerViewer on new GeForce videocards

2008-05-30 Thread Yefei He
Hi, Justin, Thanks for the info. Yes, I think "OSG_THREADING" is used by the newer osgViewer, which alternatively takes the option --SingleThreaded or --CullDrawThreadPerContext, etc. to switching between threading modes. On the other hand, the older Producer based osgProducerViewer does us

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: Hi Jason, I have introduced the follow: IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) FIND_PACKAGE(PkgConfig) ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) Hopefully this w

[osg-users] Visual Studio, Iterator Debugging, Secure SCL, Slow Performance, and getFileExtension "bug"

2008-05-30 Thread Posch, Stephan
I've recently been working on upgrading code from VC7 to VC9, and have run into all kinds of fun issues. The most significant problem/pain has been the ridiculously slow debugging introduced when compiling with iterator debugging (default behavior of VC8/VC9). I've waded through that mess, gettin

Re: [osg-users] Visual Studio, Iterator Debugging, Secure SCL, Slow Performance, and getFileExtension "bug"

2008-05-30 Thread Jean-Sébastien Guay
Hello Steve, If you don’t want to be bored by the details, it basically says that VC8 & VC9 have a bug when Iterator Debugging is turned off with regards to iterator copying, and that Microsoft doesn’t intend to address it until VC10. In my specific case, that bug causes an assertion at the r

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: I could easily do that on one workstation, yes. It's more of an issue when you're dealing with a lab of several dozen workstations. This is why we pay to run Red Hat Enterprise. Pay for out of date tools... do you get upgrades included? Of course, in fact, we g

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Jason Daly
Robert Osfield wrote: Hi Jason, I have introduced the follow: IF (${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) FIND_PACKAGE(PkgConfig) ENDIF(${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION} STRGREATER 2.4.5) Hopefully this w

[osg-users] Debug VPB build problems on Windows

2008-05-30 Thread Paul Martz
Has anyone done a Debug build of the VPB svn head on Windows using cmake 2.6 and VS8? I am getting a slew of unresolved symbols from osgTerrain and osgDB. For example, here's output from an osgdem link attempt: 1>osgdem.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public

Re: [osg-users] Fwd: cmake 2.6 issue, latest svn head

2008-05-30 Thread Philip Lowman
On Fri, May 30, 2008 at 12:03 PM, Jean-Sébastien Guay < [EMAIL PROTECTED]> wrote: > Hi all, > > Now merged, thanks guys! >> > > Philip, any chance you could work that CMake 2.6 magic you did on OSG into > the VPB CMakeLists.txt files? It has the same CMP0003 problem OSG had, and > same symptoms o

Re: [osg-users] osgDEM usage...

2008-05-30 Thread eheft
Shayne, I got my data working by using gimp to flip the y axis on my image. -- Eric ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] CMake issue on RHEL 5

2008-05-30 Thread Philip Lowman
On Fri, May 30, 2008 at 1:59 PM, Jason Daly <[EMAIL PROTECTED]> wrote: > Robert Osfield wrote: > >> The new code is in OpenSceneGraph/CMakeLists.txt is: >> >> #use pkg-config to find various modues >> FIND_PACKAGE(PkgConfig) >> >> IF(PKG_CONFIG_FOUND) >> ... >> >> > > Yes, as I said, that code is