Re: [osg-users] mingw compiling problem

2007-05-07 Thread Andreas Goebel
galvatron brinkley schrieb: I'm trying to compile OSG using mingw/msys fresh install. I've downloaded OSG from the SVN and copied it into my home dir, compiled cmake and ran cmake -G MSYS Makefiles, now the fun part: when i run make, openthreads compiles fine, but when osg trys to compile, it

[osg-users] Principle for 1.9.x and 2.0 - Simpler yet more Powerful

2007-05-07 Thread Robert Osfield
Hi All, There have been quite a few major changes to the OpenSceneGraph over the last six months, all these changes are in preparation for 2.0. I haven't really discussed at a high level where I'm going with all these changes, so with this post I'm hoping to flag up what all these disparate

Re: [osg-users] JPEG-2000 / Jasper include not found

2007-05-07 Thread Robert Osfield
Hi Martin, Could you have a look at the OpenSceneGraph/CMakeModules/FindJasper.cmake file to see whether it needs tweaking. Enable the verbose build mode might help work out what is going on. Curiously jasper on my machine (Suse 10.0 Linux) is located in /usr/include /usr/lib, but the include

Re: [osg-users] JPEG-2000 / Jasper include not found

2007-05-07 Thread Martin Spott
Hi Robert, Robert Osfield wrote: Could you have a look at the OpenSceneGraph/CMakeModules/FindJasper.cmake file to see whether it needs tweaking. Enable the verbose build mode might help work out what is going on. Surprisingly 'FindJasper.cmake' _does_ list /usr/local/include in

Re: [osg-users] missing file 'CameraConfig' in osgProducer in osg 1.9

2007-05-07 Thread amalric alexandre
Okay, thank you for the explanation it's seem more clear to me now. In fact I use osgProducer because, you're right, I maintain an application in wich you can choose between producer or our own viewer based on osgViewer. It lets the choice to the final user, but finaly we only display with our

Re: [osg-users] Principle for 1.9.x and 2.0 - Simpler yet more Powerful

2007-05-07 Thread Andreas Goebel
On the yet more Powerful front we have: 8) osgShadow library (still in development) Hi Robert, would you like to get test reports for osgShadow, or is it still too early in development for that? Regards, Andreas 9) osgManipulator library 10) osgTerrain - new height field

Re: [osg-users] Principle for 1.9.x and 2.0 - Simpler yet more Powerful

2007-05-07 Thread Robert Osfield
On 5/7/07, Andreas Goebel [EMAIL PROTECTED] wrote: 8) osgShadow library (still in development) Hi Robert, would you like to get test reports for osgShadow, or is it still too early in development for that? Its probably worth waiting till I have completed a bit more of osgShadow. The

[osg-users] IntersectVisitor returns a no hit on a moving object, when it should return a hit.

2007-05-07 Thread ADI LIAV
Hello. I am using the IntersectVisitor function to find an intersection with a specific object in a scene. The object is moving and the ray definitely hits the object, but the IntersectVisitor returns a no hit. When doing the same but the object is static there is a hit. I suspected it

Re: [osg-users] JPEG-2000 / Jasper include not found

2007-05-07 Thread Martin Spott
Martin Spott wrote: Surprisingly 'FindJasper.cmake' _does_ list /usr/local/include in FIND_PATH(JASPER_INCLUDE_DIR jasper/jasper.h [...] ) as well as /usr/local/lib in FIND_LIBRARY(JASPER_LIBRARY [...] ) make -f src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/build.make

Re: [osg-users] Principle for 1.9.x and 2.0 - Simpler yet more

2007-05-07 Thread Martin Spott
Robert Osfield wrote: Its probably worth waiting till I have completed a bit more of osgShadow. The framework is there but there a number of short comings that I need to deal with before it gets heavily pounded. Do you consider the current scope of the osgShadow API as stable ?

[osg-users] osgTerrain gdal 1.4.1 bug with osg-1.2.0

2007-05-07 Thread Loic Dachary
Hi, http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=422476 shows that the introspection of osgTerrain stopped compiling with gdal-1.4.1 I've disabled it and Debian GNU/Linux packages for OSG compiles fine. Cheers, -- +33 1 76 60 72 81 Loic Dachary

[osg-users] CMakeSetup - How do I .... ?

