Re: [osg-users] getYnormalized() and camera transforms

2009-01-07 Thread Guy Wallis
Hi Robert, First, thanks for the quick reply. Second, oops, yes sorry, a slip of the keyboard there. I did mean to alter the view matrix, not the projection matrix. I am setting up a 3 screen viewing cube with front, left and right screens each rotated by 90 degrees to their neighbour(s). So,

Re: [osg-users] overriding keyboard events in osgViewer::View...

2009-01-07 Thread Vincent Bourdier
Hi, The Handlers can be set when you need them. By default, the statesetHandler is set, and manage the 'l' key for instance. If you make your own viewer, you can put the handlers you want. I'm not sure on how to remove the default handler, but If you set your view(er), and add the eventHandlers

Re: [osg-users] Using DatabasePager And Precompile Data Option Within osgViewer

2009-01-07 Thread Robert Osfield
Hi Ryan, I have fixed a couple of items in the precompile path of DatabasePager since 2.6, so even though it's now disabled by default, when you do enable it should function better. So I'd recommend reviewing the code in svn/trunk 2.7.7 rather than 2.6.0. Robert. On Tue, Jan 6, 2009 at 11:33

[osg-users] Is it necessary a while cycle to remove a child?

2009-01-07 Thread Francesco Argese
Hi guys, i begin thanking all users that are helping me on this mailing list; i don't thank always after the response to avoid the opening of a new thread because i receive only digest and i don't know if it is possible to receive as complete messages only the message in responce to me. i have

Re: [osg-users] Why the wave simulation so inefficiency?

2009-01-07 Thread Robert Osfield
Hi ? (Could you sign with the name you wished to be addressed as, it good list etiquete) You shouldn't see a performance drop, the fact you do suggests that your doing something wrong on the OSG, but your've provide way too little information about how you've set up your scene graph to suggest

Re: [osg-users] getYnormalized() and camera transforms

2009-01-07 Thread Robert Osfield
Hi Guy, I don't know what is up, usually things just work. I wouldn't expect a x range of -1 to 1 give the center screen will be -1 to 1, so the overall x range would be more like -3 to 3 given that things are scaled ralted to the master camera. Robert. On Wed, Jan 7, 2009 at 8:26 AM, Guy

Re: [osg-users] overriding keyboard events in osgViewer::View...

2009-01-07 Thread Robert Osfield
Hi Shayne, There are no default event handlers in osgViewer save for the escape sets done facility that you can turn off via viewer.setKeyEventSetsDone(0); From your email it looks like you must be manually adding the osgGA::StateSetManipulator, and if you still want this functionality but want

Re: [osg-users] Is it necessary a while cycle to remove a child?

2009-01-07 Thread Robert Osfield
Hi Francesco, There is waaay too little information about the code that is doing the operations to know what might be wrong. Please post the surrounding code to your removeChild calls. Robert. On Wed, Jan 7, 2009 at 11:45 AM, Francesco Argese kekk...@gmail.com wrote: Hi guys, i begin

[osg-users] OSG on ohloh

2009-01-07 Thread Sukender
Hi all, I just discovered ohloh.net and saw OSG don't have much registered users (only 18 users!). So, for OSG's visibility, I suggest that those who want go there and click the I use this button, or rate/review the project. If like me you didn't know, it's an open source projects and

Re: [osg-users] atomic_xor_uint_nv on Solaris

