Re: [osg-users] BoundingBox

2011-06-21 Thread Robert Osfield
Hi Nilton, Neither osg::BoundingBox or osg::BoundingSphere will be sufficient for the purpose of collision detection against polygon wall geometries, these bounding volumes are just suitable for very coarse grained intersections tests like required for culling. The

Re: [osg-users] TRAVERSE features.

2011-06-21 Thread Robert Osfield
HI Nilton, I think you might be misunderstanding the use of the word traverse in the context of scene graph traversal. When the NodeVisitor traverse the scene graph they are consider the internal data structure links between parent nodes and their children. In the case of the cull traversal a

Re: [osg-users] Navigation - Walk at 6 feets.

2011-06-21 Thread Magnus Kessler
On Tuesday 21 June 2011 04:36:05 Nilton Paulo wrote: Hi, everybody: I am writing a software to walk into a 3D image from a 3DS file. [...] The issue is that I need to walk thru the scene always at 6 feets, for exemple. Does anybody know how to do so? Hi Nilton, Have a look at how

Re: [osg-users] OSGExp specular

2011-06-21 Thread Sergey Polischuk
Hi all. osgExp expects specular in range 0...1000, that is range you can set in 3ds max for specular intensity. It's looks different in 3ds max then in osg though. Sergey. 17.06.2011, 18:53, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com: Hi Farshid,  I'm not sure who the original

Re: [osg-users] Passing multiple textures in glsl

2011-06-21 Thread Sergey Polischuk
Hi, Linda ss-setTextureAttribute(1, tileImgLay); This line is actually does not do anything because default value for 3rd parameter is osg::StateAttribute::OFF You should use either ss-setTextureAttributeAndModes(1, tileImgLay); or ss-setTextureAttribute(1, tileImgLay,

[osg-users] Extending CURL plugin to implement write functions.

2011-06-21 Thread Chris Denham
Hi, I have just been pondering the idea of extending the curl plugin so that it can perform http upload for write operations. In principle at least, it seems like this might be relatively easy to implement using existing functionality within the curl library. So, my questions are: 1. Has

Re: [osg-users] Extending CURL plugin to implement write functions.

2011-06-21 Thread Torben Dannhauer
Hi, maybe writing to disk or to ramfile and then uploading it via CPP Code? Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40708#40708 ___ osg-users mailing list

Re: [osg-users] Fixes FBX plugin warnings

2011-06-21 Thread Michael Platings
Hi Robert, thanks for the warning list. I believe I've now fixed them but please let me know if any remain. On 16 June 2011 19:48, Robert Osfield robert.osfi...@gmail.com wrote: Hi FBX users/developers, I have been doing a warnings purge of the OSG in prep for the OSG-3.0 branch to be made

Re: [osg-users] Extending CURL plugin to implement write functions.

2011-06-21 Thread Chris Denham
Hi Torben, Well, I'd like to avoid writing files on the local system (as I'm running inside a multi platform web browser plugin), but I suppose it would be possible to get the object format's plugin to write the object to a memory based std::ostream, then use curl library to upload the content.

Re: [osg-users] Dynamically changing render targets

2011-06-21 Thread Daniel Melzer
Hi, thanks for your reply! The attach-call with the new Texture has to be placed inside this callback as well, right? Thank you! Cheers, Daniel -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40710#40710

Re: [osg-users] Extending CURL plugin to implement write functions.

2011-06-21 Thread Torben Dannhauer
Hi chris, If you have a use case: Feel free to implement it, I'm sure others could use it too. Just take care to make interface definition changes as small als possible.. ;) Thank you! Cheers, Torben -- Read this topic online here:

[osg-users] OpenSceneGraph-3.0.0 release candidate 2 tagged

2011-06-21 Thread Robert Osfield
Hi All, I have just tagged the second 3.0.0 release candidate, you can get the source from: source package : OpenSceneGraph-3.0.0-rc2.zip svn tag: svn co http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.0-rc2 OpenSceneGraph Feedback from the community on the

[osg-users] troubles with osgDB::readImageFile

