[osg-users] New Book on Openscenegraph 3.0

2011-01-25 Thread Zaid Siddiqui
Hi, I am Zaid and I am looking out for potential reviewers interested in reviewing our book OpenSceneGraph 3.0 : Beginners guide on their blog/ Website. The book is written by Rui Wang, Xuelei Qian. You can check out the book at https://www.packtpub.com/openscenegraph-3-0-beginners-guide/book

[osg-users] hi, anyone can tell me how convert .dgn files to .osg/.ive ?

2011-01-25 Thread John Water
Hi, everybody. recently, I get trouble about converting .dgn files( MicroStation'format) to .osg ; I found dgn2osg plugin in osg'web sites, but it seems not to download availably now. I also can't find opendgn'sdk download from Google which support read/write dgn files. any advices,

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Robert Osfield
Hi Sam, You can't remove an object from it's a parent in a apply() method as this would invalidate the iterators of the calling code (the traverse() method that calls the node-accept() which in turn calls the apply()). It's safe to remove the children of a node you are passed in a the apply

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
Hi Robert, the second half of my post is about the second option you was talking about. The apply only gathers the nodes in question and does nothing else then there is another method that performs the removal from parent. But the issue with that is, that if I do not call this method, no removal

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Robert Osfield
Hi Sam, You have complete control over what you do before and after traversal, there really isn't any need to have a finalize method as it would only restrict what users can do over what they can already do. If you wanted an finialize method in your visitor then just write a method like:

[osg-users] Database Pager behavior

2011-01-25 Thread Vincent Bourdier
Hi all, I just would like to understand the behavior of the database Pager when I get osg::notify(osg::INFO)DatabasePager::fileRquest(fileName) orphaned, resubmitting.std::endl; This code is in the DatabasePager::requestNodeFile(...) function, where the file is considered as

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
Hi Robert, I am aware of the possibility to define my own methods in the visitor but the point I was trying to explain is, that if I apply a visitor on a scene I would except that this visitor has finished its work after calling the node-accept(myVisitor) If I have a RemoveXVisitor and I as

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Robert Osfield
Hi Sam, I simply don't get why your are expecting things from the NodeVisitor that it isn't intended to provide, and what you can very simply provide yourself. There are many examples of NodeVisitor's in action in the OSG please do a search through the code base. Robert. On Tue, Jan 25, 2011

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
Hi Robert, I suppose I expect that because let's say a RemoveGroupsVisitor should remove Groups from a given graph, when I apply this visitor to a scene by Code: RemoveGroupsVisitor r; scene-accept(r); I personally would expect that now the groups are removed, which they are not by the

Re: [osg-users] manipulator design advice

2011-01-25 Thread Jerome Karim
Hi, very good question, i am having the same problem i will keep u informed ;) Thank you! Cheers, Jerome -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35953#35953 ___ osg-users mailing list

Re: [osg-users] hi, anyone can tell me how convert .dgn files to .osg/.ive ?

2011-01-25 Thread Tomlinson, Gordon
I would have a look at something like 'Deep Explorer' from right hemisphere, it can convert a lot of formats to formats supported by OSG such as Multigen OpenFlight(tm) of the top of my head I believe it supports dng format, once converted to say OpenFlight you can use OSG to create your

Re: [osg-users] hi, anyone can tell me how convert .dgn files to .osg/.ive ?

2011-01-25 Thread Petr Srom
Hi, osgconv srcfile dstfile in cmdline type before osgconv: set OSG_NOTIFY_LEVEL=DEBUG Petr -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35947#35947 ___ osg-users mailing list

[osg-users] osgconv failed loading .dll

2011-01-25 Thread Petr Srom
Hi, I have problem convert .flt to .ive console debug output: USING: c:\Program Files\OpenSceneGraph-2.8.3\bin\osgPlugins-2.8.2\osgdb_ive.dll dynmaic library failed loading: osgPlugins-2.8.2\osgdb_ive.dll cmd osgoconv --plugins find all .dlls in c:\Program

[osg-users] struct member alignment - default (ok) - 1Byte (unhandled exc...)