2009-01-07 Thread Andy Skinner
A const cast does remove the second error (and atomic_cas_ptr does seem like it could have used a const argument, since this is the comparison arg, which shouldn't be changed). I still haven't gotten rid of the atomic_xor_uint_nv issue, though, so I can't build the OpenSceneGraph on all our

[osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Alexandre Amalric
Hi osg-users and Happy New Year to all of you :-) I recently downloaded OSG 2.7.8 to link with my application (wich was linked before with OSG 2.7.4) and I discovered a bug wich can be easily produced by modifying osgcompositeviewer.cpp in Examples osgcompositeviewer. *At line 236 :*

Re: [osg-users] Warning level

2009-01-07 Thread Robert Osfield
Hi JS et. al., I've now checked in a number of warning fixes, out of over 1000 warnings that should be removed (mainly repeats) I think just four were actual bugs fixes, whilst they might be minor bugs it's still nice to see them caught and hopefully fixed . The bulk left are unused parameter

Re: [osg-users] Warnings in VS

2009-01-07 Thread Jean-Sébastien Guay
Hello Mattias, I had a look at this. I suspect this was caused by the INTERNALly cached OLD_CMAKE:CXX_FLAGS. I'm not sure I had your setup but made some changes and at the same time removed a fixme. I have attached my current CMakeLists.txt. If you have the time please test, though I guess your

Re: [osg-users] atomic_xor_uint_nv on Solaris

2009-01-07 Thread Robert Osfield
Hi Andy, I don't have a Sun box or up to date knowledge to be about to suggestion resolution of this problem, save for reverting the addition of this code. The code was part of the submission below from Blasius Czink, perhaps we just remove the elements that are problematic - the OSG itself

Re: [osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Robert Osfield
HI Alexandre, Could you post the modified example in the form that reproduces the crash. Thanks, Robert. On Wed, Jan 7, 2009 at 1:52 PM, Alexandre Amalric alex.pix...@gmail.com wrote: Hi osg-users and Happy New Year to all of you :-) I recently downloaded OSG 2.7.8 to link with my

Re: [osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Alexandre Amalric
Hi Robert, here is the modified example. 2009/1/7 Robert Osfield robert.osfi...@gmail.com HI Alexandre, Could you post the modified example in the form that reproduces the crash. Thanks, Robert. On Wed, Jan 7, 2009 at 1:52 PM, Alexandre Amalric alex.pix...@gmail.com wrote: Hi

Re: [osg-users] Why the wave simulation so inefficiency?

2009-01-07 Thread Jean-Sébastien Guay
Hello flying5? (2) Then, I realize it use OSG. But when I render 128*128*2 = 32768 triangles grid and the FPS is only 13!!!. (3) I don't think there is any difference between the two way I realize the wave. But why the great disparity in efficiency? There must be a difference, or

Re: [osg-users] Is it necessary a while cycle to remove a child?

2009-01-07 Thread Jean-Sébastien Guay
Hello Francesco, 2)If i use a while that cycle until the removal is not possible it remove the child correctly. This suggests that the child has simply been added multiple times to the same parent. Just break at that location in the debugger and examine the parent's children vector, and

Re: [osg-users] atomic_xor_uint_nv on Solaris

2009-01-07 Thread Andy Skinner
Thanks. I've sent an email to Blasius (hoping I got the email from Gmane correctly), and will see if he has a suggestion. andy -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent:

Re: [osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Robert Osfield
Hi Alexandre, I've just fixed the problem and checked it in. Could you try out the svn version of the OSG. Thanks, Robert. On Wed, Jan 7, 2009 at 2:10 PM, Alexandre Amalric alex.pix...@gmail.com wrote: Hi Robert, here is the modified example. 2009/1/7 Robert Osfield

Re: [osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Alexandre Amalric
Hi Robert, It will be a pleasure to check your fix but I'm sorry, I'm not well familiar with SVN, I know it's not your role to do this but could you please send me some information on how to do, is there a good tutorial on how works subversion ? 2009/1/7 Robert Osfield robert.osfi...@gmail.com

Re: [osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Robert Osfield
On Wed, Jan 7, 2009 at 2:53 PM, Alexandre Amalric alex.pix...@gmail.com wrote: It will be a pleasure to check your fix but I'm sorry, I'm not well familiar with SVN, I know it's not your role to do this but could you please send me some information on how to do, is there a good tutorial on how

Re: [osg-users] Bug in adding view to compositeViewer after setting scene data

2009-01-07 Thread Paul Melis
Robert Osfield wrote: On Wed, Jan 7, 2009 at 2:53 PM, Alexandre Amalric alex.pix...@gmail.com wrote: It will be a pleasure to check your fix but I'm sorry, I'm not well familiar with SVN, I know it's not your role to do this but could you please send me some information on how to do, is

Re: [osg-users] Warning level

2009-01-07 Thread Jean-Sébastien Guay
Hello Robert, I've now checked in a number of warning fixes, out of over 1000 warnings that should be removed (mainly repeats) I think just four were actual bugs fixes, whilst they might be minor bugs it's still nice to see them caught and hopefully fixed . The bulk left are unused parameter

Re: [osg-users] Warning level

2009-01-07 Thread Robert Osfield
Hi Jean, On Wed, Jan 7, 2009 at 3:13 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: I just did an update and it doesn't seem you fixed the warning C4512: 'classname' : assignment operator could not be generated warning? That's the most frequent... I'd like to see it fixed or

[osg-users] Geometry kernels?

2009-01-07 Thread Cory Riddell
I'm looking for comments and suggestions for using OSG with a geometry engine like ACIS, Parasolid, or Open Cascade. Can they work well together? Is it a useful combination? The application is CAD-like and involves interactively building up a model from discrete components. I found OSG when

Re: [osg-users] overriding keyboard events in osgViewer::View...

2009-01-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Thank you Robert. That helps a lot...:) -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent: Wednesday, January 07, 2009 4:55 AM To: OpenSceneGraph Users Subject: Re: [osg-users]

Re: [osg-users] Warning level

2009-01-07 Thread Paul Martz
If I understand correctly from this discussion, the intended usage is that developers will leave OSG_USE_AGGRESSIVE_WARNINGS set to the default ON, and we'll then tackle any warnings on a case by case basis, is that correct? Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303

Re: [osg-users] Bug in adding view to compositeViewer after settingscene data

2009-01-07 Thread Paul Martz
I also encountered this with one of my own test programs. I got around it by swapping the lines of code. I'll back that change out and test the latest. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -Original Message- From:

Re: [osg-users] Warning level

2009-01-07 Thread Robert Osfield
Hi Paul, On Wed, Jan 7, 2009 at 4:08 PM, Paul Martz pma...@skew-matrix.com wrote: If I understand correctly from this discussion, the intended usage is that developers will leave OSG_USE_AGGRESSIVE_WARNINGS set to the default ON, and we'll then tackle any warnings on a case by case basis, is

Re: [osg-users] [osg-submissions] Support for draw_instanced

2009-01-07 Thread Paul Martz
-openscenegraph. org __ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 3745 (20090107) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com ___ osg-users

Re: [osg-users] Warning level

2009-01-07 Thread Matthew Fuesz
Skylark (J-S) wrote: I'm fine with suppressing C4706 as it's true that it's a warning that only tells you that you *might* be doing something unsafe... Whether it's actually safe or not is totally context-dependent. Blanket-supression of C4706 isn't really a good thing, since as you

Re: [osg-users] [osg-submissions] Support for draw_instanced

2009-01-07 Thread Robert Osfield
(20090107) __ Le message a été vérifié par ESET NOD32 Antivirus. http://www.eset.com ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Warning level

2009-01-07 Thread Robert Osfield
Hi Matthew, On Wed, Jan 7, 2009 at 4:36 PM, Matthew Fuesz matthew.fu...@lmco.com wrote: Blanket-supression of C4706 isn't really a good thing, since as you pointed out, it can actually point out an error (usually a typo by the developer). C4706 will not be generated if it is made explicitly

[osg-users] Head mounted display for OSG...

2009-01-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Can anyone give me an update on the maturity of the head mounted display support in OSG? Is it a work in progress? What is its capability? Any input or details would be appreciated. Also does anyone have a particular recommendation for a Head-mounted display brand or hardware that works well

Re: [osg-users] Bug in adding view to compositeViewer aftersettingscene data

2009-01-07 Thread Paul Martz
This issue is resolved with current svn of OSG. Thanks for the quick fix, Robert! Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On

[osg-users] Problem with pointlightmanip.exe example?

2009-01-07 Thread Cory Riddell
I've been running the pointlightmanip.exe example and as soon as I rotate even a tiny amount (using either the hand or the wheels), the top right sphere disappears. I've attached a screenshot but I suspect that will get filtered out by the list software. Is this an instance of

Re: [osg-users] atomic_xor_uint_nv on Solaris

2009-01-07 Thread Andy Skinner
I've not heard from Blasius Czink yet, but I have found out that there is a /usr/include/sys/atomic.h that declares things like atomic_or_uint_nv(), but does not declare atomic_xor_uint_nv(). Maybe the xor operation could be removed instead of the whole thing. I can't find any reference to

Re: [osg-users] ANN: osgSWIG/Py available

2009-01-07 Thread Randolph Fritz
All right! The best news, and just in time for my project. :-) Thanks Randolph Hartmut Seichter wrote: Dear OSG Community, first of all a late Happy New Year! The osgSWIG team is happy to announce osgSWIG/Py 0.9.1 for Python 2.6 which corresponds to the OpenSceneGraph 2.6.1 version. There is

Re: [osg-users] Problem with pointlightmanip.exe example?

2009-01-07 Thread Cory Riddell
Cory Riddell wrote: I've been running the pointlightmanip.exe example and as soon as I rotate even a tiny amount (using either the hand or the wheels), the top right sphere disappears. I've attached a screenshot but I suspect that will get filtered out by the list software. Is this an

Re: [osg-users] Warnings in VS

2009-01-07 Thread Mattias Helsing
Hi J-S, On Wed, Jan 7, 2009 at 2:57 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Hello Mattias, I'd like to test, but it seems you forgot to attach the file? Makes it kind of hard to test. Sorry about that. Trying again before submitting the file to osg-submissions. I

Re: [osg-users] Warnings in VS

2009-01-07 Thread Mattias Helsing
Hi again, yes I forgot again. I'm terrible at this. Mattias On Wed, Jan 7, 2009 at 10:09 PM, Mattias Helsing helsin...@gmail.com wrote: Hi J-S, On Wed, Jan 7, 2009 at 2:57 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Hello Mattias, I'd like to test, but it seems you

Re: [osg-users] Warnings in VS

2009-01-07 Thread Jean-Sébastien Guay
Hello Mattias, Makes it kind of hard to test. Sorry about that. Trying again before submitting the file to osg-submissions. Got the file, thanks. (third time's a charm right? ;-) ) I'll try it out tomorrow. i didn't either at first. I was really trying to get my head around the internal

Re: [osg-users] Warnings in VS

2009-01-07 Thread Paul Martz
Interesting. With current svn, I am able to toggle OSG_USE_AGGRESSIVE_WARNINGS from OFF to ON without deleting my cache. This seems to have fixed itself (I'm not using Mattias' fix). Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -Original Message- From:

[osg-users] osganimationskinning broken?

2009-01-07 Thread Roland Smeenk
Is it me or is osganimationskinning broken? line 198: Code: osgAnimation::AnimationUpdateCallback* cb = dynamic_castosgAnimation::AnimationUpdateCallback*(right0-getUpdateCallback()); returns NULL, because the updatecallback was never set. This is easily fixed, but then I run into the

Re: [osg-users] Warning level

2009-01-07 Thread Paul Martz
Your recommendation below seems like it would depend on what type fxn() returns, am I correct? For example, if fxn() returns an int (and 'a' is declared as an int), then the following is correct: if ( (a = fxn()) != 0 ) But the above is incorrect - and possibly inefficient - if fxn() returns

Re: [osg-users] Head mounted display for OSG...

2009-01-07 Thread David Spilling
Shayne, We use these (http://www.vuzix.com/iwear/products_vr920.html) experimentally, because they are cheap, and slightly surprisingly support quad buffer stereo, which means they more or less work with OSG (on Nvidia Quadro's, at least) straight out of the box. Unfortunately, most of our

Re: [osg-users] Head mounted display for OSG...

2009-01-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
David, Thanks for that feedback. This will help out...:) -Shayne -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of David Spilling Sent: Wednesday, January 07, 2009 3:16 PM To: OpenSceneGraph Users

Re: [osg-users] osganimationskinning broken?

2009-01-07 Thread Cedric Pinson
Hi Roland, I updated osgAnimation and if forget to update this example, all others have been tested and it should work with updated data. Robert did you commited the updated data in the trunk ? Else if not yet updated data of osgAnimation are here http://hg.plopbyte.net/osg-data/ you can grab

Re: [osg-users] High resolution screencast

2009-01-07 Thread Simon Loic
I tried it but I encountered few problems. I will send you the detailed tomorrow. Still thanks for the tip. On Tue, Jan 6, 2009 at 5:40 PM, Jeremy Moles jer...@emperorlinux.comwrote: Not trying to hijack this thread--and I can't really read it all for now because I'm still fighting off lots of

Re: [osg-users] getYnormalized() and camera transforms

2009-01-07 Thread Guy Wallis
Hi Robert, The behaviour you describe is exactly what I was hoping for: x in the range -3 to +3 and y -1 to +1. But that's not what I get. I've created a small program derived from the osgcamera example. It builds three panels: left looks at -90 degrees, middle straight ahead, and the right panel

Re: [osg-users] Warning level

2009-01-07 Thread Sukender
Hi Robert, Matthew et al., IMHO, the !=0 syntax in a if statement is the most portable. I know if ((a=b)!=0) does not generate warning under MSVC and GCC. So I guess it would be the same for if ( (a = fxn()) != 0 ). For my part, I always use the !=0 syntax... and I avoid as much as possible

Re: [osg-users] Geometry kernels?

2009-01-07 Thread Sukender
Hi Cory, What do you mean by geometry engine? I guess you'll be able to easily create a kind of exporter that converts your geometry to an OSG/OpenGL one. Perhaps geometries would even be directly read and added to Geodes. I don't know HOOPS, but be aware that OSG is only (!) a scene graph