Re: [osg-users] VirtualPlanetBuilder now ported over to use CMake

2007-06-27 Thread J.P. Delport
Hi Rudolf, what I do for the external is to edit the svn:externals property once OSG is downloaded to point to https instead of http, maybe you can try that. jp Wiedemann, Rudolf, OPS3 wrote: Hi Robert, it was just a faulty setting of "GDAL_DIR" on my side. Now compiling with "DYNAMIC_VIRTU

Re: [osg-users] Mailing List Archive search function broken

2007-06-07 Thread J.P. Delport
Hi, can confirm that I also had to use google to find newer messages. I think htDig is not updating its database. jp Matthew D. Plumlee wrote: > Hi all, > >I'm having a bear of a time trying to get my embedded window to > resize (by calling resized(...) or resizedImplementation(...) directl

Re: [osg-users] osgdem error

2007-06-07 Thread J.P. Delport
t; information with my configuration... snif.. > > Manu. > > > 2007/6/7, J.P. Delport <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > Hi, > > you can add info with gdal_translate, e.g. I have saved this > command f

Re: [osg-users] osgdem error

2007-06-07 Thread J.P. Delport
Hi, you can add info with gdal_translate, e.g. I have saved this command for myself: #fix a tiff after its been through the gimp gdal_translate -a_srs WGS84 -a_ullr 19.1 -32.2 19.2 -32.3 infile.tif outfile.tif cheers jp Emmanuel Roche wrote: > hmmm don't you really have any idea what the comman

Re: [osg-users] Dynamic camera paths

2007-06-05 Thread J.P. Delport
Hi Morne, I've done something like this, though not exactly the same. One gotcha I found was that getting the matrix from the Trackball was not enough to reset it later. Internally the trackball works with a distance, rotation and center, (thats a scalar, quat and vec3) and all this info is not en

Re: [osg-users] OpenThreads::Mutex win32 vs pthread inconsistencies

2007-06-04 Thread J.P. Delport
tions that depend on the initialisation. regards jp Paul Speed wrote: > > > J.P. Delport wrote: >> I have code that depends on the non-recursive behaviour, > > This is more of a curiosity thing and since I'm used to recursive locks > it may be a limitation in my

Re: [osg-users] OpenThreads::Mutex win32 vs pthread inconsistencies

2007-06-01 Thread J.P. Delport
have deadlocks under Linux in > these instances - when these cases do exist the OSG already uses > ReentrantMutex. If we had threading code coming from Windows to > other platforms this would be a greater issue. Agree fully, don't fix the Linux code if it ain't broken. jp

Re: [osg-users] OpenThreads::Mutex win32 vs pthread inconsistencies

2007-06-01 Thread J.P. Delport
ad should block itself in this case. CRITICAL_SECTION > doesn't support that, as far as I know. It does block other threads though. > > My apologies, >-Paul > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Be

Re: [osg-users] OpenThreads::Mutex win32 vs pthread inconsistencies

2007-05-31 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi J.P. > > Must admit I haven't used trylock in the OSG which is possibly why we > haven't hit upon this issue before. The same actually happens with lock() on win32 with USE_CRITICAL_SECTION. I just used trylock() in the example to show the return value problem. cu

Re: [osg-users] Re: intersection tests w/paged databases

2007-05-30 Thread J.P. Delport
Hi, sherman wilcox wrote: > Since I didn't get any replies the first time around, I'd like to > offer a possible solution. > > What if the main visualization app sent queries (TCP/IP, IPC, etc.) to > another process which performed all the intersection tests. > Admittedly, this isn't high-perform

Re: [osg-users] Matrix getRotate problem

2007-05-29 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi J.P, > > Thanks for you efforts if scoping out this issue. If case 3 is the > best we have then its worth reverting back to/adding it back it via > optional compile. For now case 3 does seem to satisfy all the test cases encountered so far, so it should be a safe

Re: [osg-users] Matrix getRotate problem

2007-05-29 Thread J.P. Delport
ining question is therefore: Do we want to cater for the case where matrices contain scale and rotation? comments? regards jp J.P. Delport wrote: > Hi, > > the new corner case as mentioned by Lars Nilsson in thread: > "fix for getRotate() in osg::Matrix" > > is

Re: [osg-users] Matrix getRotate problem