2011-06-21 Thread Sergey Alekseev
Tell me please, why doesn't work function readImageFile? In OpenSceneGraph examples it is called like osg::Image * img = osgDB::readImageFile (filename); I get exception - heap allocation error. The size that function tries to allocate is ~ 3458768586 bytes (picture size is 4 KB).

Re: [osg-users] Dynamically changing render targets

2011-06-21 Thread Sergey Polischuk
Hi, Daniel Either inside this callback or before callback called (in update\event traversal or between frames). Camera must have new texture attached before camera setup in renderstage. Cheers, Sergey. 21.06.2011, 14:07, Daniel Melzer osgfo...@tevs.eu: Hi, thanks for your reply! The

Re: [osg-users] Testing a workaround for fullscreen toggling issues under modern X11 window managers

2011-06-21 Thread Mathias Fröhlich
Hi Robert, On Monday 20 June 2011, Robert Osfield wrote: It's over a decade since I used an IRIX system so apart from fond memories of a bigone era I don't think we need to worry about IRIX. I do suspect if one did resurrect an IRIX it wouldn't too difficult to get the OSG working on it.

Re: [osg-users] OpenSceneGraph-3.0.0 release candidate 2 tagged

2011-06-21 Thread Jordi Torres
Hi Robert, I tested yesterday with my worst test machine Ubuntu 10.04 with mesa drivers and toggling fullscreen was working well. I think my X11 version it's not affected by the workaround. I am compiling now on MacOS for i386 and x86_64. By now it gives me some warnings in

[osg-users] Good new for IOS developers

2011-06-21 Thread Thomas Hogarth
Hi All, This might have been discussed in the past but it's the first confirmation I have personally had. My first IOS app using OpenSceneGraph was approved for the app store today. I was using 2.9.15, so a pretty recent version (not recent enough to be a test of the 3.0 rc1). OpenSceneGraph was

[osg-users] osg on UNIX Dinosaurs

2011-06-21 Thread Mathias Fröhlich
Hi Robert, I wanted to have a brief feedback on osg for the UNIX dinosaurs. The beginnings of this thoughts were triggered by the 'Testing a workaround for fullscreen toggling issues under modern X11 window managers' thread. On Monday 20 June 2011, Robert Osfield wrote: 2011/6/20 Mathias

[osg-users] Invitation to connect on LinkedIn

2011-06-21 Thread 石兴 杨
LinkedIn I'd like to add you to my professional network on LinkedIn. - 石兴 石兴 杨 Engineer at Huawei China Confirm that you know 石兴 杨 https://www.linkedin.com/e/-qywqtf-gp6seg18-17/isd/3286485044/tMhTS6_g/ -- (c) 2011, LinkedIn

Re: [osg-users] troubles with osgDB::readImageFile

2011-06-21 Thread Robert Osfield
HI Sergey, There isn't anyway anyone in the community can answer your question as there just isn't a fraction of the required information for us to guess. Details that would be useful are: file type you are trying to load An example of the image that causes the failure. What version of

Re: [osg-users] Testing a workaround for fullscreen toggling issues under modern X11 window managers

2011-06-21 Thread Robert Osfield
Hi Mathias, 2011/6/21 Mathias Fröhlich m.froehl...@science-computing.de: Initially I get a full screen window *with* decorations. Pressing f gives a small window as expected. Press f again gives the previous huge window including decorations as before Thanks for the explanation. It sounds

Re: [osg-users] Navigation - Walk at 6 feets.

2011-06-21 Thread Nilton Paulo
Hi, Magnus Kessler: Thanks a lot for your help. I will try it. Best Regards: Nilton -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40714#40714 ___ osg-users mailing list

Re: [osg-users] osg on UNIX Dinosaurs

2011-06-21 Thread Mathias Fröhlich
Hi Robert, On Tuesday 21 June 2011, Robert Osfield wrote: [...] Ok! Greetings Mathias -- Dr. Mathias Fröhlich, science + computing ag, Software Solutions Hagellocher Weg 71-75, D-72070 Tuebingen, Germany Phone: +49 7071 9457-268, Fax: +49 7071 9457-511 -- Vorstand/Board of Management: Dr.

