Re: [osg-users] writeNodefile Culling nodemask

2010-02-04 Thread Robert Osfield
Hi Martin, On Wed, Feb 3, 2010 at 9:01 PM, Martin Beckett m...@mgbeckett.com wrote: Is there a better approach? Construct you scene graph into parts that need to be saved, and parts that are just decoration? -Basically I just want to flag certain nodes (and their children) as not part of

Re: [osg-users] [vpb] Are we too optimistic about large database generation ?

2010-02-04 Thread Robert Osfield
HI Massimo, To avoid all the osgdem tasks from having to parse all the source files VPB supports generating a cache of all the geospatial details of the source files. The vpbcache tool can be used to read the original source file and then generate a cache file from this. You then provide this

Re: [osg-users] Example of geographical position

2010-02-04 Thread Robert Osfield
Hi Tony, Have a look at the osgsimuluation example as this uses the CoordinateSystemNode/EllipsoidModel to provide conversion between lat/long/height to XYZ. Robert. On Thu, Feb 4, 2010 at 12:12 AM, Tony Vasile ming...@gmail.com wrote: Hi,    I'm a newbie and trying to find as many examples

[osg-users] Regression: 2.9.6, slow paths geometry w/ BIND_PER_PRIMITIVE normals breaks state set handling.

2010-02-04 Thread Simon Hammett
As per the subject. I've attached a modified version of osgViewer.cpp which shows the issue. The codes works fine in 2.8.2 2.7.1 I had a quick look at the code, but there's been way too many changes from 2.8.2 to 2.9.6 for me to find out what broke. Also state set loading when opening .osg

Re: [osg-users] Regression: 2.9.6, slow paths geometry w/ BIND_PER_PRIMITIVE normals breaks state set handling.

2010-02-04 Thread Robert Osfield
Hi Simon, On Thu, Feb 4, 2010 at 9:58 AM, Simon Hammett s.d.hamm...@googlemail.com wrote: I've attached a modified version of osgViewer.cpp which shows the issue. The codes works fine in 2.8.2 2.7.1 I had a quick look at the code, but there's been way too many changes from 2.8.2 to 2.9.6

Re: [osg-users] Navigating terrain elevation files using OSG

2010-02-04 Thread Phanindra Talabathula
Hi, I have used VirtualPlanetBuilder (osgdem) to generate the DB and then used osgviewer to navigate the dted files. It worked fine. Happy !!! Thanks a lot for the inputs.. Regards, Phanindra -- Read this topic online here:

[osg-users] [osgPlugins] vrml plugin

2010-02-04 Thread Luis Agero
Hi, I am new with OpenSceneGraph and I have one problem that I can´t solve. I try to compile osg with vrml plugin and I have this error: Build started: Project: Plugins vrml, Configuration: Debug Win32 -- linking... LINK : fatal error LNK1104: cannot open file

[osg-users] Nightly builds on OS X

