Re: [osg-users] Website not reachable from france and austria

2009-06-01 Thread janusz
And Poland. Dnia Mon, 1 Jun 2009 07:29:23 +0400, Yurii Monakov napisał(a): And Russia :) 2009/6/1 Alan Purvis alanpur...@eircom.net And Ireland. On 31 May 2009, at 17:45, Sebastian Messerschmidt wrote: same for germany Hi, i can access: blog.openscenegraph.org

Re: [osg-users] Transparency and hdr texture

2009-06-01 Thread Ragnar Hammarqvist
The OpenExr implementation in Osg only supports the half-float format. It can load Textures saved in 32bits per pixel but the loader converts them into half float. But the loader however supports an Alfa channel. The OpenExr plug-in can be extended to support 32-bits textures but that would

Re: [osg-users] Osg steteo problems!! Help!!!

2009-06-01 Thread Robert Osfield
HI Helong, 2009/5/30 神和龙 shenhel...@126.com: 1. When I use this function to configure the fusion distance, setFusionDistance(osgUtil::SceneView::USE_FUSION_DISTANCE_VALUE , fusionDistance) It seems none effect. As it is calculated automatically by osg and equals to the distance between

Re: [osg-users] smooth angle on normal calculation

2009-06-01 Thread Robert Osfield
Hi Matthias, What do you mean recalculate the normals to 30 degrees? This really doesn't mean anything without more specific information about what you are after. The SmoothingVisitor is a straight forward implementation that smooth all normals, there are no additional controls/things that you

Re: [osg-users] Website not reachable from france and austria

2009-06-01 Thread Robert Osfield
Hi Johannes, Looks like the main openscenegraph.org server is down. I've been offline most of the weekend so haven't spotted this. The blog and forum and mailing list are all hosted on different servers to the main website + subversion so won't be affected by problems with the main server.

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
* Robert Osfield -- Monday 01 June 2009: Clearly it's not [now] badly broken so we'll have to find another route. I do some investigation at my end. Here's how to deal with it (once SVN is up again :-): $ svn diff -r10268:10269|patch -p0 -R Now the question is: what's up with russian

Re: [osg-users] Website not reachable from france and austria