Re: [osg-users] VirtialPlanetBuilder-0.9.12 dev release tagged, and plans for VPB-1.0

2011-06-21 Thread Torben Dannhauer
Hi, Wikipage is updated already. Cheers, Torben -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40721#40721 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] How does accept(simplifier) works?

2011-06-21 Thread Chris 'Xenon' Hanson
On 6/20/2011 8:44 PM, Nilton Paulo wrote: Hi, everybody: Into my code, I am trying to set sample ratio as half, for example, same as written bellow: osg::ref_ptrosg::Node model3ds = osgDB::readNodeFile(C:\\OpenSceneGraph-2.8.0\\Z_File_To_Test\\Casa_Pronta.3DS); osgUtil::Simplifier

Re: [osg-users] BoundingBox

2011-06-21 Thread Jean-Sébastien Guay
Hi Nilton, This test does not work properly and IF always return TRUE. In addition to what Robert said, I'll add that the reason your test returns true is that you're using the camera's bounding sphere. Since the camera is the root of the scene graph, its bounding sphere contains the

Re: [osg-users] Testing a workaround for fullscreen toggling issues under modern X11 window managers

2011-06-21 Thread Robert Osfield
Hi Mathias, 2011/6/21 Mathias Fröhlich m.froehl...@science-computing.de: Yes, I was erasing my initial comment on that some minutes ago :). From my personal point of view, I think that our code touches too much internals of osg. So, I think we need to change that in some way to make that more

Re: [osg-users] troubles with osgDB::readImageFile

2011-06-21 Thread Jean-Sébastien Guay
Hello Sergey, I get exception - heap allocation error. The size that function tries to allocate is ~ 3458768586 bytes (picture size is 4 KB). Pre-complilated examples work well. Compilator VC++ 2010 Express. It sounds like you're mixing debug/release libraries / executable. You need to

Re: [osg-users] Fixes FBX plugin warnings

2011-06-21 Thread Michael Platings
Did the warnings highlight any bugs? The warnings about unhandled enumerators weren't bugs so I just put in some empty default: statements, but the warning about comparing different types of enums looked like a genuine bug. ___ osg-users mailing list

Re: [osg-users] OSGExp specular

2011-06-21 Thread Jean-Sébastien Guay
Hi Sergey, osgExp expects specular in range 0...1000, that is range you can set in 3ds max for specular intensity. It's looks different in 3ds max then in osg though. OK, that explains it, I thought the max was 100. I'll adjust my shaders so the result looks the same in Max and in OSG.

Re: [osg-users] Osg rendering in QGraphicsObjects

2011-06-21 Thread Benoit Morel
Hi everybody ¨ I'm using a Qt framework and i have to integrate an OSG widget to render a 3D scene, in a QGraphicsScene, but my code doesn't work. (I'm using OQG 3.0 and i'm working on Windows XP) I have seen on the forum that the example osgViewerQt can help to integrate OSG in a QWidget. I

Re: [osg-users] OpenSceneGraph-3.0.0 release candidate 2 tagged

2011-06-21 Thread Ryan Pavlik
I've started a continuous Jenkins build on the 3.0 branch, so you should be seeing those build results hitting CDash soon. I think I even got it to pass along build warnings, etc. now, which should be helpful. I'm blowing away the build directory every midnight my timezone, so that should also

[osg-users] Potential OSG 3.0 --run-on-demand regression

2011-06-21 Thread Tamer Fahmy
Hi all, tested OpenSceneGraph 3.0-rc2 on Ubuntu 10.10 with NVidia 270.41.19, which builds and runs just fine. However, I noticed that (at least on my system) trying to run e.g. 'osgviewer --run-on-demand cessna.osg' renders the first frame just fine, but then apparently frame updates aren't

Re: [osg-users] Potential OSG 3.0 --run-on-demand regression

2011-06-21 Thread Paul Martz
On 6/21/2011 9:44 AM, Tamer Fahmy wrote: Anyone else able to reproduce that behavior, too? This appears to have similar issues on Windows 7. No response from mouse interaction, and also the 'esc' key doesn't cause the app to exit. -Paul ___

