Re: [osg-users] OSG Threading

2009-09-21 Thread Prasad Pokala
Hi Jean, Thanks for the input, actually I had done the same thing now my class::display() as viewer-frame(). When I call class::display() as you told osgviewer(scene) is running but I cannot see any geometry on the scene. Its blank even though I had set some geometry. If I replace

Re: [osg-users] [vpb] Loading a 400G DataBase?

2009-09-21 Thread Robert Osfield
Hi Massimo, On Sun, Sep 20, 2009 at 5:12 PM, Massimo Tarantini subbi...@yahoo.itwrote: Thanks a lot to help a newby. So, i have done all wrong :( ... When i discovered osgconv i believed it could be used to build a DB incrementally. I was wrong. osgconv doesn't know anything about paging

Re: [osg-users] osgUtil::simplifier parameters

2009-09-21 Thread Vincent Bourdier
Up ? No one does osg simplifications ? Thanks, Vincent. 2009/9/17 Vincent Bourdier vincent.bourd...@gmail.com 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,

Re: [osg-users] osgUtil::simplifier parameters

2009-09-21 Thread Andrew Burnett-Thompson
Hi there, I've experimented with the simplifier, but am not using it. I found the setSampleRatio() method affects how coarse or fine a result you get. The simplification with a sample ratio less that 1.0 appears to be destructive (i.e. Geometry out does not equal Geometry in). So far I've not

Re: [osg-users] [osgPlugins] Using Collada (osgdb_dae) Writer with Google Earth

2009-09-21 Thread Roger James
Reed, I did something like this using a NodeVisitor. It was only a partial solution. osg::PrimitiveSet CKmlComplianceVisitor::ProcessTriangleStrip(osg::PrimitiveSet PrimitiveSet) { // Convert PrimitiveSet into a DrawElementsUInt osg::DrawElementsUInt *pNewPrimitiveSet = new

[osg-users] [osgPlugins] OpenFlight - Material export

2009-09-21 Thread Katharina Plugge
Hi, when exporting from osg to flt the OpenFlight-Plugin is adding a Material to every StateSet even if there was no Material defined before. After a look in the source code I found out two things: 1) In file ExpGeometryRecords.cpp line 235 a material (index) is generated even if the material

[osg-users] [osgPlugins] OpenFlight - Palette Records prevent using of ReaderWriter Callback

2009-09-21 Thread Katharina Plugge
Hello, the OpenFlight-Plugin prevents reacting on missing Textures via a ReadFileCallback, because osgDB::readRefImageFile (called by function readTexture) is not called if the file does not exist. Would be great if this could be changed. A fix could look like this (file PaletteRecords.cpp,

Re: [osg-users] OSG Threading

2009-09-21 Thread Jean-Sébastien Guay
Hi Prasad, If I replace viewer-frame() with viewer-run() I can see the geometry. what is the problem?? This is an FAQ. viewer-run() automatically adds a trackball manipulator to the viewer if there is none (it's a convenience function used in examples so it makes sure everything is set up

Re: [osg-users] [osgPlugins] OpenFlight - Palette Records prevent using of ReaderWriter Callback

2009-09-21 Thread Robert Osfield
HI Katharina, In the svn/trunk version of the OSG I added support for overriding the find file operation using an osgDB::FindFileCallback, that you attach to the osgDB::Registry or an osgDB::Options object. Perhaps this would be the best way for you to intercept and do something special when

[osg-users] Howto Show a progres when loading model?

2009-09-21 Thread zhuliangxiong
Hi there, How could i get progress information when osgDB::readNodeFile is used to load a model from external file. i want to show a progress bar if the loading time is significant too long to end user. i have to load a shapefile which is about 157M . It takes few of seconds in my PC, so that i

Re: [osg-users] OSG Threading

2009-09-21 Thread Prasad Pokala
Hi All Jean , Jean Thanks its working well. I have some other question I have created a small user interface where you can browse the model(tree view).I can select or unselect geometry from tree view . Visualization of the model as shown inside a other form in same window. (till here

[osg-users] problem with Texture2D

2009-09-21 Thread Miguel Lokida
Hi, I use a texture2D on a sphere but the problem is that the texture does not well fit on the sphere. There is a big line at the junction of the map. Have you yet seen this kind of problem or not ? What is the solution ? Thank you! Cheers, Miguel -- Read this topic online

Re: [osg-users] OSG Threading

2009-09-21 Thread Tomlinson, Gordon
One way Basically you need to create a message/data passing system between the GUI and the APP update thread that is thread safe. In the GUI thread when you want to add a request to be carried out in the APP you get a lock on the message queue you created ( generally I use a wait until lock

Re: [osg-users] problem with Texture2D

2009-09-21 Thread Tomlinson, Gordon
It might be the way you GL_CLAMP state is set http://www.vis-sim.com/osg/osg_faq_1.htm#f32 Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com

[osg-users] osg .net example

2009-09-21 Thread Steffen, Keith
Hi All, Does anyone have a good osg/.net example program that includes source code? Keith Open Systems International, Inc. Keith Steffen 3600 Holly Lane North, Suite 40 Minneapolis, MN 55447-1286 Phone: 763 551 0559 Fax: 763 551 0750 E-mail: kstef...@osii.com Website: http://www.osii.com/

Re: [osg-users] Howto Show a progres when loading model?

2009-09-21 Thread Paul Martz
Check the archives, this was discussed not long ago (and multiple times in the past). Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ http://www.skew-matrix.com/ +1 303 859 9466 zhuliangxi...@hotmail.com wrote: Hi there, How could i get progress information when

[osg-users] Movies with osgviewer

2009-09-21 Thread Alex Malhao
Hi, I have a OSG map and now I want to add a video to a specific position. How can I do that? Thank you! Cheers, Alex -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17536#17536 ___ osg-users

Re: [osg-users] [osgPlugins] OpenFlight - Material export

2009-09-21 Thread Paul Martz
There is no clear correct answer for the material question. OSG defaults to lighting enabled. In OpenGL parlance, this requires the presence of Materials. So what if a scene graph doesn't contain a material? OSG gets around this issue by enabling GL_COLOR_MATERIAL, which means that materials

Re: [osg-users] Movies with osgviewer

2009-09-21 Thread Tomlinson, Gordon
You might want to start by looking at OpenSceneGraph\examples\osgmovie you may need to get further 3rdparty requirments for this And a search of the archives will throw up a lot of discussion on this type of subject Gordon Product Manager 3d

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

2009-09-21 Thread Jason Jerald
Dicom plugin tested and working on windows vista 64 bit with no modifications required--Thanks for the fix! Jason Robert Osfield wrote: Hi J-S, On Sat, Sep 19, 2009 at 12:30 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com mailto:jean-sebastien.g...@cm-labs.com wrote: Sorry,