2007-05-07 Thread Philip Taylor
A silly question perhaps, but when I run CMakeSetup under WinXP, it leaves three fields blank and the OK button is disabled. The first two CMakeSetup questions are answered as follows (other suggestions?) Where is the source code:C:\Projects\OSG\OpenSceneGraph Where to build the binaries:

[osg-users] Porting osgProducer::Viewer to osgViewer::Viewer

2007-05-07 Thread Kallfass, Daniel, SDGE1
Hello, I'm porting our application from Producer to osg::Viewer but I'm missing some important features that osgProducer::Viewer and Producer had: - osgProducer::Viewer::computeNearFarPoints - setAutoAspect() from Producer::Camera::Lens for automatic adjustment of aspect ratio Any

Re: [osg-users] IntersectVisitor returns a no hit on a moving object, when it should return a hit.

2007-05-07 Thread Robert Osfield
Hi Liav, It should be necessary to call dirtyBound unless you are modify an osg::Geometry, and it IntersectVisitor doesn't care about DataVariance - intersections with moving parts should in theory just work. Unfortunately I don't know where to suggest to you where to look for the problem, I'm

Re: [osg-users] JPEG-2000 / Jasper include not found

2007-05-07 Thread Robert Osfield
Hi Martin, On 5/7/07, Martin Spott [EMAIL PROTECTED] wrote: make -f src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/build.make src/osgPlugins/jp2/CMakeFiles/osgdb_jp2.dir/depend Scanning dependencies of target osgdb_jp2 cd /usr/local/src/OpenSceneGraph /usr/local/bin/cmake -E cmake_depends Unix

Re: [osg-users] Principle for 1.9.x and 2.0 - Simpler yet more

2007-05-07 Thread Robert Osfield
Hi Martin, On 5/7/07, Martin Spott [EMAIL PROTECTED] wrote: Its probably worth waiting till I have completed a bit more of osgShadow. The framework is there but there a number of short comings that I need to deal with before it gets heavily pounded. Do you consider the current scope of the

Re: [osg-users] Problems porting Producer to osgViewer

2007-05-07 Thread Kallfass, Daniel, SDGE1
Hi Robert, I couldn't get OSG to render into a plain QWidget under Windows - OSG fails to create an opengl graphics context. It's working fine using a QGLWidget. I have no idea why it doen't work, but the solution with the QGLWidget works for me right now. Thanks, Daniel

Re: [osg-users] Different nodes in left and right eye with stereo

2007-05-07 Thread Julian Looser
Hi Robert, Maybe I'm not understanding what osgstereoimage does. I'm in Windows and at the command prompt I run: set OSG_STEREO=ON set OSG_STEREO_MODE=HORIZONTAL_SPLIT osgstereoimage.exe left.jpg right.jpg left.jpg and right.jpg are white 800x600 images with big LEFT and RIGHT written in

Re: [osg-users] Porting osgProducer::Viewer to osgViewer::Viewer

2007-05-07 Thread Robert Osfield
Hi Daniel, On 5/7/07, Kallfass, Daniel, SDGE1 [EMAIL PROTECTED] wrote: Hello, I'm porting our application from Producer to osg::Viewer but I'm missing some important features that osgProducer::Viewer and Producer had: - osgProducer::Viewer::computeNearFarPoints This method projects mouse

Re: [osg-users] Different nodes in left and right eye with stereo

2007-05-07 Thread Robert Osfield
Hi Julia, Robert. On 5/7/07, Julian Looser [EMAIL PROTECTED] wrote: Hi Robert, Maybe I'm not understanding what osgstereoimage does. I'm in Windows and at the command prompt I run: set OSG_STEREO=ON set OSG_STEREO_MODE=HORIZONTAL_SPLIT osgstereoimage.exe left.jpg right.jpg left.jpg and

[osg-users] vrNav2osg7-08 virtual reality navigator released end of April

2007-05-07 Thread Joan Slottow
The first non-beta version of vrNav2osg7-08 our virtual reality navigator was released at the end of April. vrNav2, our original virtual reality navigator for scientific and architectural models, was built on top of Performer and vrJuggler. vrNav2osg, built on top of OpenSceneGraph and

[osg-users] OpenFLT

