Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread Ulrich Hertlein
Hi Kim, On 17/09/09 7:08 AM, Kim Cheung wrote: Hello all, I've been seeing a problem with high CPU utilization when using OSG. In my tests, I run osgViewer, and it seems to use most of core 1 on my dual-core machine, while core 0 is basically idle, in the DrawThreadPerContext threading model.

Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread Kim Cheung
Hi Ulrich, Sorry about the lack of system specs. I'm actually using an NVIDIA 7950 GT with the latest drivers. Some other system specs: AMD FX-62 Dual-Core Vista 64-bit If it matters any, I'm using the SVN build of OSG. Thanks for the help. Regards, Kim. Date: Thu, 17

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread Robert Osfield
Hi David, On Wed, Sep 16, 2009 at 8:26 PM, David Angelo vonengel.gro...@googlemail.com wrote: The input data I currently have is a regular grid with holes. At the moment support for irregular meshes is not needed. All mesh manipulationa will be based on the regular grid. Do you have a hint

Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread Robert Osfield
Hi Kim, The high CPU utilization in this case clearly isn't the OSG, but the drivers/OS. Try a different OS/drivers. Also once you home in what combination causes the high CPU utilization go pester NVidia about there driver doing a spinlock. Robert. On Thu, Sep 17, 2009 at 6:08 AM, Kim Cheung

Re: [osg-users] Is the osgOcean Linux bug still present?

2009-09-17 Thread Anthousis Andreadis
Hi Kim, Update on the linux bug issue with the squary waves. Two days ago i compiled the osgOcean v1.0 (not the repository) and i found out that i had the bug that has been described in previous mails. My system is RHEL 4 and the GC a Quadro 5500 with the latest drivers and OpenSceneGraph

[osg-users] AnimationPathCallback, how to return to the initial position

2009-09-17 Thread Francesco Argese
Hi, I'm using AnimationPathCallback to animate an object. It works well. Now I like to return to the initial position. How can I do it? I have tried with reset() method but it don't give me the hoped results. Thank you! Cheers, Francesco -- Read this topic online here:

[osg-users] Error Messages

2009-09-17 Thread Martin Großer
Hello, osg use the std::cerr for the error output and i think it is not so good. I get the error in the console every time. Nvidie PhysX use a class NXUserOutputStream. It is a nice idea for osg, maybe? Cheers, Martin ___ osg-users mailing list

[osg-users] [osgPPU] Using osgPPU

2009-09-17 Thread Hadrien Thomas
Hi! I'm working with OpenSceneGraph 2.8 and I'm wondering how to install osgPPU. I have been to the wiki but I find something about Trac and not osgPPU so I'm lost. http://projects.tevs.eu/osgppu/wiki/TracInstall I downloaded the sources svn co http://svn.tevs.eu/osgPPU/trunk osgPPU and tried

[osg-users] Rendering problem

2009-09-17 Thread Miguel Lokida
Hi, I have built a geometry in which I have defined vertices, faces, normals per face and color per vertex. When I use this code in a simple openscenegraph progam with only one node (the geometry) the rendering is perfect. But, when I use it in my application scenegraph, the color is

Re: [osg-users] Error Messages

2009-09-17 Thread Martin Großer
Robert, thank you. This is very helpful. I'll try it that. Cheers, Martin Am 17.09.2009 12:22, schrieb Robert Osfield: Hi Martin, 2009/9/17 Martin Großer grosser.mar...@gmx.de mailto:grosser.mar...@gmx.de Hello, osg use the std::cerr for the error output and i think it is not

Re: [osg-users] Rendering problem

2009-09-17 Thread J.P. Delport
Hi, Miguel Lokida wrote: Hi, I have built a geometry in which I have defined vertices, faces, normals per face and color per vertex. Mixing per face/per vertex like this causes OSG to fall back to slow OpenGL paths (glBegin and friends). Please try using normals and colours per vertex.

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread David Angelo
Hi Robert, hi folks, The input data I currently have is a regular grid with holes. At the moment support for irregular meshes is not needed. All mesh manipulationa will be based on the regular grid. Do you have a hint how to efficiently triangulate this regular grid with holes? Are you able

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread David Angelo
Hi folks, thanks for the link. I already took a look at this project. It really looks impressive. Currently, all my data is based on regular grids. If it is possible to tag all lattice points of the grid which are located in holes, I could get rid of them later in the geometry shader. In this

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread David Angelo
Hi Brian, hi folks, thanks for the hint. I have a look at streaming meshes. Cheers, David On Wed, Sep 16, 2009 at 9:40 PM, Brian R Hill bhil...@csc.com wrote: Have you looked into streaming meshes? I've only looked at them briefly, but they look somewhat related. Brian This is a PRIVATE

[osg-users] gecko Plugin: NotifyInvalidated not called

2009-09-17 Thread Nils
Hi, Iam testing the osgPlugin gecko to embed a browser window to my osg world. I need events from the browser when the url has changed, for example, a user clicked on a link in the browser window. Normally, the function NotifyInvalidated (class LLEmbeddedBrowserWindow) should be called.

Re: [osg-users] Far Nodes - geometry as background

2009-09-17 Thread Eric Pouliquen
Hi guys, forget my last post, I made a mistake in my code, so all I say is bullshit :? I found a big multi-pages thread on this forum about a skydome, which summarize my problem... Thank you for your answers ! Cheers, Eric -- Read this topic online here:

[osg-users] NESTED_RENDER cameras behaviour