2010-02-04 Thread Paul Martz
Hi all -- Has anyone tried to run a Nightly build on OS X? I have an 8-core Mac Pro, but the build seems to use no more than 2 cores regardless of how I specify (or don't specify) the -j and -l make options. I wonder if this might be some limitation of CDash. Thanks, -Paul

Re: [osg-users] Regression: 2.9.6, slow paths geometry w/ BIND_PER_PRIMITIVE normals breaks state set handling.

2010-02-04 Thread Simon Hammett
On 4 February 2010 10:19, Robert Osfield robert.osfi...@gmail.com wrote: Hi Simon, On Thu, Feb 4, 2010 at 9:58 AM, Simon Hammett s.d.hamm...@googlemail.com wrote: I've attached a modified version of osgViewer.cpp which shows the issue. The codes works fine in 2.8.2 2.7.1 I had a

[osg-users] [osgOcean] osgOcean Geometry

2010-02-04 Thread Paul Palumbo
I'm running osgOcean and I'm only interested into ocean surface effects (the geometry in particular). I also have a hard time limit on each frame time. However, with osgOcean, I'm seeing some large spikes in processing time that are causing me problems. In particular, I'm seeing the

Re: [osg-users] Using PolytopeIntersector from the root of the scene graph instead of camera

2010-02-04 Thread Peter Hrenka
Hi Julien-Charles, Julien-Charles Lévesque schrieb: [...] Here is my code... stripped down to a minimum. I assume that you have a 4x4 matrix containing orientation of your selector (lOrientation) and a vec3 containing it's position (lPosition). I built the polytope to point in the direction

Re: [osg-users] [osgOcean] osgOcean Geometry

2010-02-04 Thread Kim Bale
Hi Paul, Yes you're right this is due to the rather inefficient method of updating the surface primitives and vertices that osgOcean uses at the moment. Explained here: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/2009-December/036735.html Like I say in that post I

Re: [osg-users] [osgOcean] Problem building osgOcean in visual studio 9.0.

2010-02-04 Thread Kim Bale
Hi Chris, I've built osgOcean again 2.8.2 with vs2008 on xp,vista and win7 without issue. So i'm rather at a loss on this one. Can you be more specific about the CMake settings your using? Maybe I'll be able to spot something. Regards, Kim. On 3 February 2010 21:54, Chris Innanen

[osg-users] setThreadSafeRefUnref

2010-02-04 Thread Trajce Nikolov
Hi Robert, can we make this call to change the settings only if it different from the current one? Nick http://www.linkedin.com/in/tnick ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] PagedLod dataBasePager memory managment

2010-02-04 Thread Vincent Bourdier
of virus signature database 4835 (20100204) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread Robert Osfield
Hi Nick, On Thu, Feb 4, 2010 at 1:53 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: can we make this call to change the settings only if it different from the current one? It only has an effect when you don't have atomic reference counting built-in, in which case it toggles whether it'll

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread Trajce Nikolov
the thing that causes me troubles is the user data. I ran into a case of making the scene graph cyclic. I store in user data some nodes, so it ended up into infinite loop when adding a new view (startThreading sets this to a value). So my point is to have something like if

[osg-users] multiple osgShadow::ShadowMap

2010-02-04 Thread PCJohn
Hi, Is it possible to have multiple shadow maps? I mean, f.ex., two light sources and two osgShadow::ShadowMap casting two shadows in a single pass? Studying osgShadow::ShadowMap shows that it is not directly supported. Anyway, I created two ShadowMaps, made one parent of the other and a

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread Robert Osfield
Hi Nick, Thread safe ref/unref makes no differences to circular references that you create in your application/scene graph. It's simply not safe to create circular references, you have to break them to be able to avoid memory leaks and the best way to do this is to use an osg::Observer,

Re: [osg-users] writeNodefile Culling nodemask

2010-02-04 Thread Martin Beckett
robertosfield wrote: Construct you scene graph into parts that need to be saved, and parts that are just decoration? That was my first approach - at the root I had 'scene' and 'display' groups and only save the 'scene' tree. But it would be nice to be able to attach decorations

[osg-users] [osgPPU] osgPPU cube map sample

2010-02-04 Thread Sebastien Nerig
Hi, I would like to know what is the aim of the cube map sample. When I launch this sample, I've got some satellite objects that are moving arround a bigger sphere, this sphere seems to be mapped with an envmap made of 6 colors (red, green etc...). But the envmap is not dynamic (ie the

Re: [osg-users] PagedLod dataBasePager memory managment

2010-02-04 Thread Robert Osfield
Hi Vincent, On Thu, Feb 4, 2010 at 2:16 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: So when the file size in memory estimation exceed the free memory estimated, the load is not done. But this is the point : if I return /ERROR_IN_READING_FILE, /won't the file be added to a black

Re: [osg-users] [osgPPU] osgPPU cube map sample

2010-02-04 Thread Sebastien Nerig
Hi, Well I had a look in the code shader, you set gl_fragColor with a color depending on the face index osgppu_CubeMapFace. The corresponding update code is in void UnitInOut::init() method. That's why the bigger sphere holds colors. But the samplerCube input is unused in this sample, why ? Is

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread Trajce Nikolov
Hi Robert, havent used observer ptrs so far. But sounds like a good hint .,, Thanks ! Nick http://www.linkedin.com/in/tnick On Thu, Feb 4, 2010 at 5:51 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, Thread safe ref/unref makes no differences to circular references that you

Re: [osg-users] Using PolytopeIntersector from the root of the scene graph instead of camera

2010-02-04 Thread Julien-Charles Lévesque
Hi Peter, What do you mean by a degenerated polytope of volume 0 ? That polytope definitely doesn't have a null volume since I've been using it to select objects in my application and it works. The four planes all have the same starting point because I want the polytope to be a pyramid coming

Re: [osg-users] PagedLod dataBasePager memory managment

2010-02-04 Thread Vincent Bourdier
. __ Information from ESET NOD32 Antivirus, version of virus signature database 4835 (20100204) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http

Re: [osg-users] PagedLod dataBasePager memory managment

2010-02-04 Thread Robert Osfield
On Thu, Feb 4, 2010 at 4:23 PM, Vincent Bourdier vincent.bourd...@gmail.com wrote: What difference will it makes if I return FILE_LOADED or ERROR_IN_READING_FILE ? If you didn't load the file you shouldn't return a FILE_LOADED, so since with don't have an INSUFFICIENT_MEMORY_TO_LOAD (or

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread Trajce Nikolov
hi Robert, just for the sake of clarification I dont have circular scenegraph. But what I do have, I put in userdata nodes from the scene graph. In Node::setThreadSaferefUnref() you are setting that for the userdata as well. And from here I get into circle, because the user data contains

Re: [osg-users] OSG and GL studio...

2010-02-04 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Brett and Paul, Thanks for your responses. My initial inquiry was to ping the OSG group to see if anyone had any experience regarding OSG and GL studio. Specific questions will be forthcoming as we embark on this. In answer to Paul's question, we are essentially using a Drawable callback that

Re: [osg-users] [osgPPU] osgPPU cube map sample

2010-02-04 Thread Art Tevs
Hi Sebastian, the purpose of the cube map demo was not to show the reflection, but to show that with osgPPU one can also use CubeMaps to render the results to. So using this example one can build its own reflection effect by processing relfected data through osgPPU for example. Cheers, Art

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread Robert Osfield
Hi Nick, On Thu, Feb 4, 2010 at 4:33 PM, Trajce Nikolov nikolov.tra...@gmail.com wrote: hi Robert, just for the sake of clarification I dont have circular scenegraph. Errr what you describe below is a circular scene graph, UserData is still part of the scene graph, it's reference

Re: [osg-users] setThreadSafeRefUnref

2010-02-04 Thread nikolov.trajce
:) ok ok ... I got your point. For me the user data was not part of the scene graph. Visitors are not traversing it. But from now on I will consider them as a part of the scenegraph :) Thanks again Nick http://www.linkedin.com/in/tnick On Thu, Feb 4, 2010 at 6:50 PM, Robert Osfield

