Re: [osg-users] KdTree support now checked in

2008-07-17 Thread James Killian
I've got some numbers that are interesting: In a build before KDTree.. Matrixd::mult was the most used method: 1367 Matrixd::Mult 1080 Matrixd::makeidentity 982 Group Traverse With KDTree on here is how the numbers stand: 1305 Group::Traverse 1228 Matrix::mult 990 Compute Bound 776

[osg-users] Two warnings in osgWidgets

2008-07-17 Thread Mario Valle
From this morning SVN on AMD 64 bits: /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/Window.cpp: In member function `void osgWidget::Window::_removeFromGeode(osgWidget::Widget*)': /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/Window.cpp:413: warning: converting of negative value

[osg-users] Two warnings in osgWidgets (opps!)

2008-07-17 Thread Mario Valle
From this morning SVN on AMD 64 bits: /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/Window.cpp: In member function `void osgWidget::Window::_removeFromGeode(osgWidget::Widget*)': /users/mvalle/OSG/OpenSceneGraph/src/osgWidget/Window.cpp:413: warning: converting of negative value

Re: [osg-users] KdTree support now checked in

2008-07-17 Thread Adrian Egli OpenSceneGraph (3D)
Sorry, i don't really understand where the bench come from. what did you messured, linesegement intersection visitor? 2008/7/17 James Killian [EMAIL PROTECTED]: I've got some numbers that are interesting: In a build before KDTree.. Matrixd::mult was the most used method: 1367 Matrixd::Mult

[osg-users] osgWidget testing

2008-07-17 Thread Mario Valle
Maybe innocuous, but annoying, messages from some osgwidgets examples. Linux 32bits from this morning SVN. Why osgwidgetbox opens two windows? In osgwidgetframe if I try to reduce the frame size below the minimum I receive lots of: osgWidget: Window [frame] can't call resizeAdd() with the

Re: [osg-users] Freetype Plugin on Windows.