2007-05-29 Thread J.P. Delport
Hi, the new corner case as mentioned by Lars Nilsson in thread: "fix for getRotate() in osg::Matrix" is for the case where the matrix (we would like to get the rotation from) is not purely a rotation. The test Robert coded for this contains: osg::Matrix matrix(0.5, 0.0, 0.0, 0.0,

Re: [osg-users] Matrix getRotate problem

2007-05-29 Thread J.P. Delport
y do we need to revisit. > > In this case if we revert, we fix one problem, but break another > > Robert. > > On 5/29/07, J.P. Delport <[EMAIL PROTECTED]> wrote: >> Hi, >> >> a problem was reported earlier with the heading: >> "Bug: Trac

Re: [osg-users] Matrix getRotate problem

2007-05-29 Thread J.P. Delport
e fix one problem, but break another > > Robert. > > On 5/29/07, J.P. Delport <[EMAIL PROTECTED]> wrote: >> Hi, >> >> a problem was reported earlier with the heading: >> "Bug: TrackballManipulator::computePosition" by >> Wojciech Lewan

[osg-users] Matrix getRotate problem

2007-05-29 Thread J.P. Delport
Hi, a problem was reported earlier with the heading: "Bug: TrackballManipulator::computePosition" by Wojciech Lewandowski It turns out the problem is caused by the Matrix getRotate() function in Matrix_implementation. Checked against latest svn 6782. As a test one can run: osgunittests quat to s

Re: [osg-users] svn externals and https

2007-05-23 Thread J.P. Delport
Hi, I think its prob better to leave the external as it is now. https stuff below Martin Spott wrote: > "Robert Osfield" wrote: > >> Would there be any problem with everybody checking the svn:external >> OpenThreads out as https? If not I can change it to this. > > Well, I _do_ see a problem

Re: [osg-users] svn externals and https

2007-05-22 Thread J.P. Delport
Hi, Robert Osfield wrote: > Would there be any problem with everybody checking the svn:external > OpenThreads out as https? If not I can change it to this. >From Martin's email in this thread it seems that some svn clients does not support ssl, so maybe forcing https is not the best option. >

Re: [osg-users] svn externals and https

2007-05-22 Thread J.P. Delport
Debian svn package. jp Martin Spott wrote: > "J.P. Delport" wrote: > >> I was wondering if there was an easier way to do this? Some svn magic or >> whatever. > > foehn: 15:28:40 ~/SCM/OSG> svn checkout > https://www.openscenegraph.com/svn/[...] >

[osg-users] svn externals and https

2007-05-22 Thread J.P. Delport
Hi, from my workplace I can only access the OSG subversion repositories using https. Today was the first time I updated to the OSG version where the svn:externals property is used to pull in the OpenThreads source. Problem is that the externals refer to the http (not https) repo. I manually chang

Re: [osg-users] osgdem out of memory

2007-04-16 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi J.P. > > You could try a 64 bit build, but it might just get you a bit further. This was what I also feared. I might try it anyway though, just to see how far it gets. > The problem is that the current rev of osgdem/VirtualPlanetBuilder > keeps two rows of layer i

[osg-users] osgdem out of memory

2007-04-16 Thread J.P. Delport
Hi, I've been running the osgdem from SVN on a large dataset. I get the following error after around a week of processing: terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc >From searches on the error it seems that there was a memory allocation problem in th

Re: [osg-users] OpenSceneGraph with CMake on FreeBSD

2007-04-12 Thread J.P. Delport
Hi, > Could you do a SVN update and let me know if these changes work fine > on your system without needing to update cmake. > > Cheers, > Robert. I updated to svn rev 6488 and it built without problems. There was something strange at the end of the output though, I might have just not seen it

Re: [osg-users] OpenSceneGraph with CMake on FreeBSD

2007-04-12 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi J.P, > > On 4/12/07, J.P. Delport <[EMAIL PROTECTED]> wrote: >> I have blindly gone and deleted the CMAKE_MINIMUM_REQUIRED line in the >> top level CMakeLists.txt on Debian sid. OSG and OT compiled fine. > > What version of Cmake d

Re: [osg-users] OpenSceneGraph with CMake on FreeBSD

2007-04-11 Thread J.P. Delport
Hi, Robert Osfield wrote: > Hi Martin, > > On 4/11/07, Martin Spott <[EMAIL PROTECTED]> wrote: >> CMake Error: This project requires version 2.4.6 of CMake. You are >> running version 2.4.5. >> >> >> Any idea how this could be solved ? It certainly is not a brilliant >> idea to require every Deb

Re: [osg-users] CMake - Linux debug build - apps/examples problem

2007-03-25 Thread J.P. Delport
Hi, I also saw this double linking problem. It seems to be created by the CMake scripts once one has two versions of libOpenThreads in /usr/local/lib. (maybe the detection script?) If you look at your OSG dir now you should see both OT libs in e.g. applications/osgviewer/CMakeFiles/application_os

Re: [osg-users] CMake - Linux debug build - apps/examples problem

2007-03-25 Thread J.P. Delport
Hi, for some reason when I change the static variable s_WindowingSystemInterface in GraphicsContext.cpp from a ref_ptr to a normal pointer, the apps and examples work in the debug build. I cannot explain why though? jp JP Delport wrote: > Hi all, > > I've been trying to build a debug version of

Re: [osg-users] Still pictures for and osg scene

2007-03-02 Thread J.P. Delport
Hi, I do something like this after draw stage: osg::ref_ptr im = new osg::Image; im->readPixels(0,0,m_ViewportWidth,m_ViewportHeight, GL_RGB, GL_UNSIGNED_BYTE); std::stringstream ss; wxDateTime now = wxDateTime::UNow(); ss << "_Screenshot_" << now.Format("%Y%m%d%H%M%S.") << std::setw(3) << std::s

Re: [osg-users] RSI strikes, time to take it easy

2007-03-01 Thread J.P. Delport
Hi, dozen might be optimistic :) Hope you get better soon. regards jp from http://packages.debian.org/unstable/gnome/workrave [dep] libart-2.0-2 (>= 2.3.16) [dep] libatk1.0-0 (>= 1.9.0) [dep] libbonobo2-0 (>= 2.13.0) [dep] libbonoboui2-0 (>= 2.5.4) [dep] libc0.1 (>= 2.3.5-1) [kfreebsd-i386] [de

