[osg-users] Detecting new data merged into the scenegraph by the DatabasePager

2010-04-16 Thread Chris 'Xenon' Hanson
Suppose an application that is not free-running the draw loop (because the data and view is unchanging unless the mouse is actively interacting with it). There are many PagedLOD nodes, and the databasepager can insert newly-loaded data into the scenegraph. However, the main cull/draw loop does

Re: [osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mike Wozniewski
Ah - that worked. So easy. Thanks. Mourad Boufarguine wrote: Hi Mike, You should preload ffmpeg plugin before reading the movie file : std::string libName = osgDB::Registry::instance()->createLibraryNameForExtension("ffmpeg"); osgDB::Registry::instance()->loadLibrary(libName); Mourad On Fri

Re: [osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mourad Boufarguine
Hi Mike, You should preload ffmpeg plugin before reading the movie file : std::string libName = osgDB::Registry::instance()->createLibraryNameForExtension("ffmpeg"); osgDB::Registry::instance()->loadLibrary(libName); Mourad On Fri, Apr 16, 2010 at 8:41 PM, Mike Wozniewski wrote: > Does anyone

[osg-users] How to force FFMPEG plugin

2010-04-16 Thread Mike Wozniewski
Does anyone know how to force the use of the ffmpeg plugin instead of xine. I know that this is possible on the commandline, eg: osgmovie -e ffmpeg movie.mov But I'd like to do this in code, eg: osg::Image* image = osgDB::readImageFile(path); osg::ImageStream* imagestream = dynamic_cast(image

Re: [osg-users] About OSG and Distributed Issue?

2010-04-16 Thread Maxim Gammer
CERTI? (http://www.cert.fr/CERTI/) - CERTI is a runtime infrastructure for distributed discrete event simulations developed at ONERA. It provides a set of services used by simulators to interoperate (such as object management, time management, optimization services, etc.). Using these services help

[osg-users] Collision System

2010-04-16 Thread Niyanth Kudumula
Hi, I have built a 3D environment (Maze) using 3DsMax and imported into the OSG. I have a basic collision detection implemented with just 2 lines on either side of the user in the environment which detects the intersections with objects. But, as the user navigates in the maze, he is ramming in

[osg-users] [osgPhysics] Collision System

2010-04-16 Thread Niyanth Kudumula
Hi, I have built a 3D environment (Maze) using 3DsMax and imported into the OSG. I have a basic collision detection implemented with just 2 lines on either side of the user in the environment which detects the intersections with objects. But, as the user navigates in the maze, he is ramming in

[osg-users] [osgOcean] Collision System

2010-04-16 Thread Niyanth Kudumula
Hi, I have built a 3D environment (Maze) using 3DsMax and imported into the OSG. I have a basic collision detection implemented with just 2 lines on either side of the user in the environment which detects the intersections with objects. But, as the user navigates in the maze, he is ramming int

Re: [osg-users] osgDB Serialization findings

2010-04-16 Thread Chuck Seberino
Wang and others, One other item I forgot to mention that also tripped me up. Be careful with the use of osgUtil::Optimizer with custom serialization classes. Certain nodes (Group, MatrixTransform, etc) can be removed, replaced and/or reordered through optimization. If you subclass any of the

Re: [osg-users] Reuse of models without duplication

2010-04-16 Thread Trajce (Nick) Nikolov
wops . place the closing bracket after root->addChild :) -Nick On Fri, Apr 16, 2010 at 5:45 PM, Trajce (Nick) Nikolov < nikolov.tra...@gmail.com> wrote: > Hi Dave, > > the former with instancing subgraphs with Transform is really easy. Hope > the following snippet will give you the idea: > > os

Re: [osg-users] Reuse of models without duplication

2010-04-16 Thread Trajce (Nick) Nikolov
Hi Dave, the former with instancing subgraphs with Transform is really easy. Hope the following snippet will give you the idea: osg::Group* root = ... osg::Node* myModel = . for (int i=0; isetMatrix(osg::Matrix::translate(myPosition)); mxt->addChild(myModel); } root->addChild(mxt); Cheers,

Re: [osg-users] CubeMap-Reflection and ShadowMap don't work togehter?

2010-04-16 Thread Trajce (Nick) Nikolov
Have you noticed the new shader composition submission on osg-submission? Might be worth of trying that. If you succeed in it (also, you can do the reflectiopn with GLSL as well, look in the archive, I have posted sample for that), you can post your work as an example of the new shader composition

Re: [osg-users] [build] Install problem with OSG 2.8.3

2010-04-16 Thread Paul Martz
Tony Vasile wrote: When I try to install OSG 2.8.3 on a linux box I get the following message when it attempts the install part of the process: - Install configuration: "" -- Up-to-date: /project/uws/Development/avasile/lib/pkgconfig/openscenegraph.pc -- Up-to-date: /project/uws/Development/a

Re: [osg-users] Reuse of models without duplication

2010-04-16 Thread Dave Sawyer
Robert, Thank you very much for your reply. I will certainly start with much smaller data sets as I move toward my goal. Further your suggestions for the more advanced topics are much appreciated. Its very helpful to know before delving too deeply into OSG, that it can do what I need. Th

Re: [osg-users] CubeMap-Reflection and ShadowMap don't work togehter?

2010-04-16 Thread Wojciech Lewandowski
Hi Martin, I am afraid you will have to touch GLSL. All shadow map techniques are shader based. What you will have to do is: replace base texture 2D sampler with your textureCube sampler and will have to process tex coords accordingly. If you have not yet learnded GLSL, this moment have just

[osg-users] Osg on Windows Mobile

2010-04-16 Thread Aitor Ardanza
Hi, Anyone know if you can somehow use OSG on Windows Mobile systems? There is any ongoing project? I'm trying to implement visual studio 2008 + windows mobile 6 + opengl es 1.1, but can not get my applications run well on my device. Any suggestions? Thank you! Cheers, Pertur ---

Re: [osg-users] Issues drawing interactive line

2010-04-16 Thread Nem Kumar
Hi Chris, The system on which it does not run has no external graphics card and has onboard intel Mobile 945 Express Chipset. As i said i m using qt 4.6.1 and osg 2.8.2. Looks to be that there is a problem using qt + osg +mdi there are somethings weird happening when i clidk to draw point... fi

Re: [osg-users] Reuse of models without duplication

2010-04-16 Thread Robert Osfield
Hi Dave, The OSG allows you to share subgraphs between multiple parents - in your case it'd multiple Transform nodes, so yes you can do what you are intending to do. However, you mention that you want to create millions of instances and in this case your approach will be inappropriate as the CPU

Re: [osg-users] osgDB Serialization findings

2010-04-16 Thread Robert Osfield
Hi Chuck & Wang Rui, First up Chuck, thanks for trying out the new serializers and posting your findings, this will help not only others using them but also Wang Rui, myself and others work out opportunities for make their use more streamlined and flexible. > I'm still waiting for decision of the

[osg-users] CubeMap-Reflection and ShadowMap don't work togehter?

2010-04-16 Thread Martin Großer
Hello, short question. I have a Node with a cube map reflection like the osgcubemap example. Now I use the "StandardShadowMap". Only the shadow works. Only the cube map works. But when I use it together only the shadow works. Override the shadow settings my cube map settings? But what can I

Re: [osg-users] osgEarth fading effect?

2010-04-16 Thread Robert Osfield
HI Akilan, Have a look at the osgmultitexturecontrol example as it does exactly what you are looking for. Robert. On Fri, Apr 16, 2010 at 6:12 AM, Akilan Thangamani wrote: > Hi robert > > true. My imagery tiles have been constructed as layers such a way coarser > resolution images lies at the

Re: [osg-users] About OSG and Distributed Issue?

2010-04-16 Thread PCJohn
Go forward. Raknet is networking library - using UDP (performance benefits). UDP disadvantage is that it is sometimes firewalled. If you reach data consistency problems, look for simple solutions... John xyc508 wrote: Thanks John, I am try OSG+Raknet+OpenAL+MFC to develop Distributed Interacti