2008-07-17 Thread Colin Dunlop
Try moving your 3rdParty SVN folder to the same level as the OpenScenegraph SVN - this worked for me when I had trouble with this a while back. Cheers, Colin. James Dickson wrote: Hi All, I appologise for bringing this up again :-( but I am stuck getting the freetype plugin to work under

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Ulrich Hertlein
Ulrich Hertlein wrote: SVN builds fine on MacOS X 10.5.4 with cmake 2.6. However when running osgwidgetframe I'm getting errors from the image loader: osgwidgetframe(4187) malloc: *** error for object 0xbfffc3d8: Non-aligned pointer being freed *** set a breakpoint in malloc_error_break to

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Robert Osfield
Hi Ulrich, On Thu, Jul 17, 2008 at 10:18 AM, Ulrich Hertlein [EMAIL PROTECTED] wrote: This apparently is an error in the Quicktime loader that's used for a number of image formats on OS X. I'm actually seeing other problems with the image loader. E.g. 'skydome.osg' doesn't have a texture

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Ulrich Hertlein
Hi Robert! Robert Osfield wrote: Could someone on OS X please try the file under OpenSceneGraph-Data/Images? It appears that at least jpg, tga, gif are causing problems. They result in garbage or a fully transparent quad. Have there been any changes in that area? I did introduce a new

Re: [osg-users] Problem setting a skydome

2008-07-17 Thread Alberto Luaces
Hi David, El Miércoles 16 Julio 2008ES 21:41:49 David Spilling escribió: Alberto, I presume that your skydome has some sort of camera centred transform over it (as per osghangglide's example use); your code doesn't show it. I haven't coded it yet, I wanted to have the near/far issue fixed

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Ulrich Hertlein
Stephan Maximilian Huber wrote: Could someone on OS X please try the file under OpenSceneGraph-Data/Images? It appears that at least jpg, tga, gif are causing problems. They result in garbage or a fully transparent quad. Have there been any changes in that area? I am using the

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Robert Osfield
Hi Stephan, I have just added two new files to SVN/trunk, include/osgDB/AuthenticationMap src/osgDB/AuthenticationMap.cpp Could you add these to the Xcode projects and check that things build. Once you've given the thumbs up I'll tag 2.5.5. Cheers, Robert.

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Paul Melis
FYI, I posted a separate Crashes on exit with some segfaults in 2.5.5. Should have replied to this read instead of posting separately... Paul Robert Osfield wrote: Hi All, I've been doing merges and bug fixes today, and now I'm ready to tag the 2.5.5, but first I need feedback on how well

Re: [osg-users] KdTree support now checked in

2008-07-17 Thread James Killian
Ooops sorry, there is a game http://www.fringe-online.com/ which makes full use of collision detection (anyone can download the install). The test I am running has 10 ships (5 red, 5 blue) that are all shooting at each other. I guess what make these numbers special to me is that for every

Re: [osg-users] KdTree support now checked in

2008-07-17 Thread Robert Osfield
On Thu, Jul 17, 2008 at 1:31 PM, James Killian [EMAIL PROTECTED] wrote: The actual data comes from using the Amd Code Analyzer, while running the game. But what do the values mean? ms? number of times called? number of astronauts in orbit at any one time?

Re: [osg-users] Please test SVN of OpenSceneGraph in prep for 2.5.5 dev release

2008-07-17 Thread Stephan Maximilian Huber
Robert Osfield schrieb: Could you add these to the Xcode projects and check that things build. Once you've given the thumbs up I'll tag 2.5.5. xcode-projects updated, compiles fine on my end, cheers, Stephan ___ osg-users mailing list

Re: [osg-users] Crashes on exit

2008-07-17 Thread Robert Osfield
Hi Paul, Moving the global variables into the scope of the main solves the crash. I presume this must be am issue with the automatic clean up being done in a order that causes problems. I'd strongly recommend against using global variables in the way you have here. Since the crash is easily

Re: [osg-users] Two warnings in osgWidgets (opps!)

2008-07-17 Thread Vican, Justin E.
Hi All, I get the same warnings (64Bit Linux, RHEL 4, gcc3.4.6). -Justin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mario Valle Sent: Thursday, July 17, 2008 3:12 AM To: osg-users@lists.openscenegraph.org Subject: [osg-users] Two warnings in

Re: [osg-users] Calling Wojciech Lewandowski - osgShadow improvements(LiSPSM)

2008-07-17 Thread Jean-Sébastien Guay
Hello Wojtek, Good to hear from you. I have been quite busy recently but I am still open to do this. I understand, I just didn't want to miss the 2.6 deadline, because I think this is an important addition. Good to know you've discovered and fixed a few issues. I haven't used your code

[osg-users] Vertex texture fetch in r600+ ATI cards

2008-07-17 Thread Marko
This is my first post on the lists; hello to everybody and thanks for all the precious info I gathered here in one year of working with openscenegraph. I have a RadeonHD 3850 card working fine with fglrx driver (8.6) in Linux. I have problems running osgshaderterrain example. I get

Re: [osg-users] Freetype Plugin on Windows.

2008-07-17 Thread Jean-Sébastien Guay
Hello James, As Colin mentioned, the 3rdParty directory should be parallel to your OSG sources instead of being inside the build subdirectory as you have it now. For example: ...\somedir\OpenSceneGraph ...\somedir\OpenSceneGraph\build ...\somedir\OpenSceneGraph\include

Re: [osg-users] Calling Wojciech Lewandowski - osgShadow improvements(LiSPSM)

2008-07-17 Thread Robert Osfield
On Thu, Jul 17, 2008 at 2:21 PM, Jean-Sébastien Guay [EMAIL PROTECTED] wrote: I think you should probably send your code in its current state to osg-submissions, that way Robert can keep track of it and it's formally submitted, even if there are some issues to fix after Robert looks at it.

Re: [osg-users] osgWidget testing

2008-07-17 Thread Jeremy Moles
These are all cosmetic warnings, really; things that typically wouldn't appear without having OSG_NOTIFY_LEVEL set to INFO. During development however, I turn them all on. They will certainly be worked out in time... On Thu, 2008-07-17 at 09:29 +0200, Mario Valle wrote: Maybe innocuous, but

Re: [osg-users] Two warnings in osgWidgets (opps!)

2008-07-17 Thread Jeremy Moles
On Thu, 2008-07-17 at 14:22 +0100, Robert Osfield wrote: Hi Justin, I will wait for Jeremy to make a decision on what he wants to do about this warning as just changing types to fix a warning may well loose something elsewhere. Yeah, making these ints should be fine. We won't be able to use

[osg-users] OpenSceneGraph-2.5.5 developer release tagged

2008-07-17 Thread Robert Osfield
Hi All, I have just tagged the OpenSceneGraph-2.5.5 developer release. Links to downloads can be found on at: http://www.openscenegraph.org/projects/osg/wiki/Downloads/DeveloperReleases Details: * OpenSceneGraph-2.5.5, released on 17th July 2008. OpenSceneGraph-2.5.5 has a major addition

Re: [osg-users] Calling Wojciech Lewandowski - osgShadow improvements(LiSPSM)

2008-07-17 Thread Jean-Sébastien Guay
Hello Robert, Might I suggest that you do the same for your screenshot event handler :-) :-) Good suggestion... I had sent it to osg-users for people to test, but I agree, I'll send it in to osg-submissions. Thanks, J-S -- __