2009-06-01 Thread Jose Luis Hidalgo
Hi All, We've had a problem with the host of our OSG virtual machine, looks like we are having problems with the vmware that we are currently using. I'm considering the possibility to move to another virtualization technology , like libvirt, does any of you have insight into wich one is

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Matthias Asselborn
iam holding the mouse button not down. i want a pick each time i move my mouse! i thought its implemented with : MOVE ... but its not working ... Thank you! Cheers, Matthias -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13254#13254

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
Hi Maximum, On Mon, Jun 1, 2009 at 1:06 PM, Maxim Gammer maxgam...@gmail.com wrote: modified GraphicsWindowX11.cpp not work fine ((( Could you post the command line output that it generates, and this might give us a bit more a clue why your system things go wrong, but on the majority of other

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Robert Osfield
Hi Mathias, I have just modified the osgpick example to check for MOVE events and it works perfectly. switch(ea.getEventType()) { case(osgGA::GUIEventAdapter::MOVE): { osgViewer::View* view = dynamic_castosgViewer::View*(aa); if (view)

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
* Robert Osfield -- Monday 01 June 2009: I've refactored the adaptKey method to use XLookupString in a bit more thorough way to than it did before, it ensures that osgkeyboard works fine on my Linux box with UK keyboard. Could you try this? Umm ... did you try osgkeyboard this time? This

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Matthias Asselborn
Thank you Robert your example works perfect this is exactly what i need what osg version did you use? did you change only code in the swith case section? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13258#13258

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
Hi Melchior, On Mon, Jun 1, 2009 at 2:01 PM, Melchior FRANZ melchior.fr...@gmail.com wrote: * Robert Osfield -- Monday 01 June 2009: I've refactored the adaptKey method to use XLookupString in a bit more thorough way to than it did before, it ensures that osgkeyboard works fine on my Linux

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Robert Osfield
On Mon, Jun 1, 2009 at 2:17 PM, Matthias Asselborn matthias.asselb...@gmx.de wrote: Thank you Robert your example works perfect this is exactly what i need what osg version did you use? did you change only code in the swith case section? svn/trunk, but it's something that has worked

[osg-users] Problems using setResizeNonPowerOfTwoHint(false);

2009-06-01 Thread Tomlinson, Gordon
Hi Were having problems with textures that are non power of 2 or power 2 if we use m_texture-setResizeNonPowerOfTwoHint(false); we get no texture The engineer who spotted this says this post http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg15206. html

Re: [osg-users] osgGA::GUIEventAdapter::MOVE: doesnt work

2009-06-01 Thread Matthias Asselborn
ive fied this problem. the reason was glut ive forgotten to declare a passiveMouse Callback sorry ... ;-) now it works perfect ;-) -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13261#13261 ___

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
Hi Maxim, Thanks for the test results. With the Russian keyboard/locale could do send us the results of 'ABCD' and then 'abcd' Robert. On Mon, Jun 1, 2009 at 3:06 PM, Maxim Gammer maxgam...@gmail.com wrote: hi, set OSG_NOTIFY_LEVEL=INFO I press ABCD (Russian) ABCD (USA)

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Maxim Gammer
Hi Robert, OK, abcd (USA), ABCD (USA), abcd (Russian), ABCD (Russian) . keyevent.keycode = 38, KeySym97, keySymbol97 numChars = 1,97, 0 keySymbol = 97 keyevent.keycode = 38, KeySym97, keySymbol97 numChars = 1,97, 0 keySymbol = 97 keyevent.keycode = 38, KeySym97, keySymbol97

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Maxim Gammer
Yes, work fine ) 2009/6/1 Melchior FRANZ melchior.fr...@gmail.com: Seems to work OK here. m. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Maxim

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
HI Maxim, I'm afraid what you've sent is rather difficult to follow and seemingly inconsitent with your previous post. Could you post the results in sections with a heading of what follows. In searching the web on XLookupString and Russian I came across the little test application xev that

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
Hi Melchior, On Mon, Jun 1, 2009 at 3:14 PM, Melchior FRANZ melchior.fr...@gmail.com wrote: Seems to work OK here. Thanks for the testing. Once we get a combination that works OK for standard usage and the Russian case I'll patch both svn/trunk and OSG-2.8 branch. Unfortunately this

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Maxim Gammer
Hi, Robert ...xev result for abcd (Russian): KeyPress event, serial 34, synthetic NO, window 0x381, root 0x13c, subw 0x0, time 3487419, (68,-21), root:(764,750), state 0x2010, keycode 38 (keysym 0x6c6, Cyrillic_ef), same_screen YES, XLookupString gives 2 bytes: (d1 84) ф

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Maxim Gammer
...xev result for abcd (USA): KeyPress event, serial 34, synthetic NO, window 0x381, root 0x13c, subw 0x0, time 3617200, (-262,-312), root:(434,459), state 0x10, keycode 38 (keysym 0x61, a), same_screen YES, XLookupString gives 1 bytes: (61) a XmbLookupString gives 1 bytes:

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
Hi Maxim, Could you now do the same test with caps lock on, so the 'ABCD'. W.r.t the XLookupString result strings, do these look sensible? Robert. 2009/6/1 Maxim Gammer maxgam...@gmail.com: Hi, Robert ...xev result for abcd (Russian): KeyPress event, serial 34, synthetic NO, window

Re: [osg-users] osg::ref_ptr used anymore

2009-06-01 Thread Rabbi Robinson
Hi, Ok, I started this thread, so I claim to have the right for the last words. I have used boost before, it looks like a pretty well maintained library. I used it because I was working on my coworker's code and in our case, he only used the file separator (\ vs /) from boost. For that it

[osg-users] manual delete object

2009-06-01 Thread Rabbi Robinson
Hi, When I tried Node* node = new Node; delete node; there is a compiler error saying destructor protected. How can I delete node that I am sure I no longer use. Thank you! Cheers, Rabbi -- Read this topic online here:

Re: [osg-users] manual delete object

2009-06-01 Thread Tomlinson, Gordon
Nodes are derived from Object which is refcounted thus the destructor is not directly accessible You can use node-unref(); Node = NULL; Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Maxim Gammer
OK. ABCD (Russian) and ABCD (USA) result .. KeyPress event, serial 34, synthetic NO, window 0x381, root 0x13c, subw 0x0, time 4190830, (50,-17), root:(746,754), state 0x2012, keycode 38 (keysym 0x6e6, Cyrillic_EF), same_screen YES, XLookupString gives 2 bytes: (d0 a4) Ф

Re: [osg-users] smooth angle on normal calculation

2009-06-01 Thread Matthias Asselborn
in many CAD progs, is there an option to recalculate Normals with an given angle. Especially for smoothing. In OpenSG for example exists the methode: calcVertexNormals(geo, deg2rad(30)) therefore my question if this is also implemented in osg yet. Or how can i implement it?

Re: [osg-users] manual delete object

2009-06-01 Thread Robert Osfield
Hi Rabbi, The destructor of most OSG class is deliberately made protected so your can't delete it directly using delete, it also prevents the class from being created on the stack. Why? This is a C++ programming trick that can help prevent misue of C++ classes that are reference counted, and

Re: [osg-users] Website not reachable from france and austria

2009-06-01 Thread Chris 'Xenon' Hanson
Jose Luis Hidalgo wrote: Hi All, We've had a problem with the host of our OSG virtual machine, looks like we are having problems with the vmware that we are currently using. I'm considering the possibility to move to another virtualization technology , like libvirt, does any of you have

Re: [osg-users] smooth angle on normal calculation

2009-06-01 Thread Robert Osfield
On Mon, Jun 1, 2009 at 4:01 PM, Matthias Asselborn matthias.asselb...@gmx.de wrote: in many CAD progs, is there an option to recalculate Normals with an given angle. Especially for smoothing. Are you talking about assigning a maximum crease angle that you don't smooth over, but instead

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
* Robert Osfield -- Monday 01 June 2009: see if things are now working correctly in osgkeyboard Nope. Ctrl-a returns 0004-0061 again (an 'a'), instead of 0004-0001, and Delete returns -. m. ___ osg-users mailing list

Re: [osg-users] manual delete object

2009-06-01 Thread Rabbi Robinson
Hi, Thanks, if later I reference the node from a group, will the reference count be increased for the node? { osg::ref_ptrNode node = new Node; osg::ref_ptrGroup group = new Group; group-addChild(node); } The reference count of node should be one outside the scope. Is it right that somehow

Re: [osg-users] manual delete object

2009-06-01 Thread Robert Osfield
On Mon, Jun 1, 2009 at 4:39 PM, Rabbi Robinson longa...@gmail.com wrote: Hi, Thanks, if later I reference the node from a group, will the reference count be increased for the node? { osg::ref_ptrNode node = new Node; osg::ref_ptrGroup group = new Group; group-addChild(node); } The

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
Hi, * Robert Osfield -- Monday 01 June 2009: The Delete returning a osgGA::GUIEventAdapter::KEY_Delete is appropriate though. Whoops, sorry. Looked suspicious, and there's no way to test that in osgkeyboard. Have yet to link FlightGear with the new version, but ... Could you try the

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Robert Osfield
On Mon, Jun 1, 2009 at 5:03 PM, Melchior FRANZ melchior.fr...@gmail.com wrote: * Robert Osfield -- Monday 01 June 2009: The Delete returning a osgGA::GUIEventAdapter::KEY_Delete is appropriate though. Whoops, sorry. Looked suspicious, and there's no way to test that in osgkeyboard.

Re: [osg-users] Problems using setResizeNonPowerOfTwoHint(false);

2009-06-01 Thread Robert Osfield
Hi Gordon, I've just tracked down the original posts from Mark and have looked at his sample and suggested fix. The fix hasn't been merged, nor a variation on it. I vaguely remember the thread, but not any resolution, it might be that I was swept away by other work so didn't chase it up. I've

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
Passed the FlightGear test without problems. m. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] Problems using setResizeNonPowerOfTwoHint(false);

2009-06-01 Thread Tomlinson, Gordon
Hi Robert Ok we will give it a go and get back to you Gordon Product Manager 3d __ Gordon Tomlinson Email : gtomlinson @ overwatch.textron.com __ -Original Message- From:

[osg-users] Set fog in the canera StateSet

2009-06-01 Thread Cristina Paponi
Hi, Could you please help me with the following problem. In my scene I have 2 cameras one for day and one for thermo. Because the fog will appear different in day and thermo, I tried to assign the fog to the camera's StateSet. When I try to set the fog attribute to the camera StateSet there is

[osg-users] Picking primitive subset

2009-06-01 Thread Andrew Cunningham
Hi, I have a geometry that is represented by perhaps 500K triangle and/or quad primitives. During user interaction, I need to pick ( using a selection rectangle) a significant subset ( say 10K) of these primitives and highlight them ( simply turning the picked primitives wireframe would do).

Re: [osg-users] Osg steteo problems!! Help!!!

2009-06-01 Thread Robert Osfield
HI Yongjin, On Mon, Jun 1, 2009 at 7:48 PM, Yongjin Li liyj...@gmail.com wrote: Dear Robert, I think the fusion distance is not the distance between left and right eyes but is the distance from the center of two eyes to the sight convergence point. I'm afraid you've misread my email. I

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
* Robert Osfield -- Monday 01 June 2009: Could you both do testing to check that things now work across the various locale combinations and applications. My keyboard doesn't have a keypad, so I can only test the other keys. (I'll try to find someone with keypad, but no promise. :-) m.