Re: [osg-users] [osgPlugins] vrml plugin

2010-02-04 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010-02-04 12:41, Luis Agero wrote: Hi, I am new with OpenSceneGraph and I have one problem that I can´t solve. I try to compile osg with vrml plugin and I have this error: Build started: Project: Plugins vrml, Configuration: Debug Win32

Re: [osg-users] [osgPlugins] vrml plugin

2010-02-04 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2010-02-04 18:34, Jan Ciger wrote: On 2010-02-04 12:41, Luis Agero wrote: ... You can find instructions on how to use the VRML plugin on the OSG Wiki. Or as Luis Agero mentioned in another thread: Hi, Look at this: openscenegraph org

Re: [osg-users] Example of geographical position

2010-02-04 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Tony, Along with Robert's suggestion, you can use the following code snippet to place a vehicle on a spheroid that has VPB terrain, into the scenegraph. You'll need osgSim and osg::EllipsoidModel to do this. Entity-lat = 36.4; Entity-lon = -115.015; Entity-alt = GetHeightOnTerrain(Entity-lat,

Re: [osg-users] Scientific Visualization classes?

2010-02-04 Thread Charles Cossé
Andrew, the ROOT toolkit makes nice plots, but not sure about OSG integration .. http://root.cern.ch/drupal/ -Charles On Wed, Feb 3, 2010 at 5:57 PM, Andrew Cunningham o...@a-cunningham.comwrote: Hi I already have the osgVTK kit as listed on

Re: [osg-users] Trying out the directshow plugin - how to build the release version of BaseClasses?

2010-02-04 Thread Raymond de Vries
Hi guys, I would like to say a big 'thank you' for this nice plugin. After quite some time installing SDKs and building I got the plugin working :-) For the record: I did this on Windows Vista 32 bit, Visual Studio 2008, Microsoft DirectX SDK (August 2009) and Windows SDK v6.0. Cheers