[osg-users] osgconv - how to skip loading of ProxyNodes?

2008-07-17 Thread Glenn Waldron
Hi all, I have an .ive file with ProxyNodes in it. When I run osgconv to convert it to another format (in my case .osg), it loads and inlines all the ProxyNode references. Is there a way to disable this behavior? Thanks! Glenn -- Glenn Waldron : Pelican Mapping : http://pelicanmapping.com :

Re: [osg-users] KdTree support now checked in

2008-07-17 Thread James Killian
You know, to be honest I never really cared about what the values meant, but more about the percentage, and I probably should have showed the other numbers to get a full picture. Anyhow I found some info on what those values are I'll paste here: In time-based profiling, the application to be

Re: [osg-users] osgconv - how to skip loading of ProxyNodes?

2008-07-17 Thread Glenn Waldron
I figured it out: for IVE sources there's an option: noLoadExternalReferenceFiles. Don't know about other sources though; I guess it varies by file type. Glenn On Thu, Jul 17, 2008 at 10:45 AM, Glenn Waldron [EMAIL PROTECTED] wrote: Hi all, I have an .ive file with ProxyNodes in it. When I run

Re: [osg-users] Calling Wojciech Lewandowski - osgShadowimprovements(LiSPSM)

2008-07-17 Thread Wojciech Lewandowski
Robert J-S, Ok, I will prepare these files. Give me two days. For sure I will have to reafactor them a little, add osgShadow namespace and cloning constructors. Thats why I wanted Robert to look at the code and give me some hints and guidance what was neglected from OSG formal standpoint so

Re: [osg-users] OpenSceneGraph-2.5.5 developer release tagged

2008-07-17 Thread Rahul Jain
Hi Robert, Builds fine on suse 10.3 x86_64. But facing some problems running osgWidget examples, Not able to find the images required for running the sample examples. For example osgWidget: Widget [BorderLeft] cannot find file osgWidget/border-left.tga to set as it's Image. while running

Re: [osg-users] OpenSceneGraph-2.5.5 developer release tagged

2008-07-17 Thread Robert Osfield
Hi Rahul, You'll need to grab the latest OpenSceneGraph-Data from svn/trunk. Robert. On Thu, Jul 17, 2008 at 4:55 PM, Rahul Jain [EMAIL PROTECTED] wrote: Hi Robert, Builds fine on suse 10.3 x86_64. But facing some problems running osgWidget examples, Not able to find the images required for

Re: [osg-users] osg::Referenced - reference count notification

2008-07-17 Thread Robert Osfield
Hi Sherman, There isn't any mechanism for tracking Referenced::ref()/unref() calls. One could add a observer/callback mechanism to do this, but it'd add an extra if() {} block to all ref()/unref() calls which would be penalize all objects with the overhead, when only a tiny proportion of OSG