2011-01-25 Thread Petr Srom
Hi, i have problem with struct alignment - my project include this structs: typedef struct __DSPOS__ { float x; float y; float z; float h; float p; float r; }DSPOS; typedef struct __PLAYER_POS__ { UCHAR index;

Re: [osg-users] struct member alignment - default (ok) - 1Byte (unhandled exc...)

2011-01-25 Thread Petr Srom
solved: project-properties-c++-codegen-struct m align: default #pragma pack(push, 1) typedef struct ... #pragma pack(pop) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35955#35955 ___ osg-users

Re: [osg-users] struct member alignment - default (ok) - 1Byte (unhandled exc...)

2011-01-25 Thread Alberto Luaces
Petr Srom writes: Hi, i have problem with struct alignment - my project include this structs: typedef struct __DSPOS__ { float x; float y; float z; float h; float p; float r; }DSPOS; typedef struct __PLAYER_POS__ { UCHAR index;

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Robert Osfield
Hi Sam, Your expectations are unreasonable, please them recalibrate otherwise you are going to constantly disappointed that everything in the world doesn't conform to you prior conceptions. In the case of the NodeVisitor where you are seeing a limitation, it's actually a positive and deliberate

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Paul Martz
On 1/25/2011 4:34 AM, Sam Warns wrote: Hi Robert, I am aware of the possibility to define my own methods in the visitor but the point I was trying to explain is, that if I apply a visitor on a scene I would except that this visitor has finished its work after calling the

[osg-users] GSoC 2011

2011-01-25 Thread Sergey Kurdakov
Hi OSG community. osg was always late to participate but maybe this time? so consider the opportunity Google has just announced GSoC2011. http://google-opensource.blogspot.com/2011/01/google-summer-of-code-announced-at-lca.html The timeline is here:

[osg-users] Addressing warnings in OSG in prep for 3.0

2011-01-25 Thread Robert Osfield
Hi All, For the 3.0 release I'd like to clean up warnings that have crept in over the past year, for this I'd the communities help, as I have limited OS versions available to test and only a finite amount of time available each day. There aren't too many in the core libraries and plugins as

Re: [osg-users] Addressing warnings in OSG in prep for 3.0

2011-01-25 Thread Torben Dannhauer
Hi Robert, As I built the 3rdParty Package for VS2008 last year, I did a mistake and removed the debug databases from the compile output, so in debug mode there are lots of warnings due to missed .pdb files. Should I rebuild the package content (would consume a lot of time I think), Or are

Re: [osg-users] OpenSceneGraph with glut support

2011-01-25 Thread Mukund Keshav
Hi Robert, im really sorry, i somehow missed out on your post on my first read. Thanks for the detailed explanation. Well im a student and looking at the vastness of OSG, i felt it would require quite a lot of time. So, i was looking for support from the lower level APIs. Thanks

[osg-users] Rotating the display

2011-01-25 Thread Frank Sullivan
Greetings, My application is going to be run on different displays, some of which might be rotated 90, 180, or 270 degrees from their typical position. I've basically set things up so that my app reads the screen orientation from a config file, and does what it needs to do to make sure that

Re: [osg-users] Visitor concept. No finalize?

2011-01-25 Thread Sam Warns
Hi, that is exactly the point. My RemoveXVisitor SHOULD remove nodes but since it is not possible to do that in apply and there is no finalize method that gets automatically called after accept has finished, it is only possible to remove nodes by providing a custom member which the user must

[osg-users] [Query] Delaunay Traingulator Usage

2011-01-25 Thread Kumar Saurabh Arora
Can anyone help me with usage of Delaunay Triangulator in following case? osg::ref_ptrosgUtil::DelaunayTriangulator delaunayTriangulator = new osgUtil::DelaunayTriangulator; step 1.

Re: [osg-users] Jitter problem - OSG Nvidia Physx

2011-01-25 Thread Buckley, Bob CTR MDA/DES
What are the magnitudes of coordinates that you're using? -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Arif Yetkin Sar?? Sent: Monday, January 24, 2011 2:45 AM To: osg-users@lists.openscenegraph.org

Re: [osg-users] Trouble trying to integrate Osg in a Wpf Application using HwndHost

2011-01-25 Thread Mourad Boufarguine
On Tue, Jan 25, 2011 at 11:39 AM, Chris Corn christian@gmail.comwrote: Hi, It's been 3 days that I'm trying to integrate Osg inside a Wpf Application. I would like to integrate an osgviewer using a class that extends HwndHost (defined in System.Windows.Runtime.InteropServices) as shown in

Re: [osg-users] Jitter problem - OSG Nvidia Physx

2011-01-25 Thread Chuck Seberino
Arif, You haven't really said _what_ was jittering - is it your scene entities, or your camera? If it is your entities, then what I am about to say won't really apply to you. If it is your camera, then maybe it will give at least help to give you a clue. You might want to check the order in

Re: [osg-users] OpenSceneGraph with glut support

2011-01-25 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
You can declare and register a PostDrawCallback with the camera class to do OGL rendering. It will get called after the OSG rendering traversal... void PushOSG_GL_State() { // since OSG and OGL share the same render context, push OGL state used by OSG

[osg-users] Accessing Vertex attributes of a loaded flt model

2011-01-25 Thread Linda Lee
Hi, I need to read all the vertex position and normal of a loaded flt model. I tried using InfoVisitor to get all Geode nodes and get information on the vertices but not sure how to do it. Could someone advise how I should go about getting information on the vertex position and normal?

Re: [osg-users] OpenSceneGraph with glut support

2011-01-25 Thread Mukund Keshav
Thanks a lot Shayne! That really helped. Cheers, Mukund -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=35976#35976 ___ osg-users mailing list osg-users@lists.openscenegraph.org

[osg-users] Disappearing Quads (Texcoords)

2011-01-25 Thread Martin Haffner
Hi, I am drawing some quads on a virtual plane to simulate raindrops on a windshield. The drops are basically just alpha blended quads. The effect is placed in front of the camera. It works really well, but unfortunately all my rain drops are sometimes disappearing when I look into certain