Re: [osg-users] Potential OSG 3.0 --run-on-demand regression

2011-06-21 Thread Jean-Sébastien Guay
Hi Paul, This appears to have similar issues on Windows 7. No response from mouse interaction, and also the 'esc' key doesn't cause the app to exit. Same here on trunk, so it's not limited to the 3.0 branch. J-S -- __ Jean-Sebastien Guay

Re: [osg-users] Osg rendering in QGraphicsObjects

2011-06-21 Thread Jean-Francois Gagnon
Hello Benoit, The only way i got QGraphicsView worked with OSG and still have the full functionality of both was: 1. make an offscreen graphic context for OSG 2. create a QGLWidget 3. share textures between those 2 contexts 4. set the viewport of QGraphicsView to the QGLWidget 5. find a way

Re: [osg-users] VirtialPlanetBuilder-0.9.12 dev release tagged, and plans for VPB-1.0

2011-06-21 Thread Martins Innus
Robert, Builds fine with OSG 3.0rc2 on Mac OSX 10.6.7 64 bit. Martins On 6/21/11 9:13 AM, Robert Osfield wrote: Hi All, OpenSceneGraph-3.0.0 release seems to be going smoothly so it looks like I might have a little time this week to squeeze in getting VirtualPlanetBuilder to 1.0 as well.

[osg-users] Mac OS X windowing system related issue (maybe)

2011-06-21 Thread Alessandro Terenzi
Hi, it is not easy to explain the nature of the issue I'm experiencing anyway I'll try. I have an OSG application (on Mac OS X) that, on startup (no viewer realized and not in the application loop yet), opens a video device in order to display a webcam stream inside the application itself (the

Re: [osg-users] [osgPlugins] dgn2osg

2011-06-21 Thread Chris 'Xenon' Hanson
On 6/21/2011 11:55 AM, abhishek agarwal wrote: Hi, I want to extract information from .dgn files and i cannot find dgn2osg plugin. Is there anyway i can use dgn files with osg. Can you help me? http://www.lamce.coppe.ufrj.br/grva/data/labcogsdk/download/extras/dgn2osg/

[osg-users] Collada importer

2011-06-21 Thread Bolstad, Mark
I think there may be a bug in the collada importer, or at least it doesn't behave the way I expect. I'm importing a cube from blender through collada. The definition in the file comes out with a point list of 24 items (which makes sense, 8 points of 3 elements each). After import, I wind up

[osg-users] Mac OS X windowing system related issue (maybe)

2011-06-21 Thread Alessandro Terenzi
Hi, first of all I apologize if this is a duplicate post, I first tried to send a mail to the mailing list, but then I could not find it in this forum, so I'm trying again here by creating a new topic. It is not easy to explain the nature of the issue I'm experiencing anyway I'll try. I have

[osg-users] Question on optimizer flatten static transforms and line intersections

2011-06-21 Thread Poirier, Guillaume
Hello OSG users, I extract geometries from the scene graph and perform some line intersections directly on them. If there are some transformations above in the tree then the intersections will not take them into account. I'd like to use osgUtil::Optimizer::FLATTEN_STATIC_TRANSFORMS so that the

Re: [osg-users] Mac OS X windowing system related issue (maybe)

2011-06-21 Thread Stephan Huber
Hi Alessandro, Am 21.06.11 22:35, schrieb Alessandro Terenzi: If this can help, when I built OSG I chose 'Carbon' as windowing system, I built OSG as frameworks and I'm building my OSG application as a console application. If I build my application as an app bundle (instead of a try

Re: [osg-users] VirtialPlanetBuilder-0.9.12 dev release tagged, and plans for VPB-1.0

2011-06-21 Thread Stephan Wenglorz
Hi Robert, builds fine in Release mode against OSG 3.0 RC2, using Debian Testing x86_64 and g++ 4.6. Best wishes Stephan On 21.06.2011 15:13, Robert Osfield wrote: Hi All, OpenSceneGraph-3.0.0 release seems to be going smoothly so it looks like I might have a little time this week to