Re: [osg-users] Freetype Plugin on Windows.

2008-07-17 Thread James Dickson
that fixed it :-) 2008/7/17 Jean-Sébastien Guay [EMAIL PROTECTED]: Hello James, As Colin mentioned, the 3rdParty directory should be parallel to your OSG sources instead of being inside the build subdirectory as you have it now. For example: ...\somedir\OpenSceneGraph

[osg-users] esc key handler

2008-07-17 Thread Mike Greene
Where in the osg source code is the close down section for when the user hits the esc key? I need to be able to replicate the code via a custom function, so I'd like to have it as a baseline. Mike Greene ___ osg-users mailing list

Re: [osg-users] esc key handler

2008-07-17 Thread Rahul Jain
Mike U can look at the code eventTraversal() in Viewer.cpp at line number 501. This is where viewer is set to be done ones you press esc key. RJ Mike Greene wrote: Where in the osg source code is the close down section for when the user hits the esc key? I need to be able to replicate the code

Re: [osg-users] esc key handler

2008-07-17 Thread Robert Osfield
HI Mike, As RJ says, the code for set the done flag on the viewer is in the Viewer::eventTraversal() code, it just catches a keypress, you can disable the feature by setting the key to 0 via: viewer.setKeyEventSetsDone(0); Robert. On Thu, Jul 17, 2008 at 8:56 PM, Mike Greene [EMAIL

[osg-users] problem with recycled context id's and OPTIMIZE_TEXTURE_SETTINGS

2008-07-17 Thread Brett Wiesner
Hi, Problem: Using OSG 2.4.0 I have built an app that dynamically creates composite viewers that have one of more views. The scene graph is kept around as a ref pointer during the course of multiple viewers. When I delete a composite viewer and create another one and then use the original

Re: [osg-users] problem with recycled context id's and OPTIMIZE_TEXTURE_SETTINGS

2008-07-17 Thread Robert Osfield
Hi Brett, We've done work since 2.4.0 to address this issue, could you please try 2.5.5 or the svn/trunk. Cheers, Robert. On Thu, Jul 17, 2008 at 9:31 PM, Brett Wiesner [EMAIL PROTECTED] wrote: Hi, Problem: Using OSG 2.4.0 I have built an app that dynamically creates composite viewers that

[osg-users] Stereo quad buffering

2008-07-17 Thread Hart, Derek
Hi all, I'm trying to run the osgviewer in a QUAD_BUFFERed stereo mode, but I'm running into problems. As a note, all the other stereo modes work just fine. The following is the output that I'm getting running from the osgShell shortcut: C:\Program Files\OpenSceneGraph\binosgviewer --stereo

[osg-users] PrecipitationEffect not updating

2008-07-17 Thread Murray Curtis
I'm having trouble getting osgParticle::PrecipitationEffect to update. I get particles that just sit stationary in mid air but they do die (fade off) after a few seconds. I added an update callback to the precipitation node and can confirm its getting a valid (updating) framestamp. I'm

[osg-users] crash in frame(); in the multithreading

2008-07-17 Thread Wu Xiaodong
Hi. I begin a new thread for osg::Viewer()::frame(); I create a simple scene , then call osg::Viewer::frame() ; it all works well; while I add some chilld-nodes to a group node, then it crashed in frame(); Is the error generated because of the

[osg-users] (ask) pause the TrackballManipulator

2008-07-17 Thread songbo_1220
hi, everyone! my english is very poor. i want to pause the TrackballManipulator several time for mouse to do other control thing, after the time, the TrackballManipulator continue, i see about the TrackballManipulator's correlation attribue, not find about pause's method. how can i do?

[osg-users] help

2008-07-17 Thread zhangqiang
I have some problems on VPB. When I use --write-threads-ratio,there is a error on GDALOpen; The error message is 0x8144580 directive quoted 0 x memory. The memory can not be read. When I don not use --write-threads-ratio it is ok. When I use --read-threads-ratio,it is ok. I would like to