Re: [osg-users] using osgdem with thousands of input files

2007-02-23 Thread J.P. Delport
Hi, you could look at gdal_merge I've used it on Linux as e.g.: gdal_merge.py -o merged.tif `find . -name "*.dt1"` then you only have to supply the merged names to osgdem. cheers jp Wojciech Lewandowski wrote: > Thanks, I will do it if there is no other option. I hoped that maybe > GDAL has

Re: [osg-users] osgText: font aliasing issue

2007-02-23 Thread J.P. Delport
Hi, I had also some troubles with fonts and no matter what I set the fontresolution at, I got characters that sometimes looked clipped (some at top, some bottom...). Sometimes even the same character was clipped in different ways when places at different positions. What fixed it for me was to use

Re: [osg-users] rotation problem with osgGA::TrackballManipulator

2006-12-21 Thread J.P. Delport
Hi Frédéric, for me it was much more intuitive to work with the internal variables _distance, _rotation and _center of the MatrixManipulator class (from which Trackball is derived). I added functions to my own base class to get and set these values directly (just make a copy of OSG's one and stick

Re: [osg-users] WIndows build?

2006-11-16 Thread J.P. Delport
Hi, I've seen the "old DIB in *.ico" when an ico file was treated as text and converted to Unix eol syntax. You could try to run unix2dos on the file to see if this is the problem. regards jp Thom DeCarlo wrote: > Don, > > No. It looks like there is a relative path that is set incorrectly: > >

Re: [osg-users] Gnuplot on Producer's window..

2006-11-08 Thread J.P. Delport
sorry, forgot the link: [1] http://www.jinr.ru/programs/jinrlib/gluplot/docs/html/index.html jp J.P. Delport wrote: > Hi Esther, > > currently I am using OSG inside a wxWidgets app, one can have an OpenGL > Canvas mixed with other widgets that does 2D drawing and UI stuff, but

Re: [osg-users] Gnuplot on Producer's window..

2006-11-08 Thread J.P. Delport
Hi Esther, currently I am using OSG inside a wxWidgets app, one can have an OpenGL Canvas mixed with other widgets that does 2D drawing and UI stuff, but I have not been able to find a gnuplot widget :(. I have also ran into gluplot [1], basically gnuplot that uses OpenGL for rendering. One could

Re: [osg-users] Missing file during compile

2006-10-26 Thread J.P. Delport
Hi, dpkg -S gif_lib.h gives libungif4-dev on both sarge and sid here. regards jp John Wojnaroski wrote: > Hi, > > new to osg > > Running Debian; stable version, following error msg > >> make[4]: Entering directory >> `/dos/OSG_OP_OT-1.2/OpenSceneGraph/src/osgPlugins/gif/Linux32.Opt' >> g

Re: [osg-users] shaders and disappearing primatives

2006-10-23 Thread J.P. Delport
Hi, maybe have a look at osg::CullSettings::setCullingMode (for e.g. SceneView) or setCullingActive (for most nodes) calls. jp Charles Cosse wrote: > Just figured it out, partially, at least: The original vertices are > still present, the fragment is being shifted procedurally; So, culling > is

Re: [osg-users] OT : Rendering to memory with Mesa

2006-10-09 Thread J.P. Delport
Hi, we're using an OSMesa32 (Offscreen Mesa with a floating point frame buffer in host memory) context coupled to SceneView. All rendering is done in software and can be debugged/looked at with gdb. regards jp Don Burns wrote: > Has anyone had experience doing a fully software based renderer usi

Re: [osg-users] crash on Qt app end Glut app with OSG 1.2

2006-10-04 Thread J.P. Delport
> ... > My configuration is PC Bi-Xeon, Windows XP SP2, Nvidia quadro FX4400, > driver 91.36_forceware_quadro_winxp2k_english_whql. > Gines. > > > > > J.P. Delport a écrit : >> Hi, >> >> have a look at the workarounds suggested in the thread >>

Re: [osg-users] crash on Qt app end Glut app with OSG 1.2

2006-10-04 Thread J.P. Delport
Hi, have a look at the workarounds suggested in the thread "Problems loading 3DS files since OSG 1.1" and report if it works for you. Could you also elaborate on your configuration, OS, Video Card, Drivers. jp gines belando wrote: > Hello, > I'm porting my app from OSG 1.0 to OSG 1.2. > I use QT

Re: [osg-users] Re: Problems loading 3DS files since OSG 1.1

2006-10-03 Thread J.P. Delport
Hi, from previous threads: it is possible to trigger the bug/feature/weirdness using simply: osgglutkeyboardmouse cow.osg so the problem is not 3DS specific. It would also be good, as Robert suggested, to test with the newer osgsimpleviewerGLUT versus osgsimpleviewerProducer. The problem seems

Re: [osg-users] Problems loading 3DS files since OSG 1.1

2006-09-26 Thread J.P. Delport
Hi Marc, I'm taking a guess here, but it sounds like the same problem some people ran into with using SceneView (post OSG 1.0), display lists and NVidia cards on Windows. I'm not sure if VRJuggler uses SceneView, but search for the threads by "Gian Lorenzetto" on model loading. The workaround su

Re: [osg-users] Problem loading model on 1.1rc1

2006-08-29 Thread J.P. Delport
Hi all, Robert Osfield wrote: > Hi Gian, > > On 8/29/06, *Gian Lorenzetto* <[EMAIL PROTECTED] > > wrote: > > Actually, to narrow it down, the problem is seems to be between > 1.0rc4 and 1.1 … > > > Curious, the changes I thought that might have an impact were

Re: [osg-users] Problem loading model on 1.1rc1

2006-08-25 Thread J.P. Delport
Hi, seems you've run into the same problem as discussed earlier by Gian Lorenzetto. Search for threads "Producer and Win32" and "OSG initialisation failure with 1.1.1rc1 + NVidia ...". A suggestion was made to call SceneView->init earlier in the app, but I'm not sure if this will work for you. S

Re: [osg-users] Mouse Interaction and OSG 1.0 / 1.1

2006-08-21 Thread J.P. Delport
Hi Mike, if you are using custom manipulators or event handlers, take a look at the changes in osgGA. GUIEventAdapter is now a concrete class, where one could previously derive from osgGA::GUIEventAdapter and override methods for e.g. getX(), one now has to explicitly call e.g. setX(). rgds jp

Re: [osg-users] Producer and Win32

2006-08-20 Thread J.P. Delport
s > > sceneView->cull(); > > // draw the rendering bins. > > sceneView->draw(); > > SwapBuffers(); > > There's no other OSG code really. > > BTW Apologies for the formatting, but I'm using a web based email client and > I can't seem to c

Re: [osg-users] Producer and Win32

2006-08-18 Thread J.P. Delport
it's got to be something with my class derived from wxGLCanvas or my build > env ... > > > -Original Message- > From: [EMAIL PROTECTED] on behalf of J.P. Delport > Sent: Fri 8/18/2006 11:20 PM > To: osg users > Subject: Re: [osg-users] Producer and Win32 > &

Re: [osg-users] Producer and Win32

2006-08-18 Thread J.P. Delport
27;m misusing SetCurrent in some way. > > -Original Message----- > From: [EMAIL PROTECTED] on behalf of J.P. Delport > Sent: Fri 8/18/2006 11:00 PM > To: osg users > Subject: Re: [osg-users] Producer and Win32 > > Hi, > > my update/cull/draw is all inside onIdle. > > In onP

Re: [osg-users] Producer and Win32

2006-08-18 Thread J.P. Delport
Hi, my update/cull/draw is all inside onIdle. In onPaint there is only the following: --8<--- onPaint(wxPaintEvent& e) { wxPaintDC dc(this); #ifndef __WXMOTIF__ if (!GetContext()) return; #endif SetCurrent(); } --8<--- rgds jp Gian Lorenzetto wrote: > Hey, > > Hmm ... do you ac

Re: [osg-users] Producer and Win32

2006-08-18 Thread J.P. Delport
ome > very nice features. > > I'd be interested in hearing what other wxWidgets users are doing ... > > Thanks, > Gian > > > -Original Message- > From: [EMAIL PROTECTED] on behalf of J.P. Delport > Sent: Fri 8/18/2006 6:41 PM > To: osg users &

Re: [osg-users] Producer and Win32

2006-08-18 Thread J.P. Delport
Hi, I've had some funnies with the wx SetCurrent() call. Are you calling this before the first frame? jp Gian Lorenzetto wrote: > Hi all, > > > > Since moving from 1.0 to 1.1.1rc1 I have a problem relating to the > current graphics context using a wxWidgets wxGLCanvas (on Win32). > > > >

Re: [osg-users] NodeTrackerManipulator - Object roll causes 180 degree

2006-08-02 Thread J.P. Delport
Hi Mike, I think the problem is the choice of the vector used to calculate the azimuth/heading. The switchover at 90 and -90 roll indicates that a vector to the side of the object is used and not to its front. If a vector to the front is used, the switch should occur at pitch 90 and -90. try doub

Re: [osg-users] NodeTrackerManipulator - Object roll causes 180 degree Azimuth

2006-08-01 Thread J.P. Delport
Hi Mike, I've had a problem with computeLocalToWorld when the resulting matrix is converted to a quaternion. It also happened at angles divisable by 90deg. The matrix to quat conversion has been fixed in CVS, so you might want to give it a shot. I'm unsure if such a conversion happens in NodeTra

Re: [osg-users] Absolute Pivot Piont - OSGviewer

2006-07-31 Thread J.P. Delport
Hi David, search in TrackballManipulator.cpp for "Pushing forward". At a certain zoom level, the center (focus position) gets moved. I think you can influence this with the setMinimumZoomScale method. Another options is to make your own trackball with the push forward code removed or some other fu

Re: [osg-users] How to use OverlayNode with a Globe created by OSGDEM

2006-07-26 Thread J.P. Delport
Hi, I use it as follows: set the globe as the child of the OverlayNode, e.g. mGridOverlayNode->addChild(mTerrainGroup.get()); set the stuff you want in the overlay as the overlay subgraph, e.g. mGridOverlayNode->setOverlaySubgraph(mGridGroup.get()); attach the overlay node to the root of my sce

Re: [osg-users] Updating vertex data at runtime?

2006-07-25 Thread J.P. Delport
Hi Werner, look in the help for the following functions (e.g. in osg::Geometry): geom->setUseDisplayList(false); or geom->dirtyDisplayList(); cheers jp [EMAIL PROTECTED] wrote: > > Hi. > > I have a question regarding updating vertex values at runtime for a > geometry object. > > In my scene

[osg-users] OverlayNode - Removal of texture from far side of subgraph possible?

2006-05-31 Thread J.P. Delport
Hi, I am using the osgSim::OverlayNode with an earth model attached as the subgraph. I have a local coordinate system with the 0 position at some point on the planet. When I generate an overlay, it appears in the position that I want, but also on the opposite side of the globe. Is there a way to

Re: [osg-users] hard time trying to set a node's Heading Pitch and Roll properly

2006-05-29 Thread J.P. Delport
Hi, try reversing the order of your rotations. The following works for me in a local coordinate system with x-north, y-east, z-down. (model x-forward, y-right, z-down) osg::Quat hpr = osg::Quat(osg::DegreesToRadians(rdeg), osg::Vec3d(1,0,0), os