Re: [osg-users] per-facet normals for flat facets

2009-06-01 Thread Thrall, Bryan
Butler, Lee Mr CIV USA USAMC wrote on Monday, June 01, 2009 1:55 PM: I'm looking for ways to efficiently store/display geometry with flat facets. That is to say, I want all creases (no interpolated normals). I'm reading some hefty geometry (10-20M polys) for display (Currently in OBJ

Re: [osg-users] Problems using setResizeNonPowerOfTwoHint(false);

2009-06-01 Thread Gilbert, Daniel R.
Robert, Gordon, This issue looks like it might be the same one I experienced back in February (http://forum.openscenegraph.org/viewtopic.php?t=1656) I never took it further as my need soon became OBE, but at least it's another potential data point. -- Dan -Original Message- From:

Re: [osg-users] Osg stereo problems!! Help!!!

2009-06-01 Thread Yongjin Li
Dear Robert, I am sorry, I really misread you meaning. :-* Are you have some suggestions to solve the two problems? Thank you! Cheers, Yongjin -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13304#13304

Re: [osg-users] per-facet normals for flat facets

2009-06-01 Thread Paul Martz
Your problem seems to stem from having to repeat vertices multiple times so that each can have its own vertex. For example, let's say you need to repeat each vertex 4 times because it is shared by 4 different facets. This means you have xyz vert/norm (24 bytes) * 4 * 20M = ~2GB. Do I understand

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Melchior FRANZ
* Melchior FRANZ -- Monday 01 June 2009: My keyboard doesn't have a keypad, so I can only test the other keys. ... but everything else worked. And we'll soon find out if there are still keypad problems. The current solution is already infinitely better than what is in SVN/HEAD, so I'd commit.

Re: [osg-users] Set fog in the canera StateSet

2009-06-01 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
Cristina, Do you have a code snippet you can provide us? The following works for our case for each camera in the scene. We are using the compositeViewer where each view added to the viewer has its own camera. fog = new osg::Fog(); fog-setMode(osg::Fog::EXP2);

Re: [osg-users] Picking primitive subset

2009-06-01 Thread Andrew Cunningham
Hi Paul, I suppose I am unsure of OSG best practices to use when picking of primitives. With osg::Nodes I am using userdata quite effectively to relate an picked osg::node back to my data model - but with primitives it is not quite so clear what the best OSG way would be especially when

[osg-users] Separate Viewer for FBOs? (UNCLASSIFIED)

2009-06-01 Thread Kaniarz, John Mr CIV USA AMC
Classification: UNCLASSIFIED Caveats: NONE I am working on an application that looks at large data sets. The scene uses shadow mapping with a large number of cameras (approx 20). This really hurts the frame rates. The data set rarely changes. Because of this I would like to move my pre-render FBO

Re: [osg-users] per-facet normals for flat facets

2009-06-01 Thread Butler, Lee Mr CIV USA USAMC
Paul, My CAD data comes to me as a triangle soup without surface normals. Right now it comes to me as wavefront OBJ format. Item 1: I would rather not display any smoothing. That looks like it will take mods to the obj plugin to avoid the smoothing (unless someone can point me at something

Re: [osg-users] Picking primitive subset

2009-06-01 Thread Paul Martz
Also , I am not sure how best to go about showing the selection. I could, for example, break the geometry into selected and non- selected geonodes and shuffle the primitives back and forth between these two based on what has been selected or de-selected. It sounds like you're saying you

Re: [osg-users] OSG users in Colorado

2009-06-01 Thread Alan Dickinson
Hi Chris, I am an OSG user/developer here in the Colorado front-range area and I am interested in getting together to meet others in the area. Please let me know what you are planning. Thanks, Alan Dickinson -- Read this topic online here:

Re: [osg-users] OSG users in Colorado

2009-06-01 Thread Paul Martz
Hi Alan -- Are you down in the Springs area? Chris is west of Denver and Mike Weiblen and I are both in Boulder County. I know there are some other OSG users in the Springs but your name doesn't ring a bell. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466

[osg-users] Q for getCoordinateFrame in special and matrixManipulator in general

2009-06-01 Thread Christian Sam
Hi community, i'm currently trying to understand how the various camera-manipulators work (trackball, terrain, ufo, etc.) and several questions arrived: - the first thing that confused me was, that Y/Z-vector directions are now the openGL-way. (is there a reason why OSG normally uses Y as

Re: [osg-users] Picking primitive subset

2009-06-01 Thread Andrew Cunningham
Paul, I already have the two geometries sharing the same vertex array. But some decorations to show a picked state are mutually exclusive. For example, showing the picked primitives subset as wireframe ( not filled) is not possible as the same primitives will be present as filled in the default

[osg-users] Render-to-texture question.

2009-06-01 Thread Guy Volckaert
Hi, I was wondering if you can provide me with some guidance regarding RTT. BTW: I read and understood the osgMultipleRenderTargets example very well (hopefully 8)). However, I was wondering if it would be possible to simply it a little for my app. My application has multiple slave cameras

Re: [osg-users] Picking primitive subset

2009-06-01 Thread Andrew Cunningham
One thing that makes the primitiveIndex field of the intersection classes significantly less useful that it could be is that the Intersector decomposes QUADS etc into triangles. This means some additional housekeeping to keep track of what the index relates to -- Read this

Re: [osg-users] Can I change the plugin directory structure?

2009-06-01 Thread rpingry
You say your examples are in bin\Release. This is not the case for me; there is no bin\Release in my build dir. The release build of my osganimate.exe file is in my build dir\bin. Not sure why yours would be elsewhere, but this appears to be the source of your problem. What CMake variables did

Re: [osg-users] Can I change the plugin directory structure?

2009-06-01 Thread Jean-Sébastien Guay
Hi Rick, So for the examples, is there any way to set the Working Directory for debugging? It is actually pretty easy to select all of the apps and examples and then set properties for all configurations at one time, so that is not such a big deal, but I was curious. I don't know of any

Re: [osg-users] OSG users in Colorado

2009-06-01 Thread Alan Dickinson
Hi Paul, I am in Highlands Ranch on the south side of Denver. Alan Dickinson emeraldfox-att-mac-dot-com -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=13323#13323 ___ osg-users mailing list

Re: [osg-users] Can I change the plugin directory structure?

2009-06-01 Thread rpingry
Why is it hard? Just svn add the whole directory, that should add all contents and subdirectories by default... Unless I'm missing something? Well, which Plugin directory am I supposed to add? If I add a particular plugin directory with a given name, and then I do an update and the plugin

Re: [osg-users] Help. KeyboardEventHandler and native keyboard layout bug in Linux

2009-06-01 Thread Maxim Gammer
Hi Robert, i test new GraphicsWindowX11.cpp . 2009/6/2 Melchior FRANZ melchior.fr...@gmail.com: * Melchior FRANZ -- Monday 01 June 2009: My keyboard doesn't have a keypad, so I can only test the other keys. ... but everything else worked. And we'll soon find out if there are still