2009-09-17 Thread Eric Pouliquen
Hi all, I'm in a multipass rendering problems session... I've take time to read a lot of posts on this forum about renders layering and so on, but I didn't really understand the NESTED_RENDER property... does it mean that the camera are rendered exactly in the same order there are traversed

Re: [osg-users] Rendering problem

2009-09-17 Thread Robert Osfield
Hi Miguel, It' sounds like lighting or material properties aren't set up correctly, or perhaps your geometry isn't complete in some way. Robert. On Thu, Sep 17, 2009 at 12:19 PM, Miguel Lokida mlok...@yahoo.fr wrote: Hi, I have built a geometry in which I have defined vertices, faces,

Re: [osg-users] gecko Plugin: NotifyInvalidated not called

2009-09-17 Thread Robert Osfield
Hi Nils, To get events back from underlying browser it would probably be best to go with using QWebKit based embedded browser rather than the existing gecko/llmozlib plugin that I wrote last year. QWebKit is far more amenable to getting various events back, although not perfect it's turned out

Re: [osg-users] [osgPPU] Using osgPPU

2009-09-17 Thread Art Tevs
Hi Thomas, have you read the README? carnibirdy wrote: I downloaded the sources svn co http://svn.tevs.eu/osgPPU/trunk osgPPU and tried to use Cmake to install it but it appears that some files are missing or I did something wrong. Please give the error message, which you get when

Re: [osg-users] [osgPPU] Using osgPPU

2009-09-17 Thread Hadrien Thomas
I tried to do what is said in the readme but for now the openscenegraph.org website is down. :O Am I cursed? :D I had to reinstall Cmake because the version was too old. I hope it will not be too difficult to set up osgPPU. Thank you for your help! Ps: The error message was about cuda. I'll

[osg-users] osgUtil::simplifier parameters

2009-09-17 Thread Vincent Bourdier
Hi all, Using the osg simplifier on a geometry, I'm just surprised to see that there is no way to set a level of simplification or something like that. Maybe I didn't saw it, but for the moment I just found _sm-setDoTriStrip(true); //what for ? do triangle strip are more optimized ?

Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread Chris 'Xenon' Hanson
Robert Osfield wrote: Try a different OS/drivers. Also once you home in what combination causes the high CPU utilization go pester NVidia about there driver doing a spinlock. Agreed, it appears this way. Though, I've not seen NVidia Windows drivers spinlock before. Is the problem

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread Chris 'Xenon' Hanson
David Angelo wrote: To make things more interesting, the mesh, hence all of its LODs must be editable during runtime. Bummer. One idea would be to precompute the hierarchy at startup and change the different tiles of the LOD at runtime. Has anybody experience with this? I really think your

[osg-users] Unable to make alpha work in an embedded osgWidget::Box

2009-09-17 Thread César Leonardo Blum Silveira
Hello all, I am trying to embed an osgWidget::Box inside another, but the alpha value of the embedded box (or of the parent box in the area under the embedded box, I don't know) value seems to stop working and everything is shown white. I have attached my code in this message, I think it's the

Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread He, Yefei
Recently I noticed something that might be related as well. The draw stage of my application seems to be blocking on vsync signal, rather than the swap buffers stage. It happens on Windows XP boxes with NVidia cards, regardless if it is the older GeForce 8000 and 9000 series cards or the newer

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread Mike Connell
Martin Beckett wrote: For the streaming mesh have you had a look at http://www.cs.unc.edu/~isenburg/sd/ It's by the same team that did the famous 'triangle' program - but this is free (MIT licence) Cheers, Martin I don't want to rain on anyone's parade, but I don't believe that's

Re: [osg-users] Huge triangle mesh / Geometry Clipmap

2009-09-17 Thread Martin Beckett
Mike Connell wrote: Have you heard differently from the authors? That would be good news indeed. Sorry my memory was playing tricks, the only license statement is: This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied

[osg-users] Having Problems getting the Cam Matrix

2009-09-17 Thread David Goering
Hey, I am trying to get the Cam Matrix and use it in calculations I do in an update Callback. One problem I am currently having is that I can't access the cam, and if I define the Cam as a global variable I get segmentation fualts... most likely because it hasn't been fully initialized yet ?

Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread Kim Cheung
Hi all, I really appreciate all of the feedback. Chris: Yes, I tested osgviewer.exe in release-mode with the cow.osg model, and the problem is always reproducible. It seems the spinlock is occurring somewhere in the OpenThreads::StartPrivateAction::StartThread thread, if that helps at all.

Re: [osg-users] Problems building Plugins dicom - RESOLVED

2009-09-17 Thread Jason Jerald
We are currently using OSG 2.8.2. I see the problem with #define HAVE_CONFIG_H was fixed in the svn/trunk. We may try building the svn/trunk soon for testing. Although we will want to use the latest stable/official release for anything other than testing because our projects will be

Re: [osg-users] osgvolume 2D image stack

2009-09-17 Thread Jason Jerald
I was not able to get wild cards to work under Windows Vista OSG 2.8.2. It did work with files listed on the command line explicitly. Also loading files from a director worked with a command line like osgvolume directoryName When ran from the parent directory. Jason Johannes van

Re: [osg-users] OSG CPU Utilization

2009-09-17 Thread Chris 'Xenon' Hanson
Kim Cheung wrote: Yes, I tested osgviewer.exe in release-mode with the cow.osg model, and the problem is always reproducible. Ok, that's good. It seems the spinlock is occurring somewhere in the OpenThreads::StartPrivateAction::StartThread thread, if that helps at all. Hmm. That