2007-05-07 Thread Bosse, Michael A @ Link
I am currently using a node visitor applied to the group root node of my scene to locate by name, nodes in a scenegraph loaded from an open flight file. My code works properly for any situation where there is no group node below the db node in the database. The code I am using is the standard

[osg-users] new osgCal: preliminary version available

2007-05-07 Thread GMD GammerMaxyandex.ru
new version osgCal only for Linux? Help my find VS2003 project ( ___ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/

RE: [osg-users] OpenFLT

2007-05-07 Thread Paul Martz
There's a FindNamedNode visitor in the Quick Start Guide examples, maybe that'll help you find the problem with your code. http://www.openscenegraph.com/osgwiki/pmwiki.php/Documentation/QuickStartGui de -Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bosse,

RE: [osg-users] Problems porting Producer to osgViewer

2007-05-07 Thread Hartman, Michael W. (MSFC-NNM06AA05Z)[PEOPLETEC]
Daniel, What I have found working with osgViewer and Windows, is that if you are assigning OSG to use an existing window/control is that you must set the pixelformat for that window/control before OSG can render to that window/control. I'm not familiar with QWidget but it sounds like the

RE: [osg-users] Principle for 1.9.x and 2.0 - Simpler yet more Powerful

2007-05-07 Thread Paul Martz
Any thoughts on the timeline for 2.0? I'd like to get my osgOQ NodeKit (hardware occlusion query support) into the 2.0 release, but need to put in a few more tweaks. For planning purposes, it'd be nice to know how much time is available. -Paul We still have a way to go before 2.0, the new

RE: [osg-users] global light

2007-05-07 Thread Paul Martz
perhaps it is a simple question for you, but I am new and so... I have created a spot light, but I think that the illumination is not correct. I realized that there is a light on the camera I think. Now i want to turn this light of, so that the scene is dark and then I want to switch on my

RE: [osg-users] SceneView in osgViewer

2007-05-07 Thread Paul Martz
If the developer just needs to use GL_LIGHT0 for their own purposes, then I don't think they'd need any new methods in View to do that. I think they can just create a Light with number 0 and change its parameters. How does OSG respond when there are two Light objects with the same number? If the

Re: [osg-users] Different nodes in left and right eye with stereo

2007-05-07 Thread Jean-Sébastien Guay
Hello Robert and Julian, I was curious, so... set OSG_STEREO=ON set OSG_STEREO_MODE=HORIZONTAL_SPLIT osgstereoimage.exe left.jpg right.jpg Could someone else test this under Windows? Works for me. WinXP SP2, OSG from SVN last week (I guess equivalent to 1.9.2) compiled with Visual Studio

RE: [osg-users] OpenFLT

2007-05-07 Thread Bosse, Michael A @ Link
The code in the book example experiences the same issue that I am confronted with. Apparently, when a flt file has a particular structure, it does not appear that a node visitor applied at the root node will traverse all of the child nodes. Some of our flt databases have multiple group nodes

Re: [osg-users] SceneView in osgViewer

2007-05-07 Thread Robert Osfield
Hi Paul, On 5/7/07, Paul Martz [EMAIL PROTECTED] wrote: If the developer just needs to use GL_LIGHT0 for their own purposes, then I don't think they'd need any new methods in View to do that. I think they can just create a Light with number 0 and change its parameters. How does OSG respond

Re: [osg-users] OpenFLT

2007-05-07 Thread Robert Osfield
Hi Michael, Write the model out to a .osg file, this will give you a clear indication of what structure the scene graph has once its loaded. Another thing to look at is the effect that running the osgUtil::Optimizer has on the scene graph. Robert. On 5/7/07, Bosse, Michael A @ Link [EMAIL

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Vladimir Shabanov
2007/5/7, GMD GammerMaxyandex.ru [EMAIL PROTECTED]: new version osgCal only for Linux? Help my find VS2003 project ( I think transfer to CMake build system (the one used in OSG itself) should solve VS build problems. At the moment I have no time for this. Any volunteers?

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Luigi Calori
Vladimir Shabanov wrote: 2007/5/7, GMD GammerMaxyandex.ru [EMAIL PROTECTED]: new version osgCal only for Linux? Help my find VS2003 project ( I think transfer to CMake build system (the one used in OSG itself) should solve VS build problems. At the moment I have no time for this. Any

Re: [osg-users] Tessellator build failed under cygwin

2007-05-07 Thread Brian Keener
Shuxing Xiao wrote: The openThreads and osg all build successfully, but I keep getting the following error when building under cygwin.   I’m building the newest osg version of the SVN. And my gcc version is 3.4.4 I too am having this problem on 3.4.4 but I had previously built

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Vladimir Shabanov
2007/5/7, Luigi Calori [EMAIL PROTECTED]: I think transfer to CMake build system (the one used in OSG itself) should solve VS build problems. At the moment I have no time for this. Any volunteers? I can try to help, would be nice to have clear which are the dependency of osgCal (cal3d ?)

Re: [osg-users] Tessellator build failed under cygwin

2007-05-07 Thread Robert Osfield
On 5/7/07, Brian Keener [EMAIL PROTECTED] wrote: I'm building the newest osg version of the SVN. And my gcc version is 3.4.4 I too am having this problem on 3.4.4 but I had previously built succesfully under Cygwin so it must be a recent change I am guessing. Have you had any luck Shuxing

RE: [osg-users] OpenSceneGraph-1.9.3 dev version released

2007-05-07 Thread Mike Wittman
Hi Robert, I'm getting a link error building osgwrapper_osgViewer in 1.9.3: HelpHandler.obj : error LNK2019: unresolved external symbol __declspec(dllimport) public: void __thiscall osgViewer::HelpHandler::reset(void) ([EMAIL PROTECTED]@osgViewer@@QAEXXZ) referenced in function public:

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vladimir Shabanov wrote: * unix tool `sed' for converting *.glsl into shaders/*.h files (It would be good if this step will be configurable, i.e. end users use generated shaders/*.h files, while developers have an option to regenerate them when

Re: [osg-users] OpenSceneGraph-1.9.3 dev version released

2007-05-07 Thread Robert Osfield
Hi Mike, Curious, I haven't changed the HelpHandler for quite a while, so this reset() method will have been in there for in SVN and all the 1.9.xreleases. Does your error report now suggest that genwrapper has picked up on something new, or is it simply that this is the first time you've

Re: [osg-users] Different nodes in left and right eye with stereo

2007-05-07 Thread Julian Looser
Hi, Thank you both for trying it out. Clearly there is something wrong at my end. I'll try and figure it out and let you know. :-) Julian. Jean-Sébastien Guay wrote: Hello Robert and Julian, I was curious, so... set OSG_STEREO=ON set OSG_STEREO_MODE=HORIZONTAL_SPLIT osgstereoimage.exe

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Vladimir Shabanov
2007/5/7, Jan Ciger [EMAIL PROTECTED]: Vladimir Shabanov wrote: * unix tool `sed' for converting *.glsl into shaders/*.h files (It would be good if this step will be configurable, i.e. end users use generated shaders/*.h files, while developers have an option to regenerate them when source

RE: [osg-users] CMakeSetup - How do I .... ?

2007-05-07 Thread Philip Taylor
Hi Mathieu, Thanks for the info - I'll give it a go in a few minutes. PhilT -Original Message- From: Mathieu MARACHE [mailto:[EMAIL PROTECTED] Sent: 07 May 2007 20:58 To: Philip Taylor Subject: Re: [osg-users] CMakeSetup - How do I ? Yes it's sufficient. however I would

RE: [osg-users] OpenSceneGraph-1.9.3 dev version released

2007-05-07 Thread Mike Wittman
Hi Robert, That's rather weird then... 1.9.1 was the last version I tested and it built fine. It looks like the reset method is defined in osgViewer::HelpHandler in that release, as you've said. However it is not reflected in the generated wrapper code for osgViewer::HelpHandler. To my

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Jeremy L. Moles
On Tue, 2007-05-08 at 00:03 +0400, Vladimir Shabanov wrote: 2007/5/7, Jan Ciger [EMAIL PROTECTED]: Vladimir Shabanov wrote: * unix tool `sed' for converting *.glsl into shaders/*.h files (It would be good if this step will be configurable, i.e. end users use generated shaders/*.h

[osg-users] Fixing osgwrapper_osg Windows x64 build error

2007-05-07 Thread Mike Wittman
Hi everybody, There's been a long-standing compilation error when building the Array.cpp file for the osg Wrapper library for Windows x64: Array.cpp c:\sts\3rdpartylibs\osg\1.9.3\openscenegraph\include\osgintrospection\in stancecreator(125) : fatal error C1128: number of sections exceeded

Re: [osg-users] OpenSceneGraph-1.9.3 dev version released

2007-05-07 Thread Robert Osfield
Hi Mike, On 5/7/07, Mike Wittman [EMAIL PROTECTED] wrote: Are you able to build the osgViewer wrapper successfully from the 1.9.3release? I would think you'd get the same link error with g++. Yes everything built fine. gcc is often more relaxed about linking so this is no surprise.

Re: [osg-users] new osgCal: preliminary version available

2007-05-07 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeremy L. Moles wrote: I can't say I agree with this at all. If you must, have a directory layout of shaders in an archive of some such and load them from there... you could even build a shader buffer internally based on various criteria during

Re: [osg-users] mingw compiling problem

2007-05-07 Thread galvatron brinkley
I'm still getting undefined reference errors, I've tried clearing the cmake cache and also checking the make VERBOSE=1, it is linking correctly (or atleast trying), so i'm out of ideas as to what could be the problem now. to make sure it wasn't conflicting with other versions of osg on my windows

Re: [osg-users] SceneView in osgViewer

2007-05-07 Thread Robert Osfield
Hi Paul, I have now added SceneView style methods for controlling the viewer global light, the new additions to osg::View are: /** Options for controlling the global lighting used for the view.*/ enum LightingMode { NO_LIGHT, HEADLIGHT,

Re: [osg-users] Moving OpenThreads into OpenSceneGraph SVN source?

2007-05-07 Thread Martin Spott
Hi Luigi, Robert, Luigi Calori wrote: IF(UNIX AND NOT WIN32 AND NOT APPLE) IF(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(LIB_POSTFIX 64 CACHE STRING suffix for 32/64 dir placement) MARK_AS_ADVANCED(LIB_POSTFIX) ENDIF(CMAKE_SIZEOF_VOID_P MATCHES 8) ENDIF(UNIX AND NOT WIN32 AND NOT

RE: [osg-users] SceneView in osgViewer

2007-05-07 Thread Paul Martz
Excellent. I understood your previous post regarding how HEADLIGHT would work in a multiple-camera single-View scenario, so thanks for clarifying that for me. The methods you've added to View look like they'll do the trick nicely and ease my documentation process. Thanks again. -Paul

[osg-users] pre-caching textures / ATI problem

2007-05-07 Thread Kenneth Riddile
I have no experience with OSG, but I've been assigned to fix an issue we're having when running our OSG powered games that only happens when running on an ATI card. Time is an issue, so I'm asking the question up front instead of waiting until I'm familiar with OSG, in case it rings any bells

Re: [osg-users] Tessellator build failed under cygwin

2007-05-07 Thread Brian Keener
Brian Keener wrote: I'm not sure if I am getting all responses or not as I see my posts hitting the  archive but I am having view difficulties on the archives viewing the recent  posts so I'm not sure if everything is getting through. Sheesh, I'm not having a good day - I posted this but got

Re: [osg-users] Moving OpenThreads into OpenSceneGraph SVN source?

2007-05-07 Thread Luigi Calori
Martin Spott wrote: Hi Luigi, Robert, Luigi Calori wrote: IF(UNIX AND NOT WIN32 AND NOT APPLE) IF(CMAKE_SIZEOF_VOID_P MATCHES 8) SET(LIB_POSTFIX 64 CACHE STRING suffix for 32/64 dir placement) MARK_AS_ADVANCED(LIB_POSTFIX) ENDIF(CMAKE_SIZEOF_VOID_P MATCHES 8) ENDIF(UNIX AND

[osg-users] Framestamp changes in svn head

2007-05-07 Thread Doug McCorkle
Hello, I noticed that there is a new member function in the framestamp class called setSimulationTime. What is the the difference between setSimulationTime and setReferenceTime? I could not tell the difference from the osgviewer code. Thanks for the help. Doug

Re: [osg-users] Framestamp changes in svn head

2007-05-07 Thread Drew Whitehouse
ReferenceTime is the time that the viewer is using to calculate statistics like frames/second etc, so you can think of it as the internal realtime clock and you generally don't want to touch it. SimulationTime is the time that updateVisitors will see, so things like animated nodes are evaluated