[osg-users] Computer Graphics For Simulation paper track at SCSC'10 Call for papers

2010-02-04 Thread John F. Richardson
Hello, Deadline Feb 28, 2010. One of the topic areas is Scenegraphs and general Web3D and their applications to Simulation. - Second Call for Papers for the Computer Graphics for Simulation Track at the Summer Computer Simulation Conference (SCSC'10) July 11-14, 2010 [Ottawa,

Re: [osg-users] [osgOcean] Problem building osgOcean in visual studio 9.0.

2010-02-04 Thread Chris Innanen
Hiya, Kim... I seem to have fixed the problem... In the osgOcean project settings, the additional include directories includes the osg header directories, including osgDB and osgText. These are put there by CMake, which demands those paths in order to generate the project files. osgText has

Re: [osg-users] [osgOcean] Problem building osgOcean in visual studio 9.0.

2010-02-04 Thread Jean-Sébastien Guay
Hi Chris, In the osgOcean project settings, the additional include directories includes the osg header directories, including osgDB and osgText. These are put there by CMake, which demands those paths in order to generate the project files. osgText has its own String class based on

Re: [osg-users] [osgOcean] Problem building osgOcean in visual studio 9.0.

2010-02-04 Thread Jean-Sébastien Guay
Hi Chris, By removing those two directories from the additional includes, osgOcean builds correctly. Oh, and I forgot to mention - great work tracking this down, it was certainly not obvious what the problem was when considering only the compiler errors you posted :-) J-S --

Re: [osg-users] [osgOcean] osgOcean Geometry

2010-02-04 Thread Peter Bear
Question, would that change make it possible to make a round earth using osgOcean. I noticed it talking about tiles in that post and it sparked my interest. Cheers, Peter -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=23706#23706

Re: [osg-users] [osgOcean] osgOcean Geometry

2010-02-04 Thread Tian Ma
Good work Kim! I have update the svn code! A little real-time |-) :D Kim Bale wrote: Hi Paul, Yes you're right this is due to the rather inefficient method of updating the surface primitives and vertices that osgOcean uses at the moment. Explained here:

Re: [osg-users] Multipass Rending

2010-02-04 Thread Craig Lane
Hi, Thanks for the tip. Yes multiparenting is working a treat now. It just took my brain a while to understand how to nest the groups correctly. I am using the setRenderBinDetails() method on the osg::Group for setting the order of each rendering pass. Works perfectly. I did not use

Re: [osg-users] Example of geographical position

2010-02-04 Thread Tony Vasile
Shayne, What is the type of Entity and entityGrp in the following code snippet? Along with Robert's suggestion, you can use the following code snippet to place a vehicle on a spheroid that has VPB terrain, into the scenegraph. You'll need osgSim and osg::EllipsoidModel to do this. Entity-lat