Re: [osg-users] Printing the scene graph as text

2008-02-18 Thread Serge Lages
Hi, There is an io_utils file where some similar functions can be found (allowing to easily dump a vertex or a matrix for example). 2008/2/17 Per Rosengren [EMAIL PROTECTED]: I order to debug the osg program I am currently working on, I have written some functions to print the scene graph as

Re: [osg-users] missing Geometry with OpenFlight

2008-02-18 Thread Hanekamp, Nikolaus
Hi Brede, thank you fort he hint. Your patch fixes the problem. No missing geometry any longer. Thank you Nikolaus -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Brede Johansen Gesendet: Freitag, 15. Februar 2008 19:10 An: OpenSceneGraph Users

Re: [osg-users] LineSegment and Plane Intersection

2008-02-18 Thread Robert Osfield
Hi Renan, There isn't a convenience function in Plane or LineSegment for computing the intersection point, but there are maths functions in Plane to help you. Rather than me try to explain the maths of how to compute a intersection of line with a plane it would be best to consult online texts

Re: [osg-users] LOD problems using OSG with TerraPage

2008-02-18 Thread Robert Osfield
Hi Kiff, I can't really provide a good answer as there is way too little info about the problem for me to get the bottom of it remotely, one really needs the database and the an animation path that reproduces the problem, then one can start digging in to it. It might be a database set up

Re: [osg-users] Different frame ratio for different cameras?

2008-02-18 Thread Robert Osfield
Hi Nicolas, For future posts could you break you posts into several paragraphs so the various questions and points are easier to spot and follow, this will make it easier to read and answer without getting misunderstandings. I think the question are asking is how to do a viewer with different

Re: [osg-users] LineSegment and Plane Intersection

2008-02-18 Thread Renan Mendes
Hi, Robert. I am aware of the analytical way of solving my problems. Thanks, anyway. Renan M Z Mendes ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] Different frame ratio for different cameras?

2008-02-18 Thread nicolas peña
Thanks for your answer, and sorry for my monolithic post. I will try to make them more readable. Now that I see that in order to control the frame rates I need to use an independent viewer for each simulated camera; - How can a set it to just render to a image and not display in the screen at

Re: [osg-users] Different frame ratio for different cameras?

2008-02-18 Thread Guy
Check the osgdistortion example and don't add the screen camera (the second camera) to the scene. That's more or less what you are looking for. If not, can you describe what did you do and what didn't work? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Re: [osg-users] LineSegment and Plane Intersection

2008-02-18 Thread Per Rosengren
The osgUtil::IntersectionVisitor has the foolowing applys: virtual voidapply (osg::Node node) virtual voidapply (osg::Geode geode) virtual voidapply (osg::Billboard geode) virtual voidapply (osg::Group group) virtual voidapply (osg::LOD lod) virtual voidapply

Re: [osg-users] another one - osg and C#

2008-02-18 Thread hesicong2006
Hi, you can see my C++/CLI Project video demo here: http://www.hesicong.net/blog/post/320.html and my MRI 3D Recontruction which use C# to design a transform function designer and C++ for osg: http://www.hesicong.net/blog/post/319.html I mentioned that the C++/CLI compile speed is very slow in

Re: [osg-users] osg embedded

2008-02-18 Thread Kremser, Andreas (Praktikant)
hi, we are going to replace every occurance of glBegin and glEnd with vertex arrays due to the following reasons: 1. not supported on opengl es opengl 3 2. bad performance or are there any objections to it? thanks, Andi *** Diese E-Mail enthaelt

Re: [osg-users] Different frame ratio for different cameras?

2008-02-18 Thread nicolas peña
Thanks very much for your answer. Reading that example was very helpful to understand why my previous attempt was wrong. Doing what you suggested let me with the desired result plus an empty screen. The only modification that I had to add was to set the underlying traits to be a pbuffer. Doing

[osg-users] Modifier key mask not working under OS X

2008-02-18 Thread Nils Hjelte
Hi! When reading the modifier key mask from GUIEventAdapter in my event handler it is always zero. And using example_osgkeyboard nothing happens when pressing a modifier key. I have tested under Linux as well and there it works as expected. Tested on OSG revision 7859, using a Intel

Re: [osg-users] LOD problems using OSG with TerraPage

2008-02-18 Thread Image Modelling Limited (IML)
not true, there are still some there but working from home! - Original Message - From: Brian R Hill [EMAIL PROTECTED] To: OpenSceneGraph Users osg-users@lists.openscenegraph.org Sent: Monday, February 18, 2008 2:40 PM Subject: Re: [osg-users] LOD problems using OSG with TerraPage I

Re: [osg-users] Loading an image file

2008-02-18 Thread Jean-Sébastien Guay
Hello Guy, This method also creates geometry, I think those guys are trying to avoid geometry creation. I think the class osg::DrawPixels can do the trick, but I never tried it. It's a tradeoff. You can create geometry (ooh, one whole quad!) and then set it to absolute reference frame or

[osg-users] Copy Constructor Advice

2008-02-18 Thread Jeremy Moles
I have a quick question that I may be over-thinking, of which I have yet to find a simple answer. Imagine that I have a class Derived from osg::MatrixTransform--let's call this osgWidget::Window. In my derived Window class, I have a number of osg::ref_ptr objects referencing various things that

[osg-users] Painless Loader

2008-02-18 Thread Lucas Lallement
Hi, I would like to be able to load textures painlessly, and by that I mean loading the image and applying the texture only when the texture is ready. This seems to work by doing this through an operation but I would like to avoid the application to be blocked during the setImage and the

Re: [osg-users] Painless Loader

2008-02-18 Thread Robert Osfield
Hi Lucas, Have a look at the osgtext example as there is code in their, invoked by osgterrain that has a compile operation. Robert. On Feb 18, 2008 5:14 PM, Lucas Lallement [EMAIL PROTECTED] wrote: Hi, I would like to be able to load textures painlessly, and by that I mean loading the image

Re: [osg-users] Copy Constructor Advice

2008-02-18 Thread Robert Osfield
Hi Jeremy, Most OSG objects implement the clone operator with CopyOp parameter so you can just pass this along. For objects like std::vector etc you would typically just implement a deep copy, i.e. copy all the contents, unless of course its a vector of ref_ptr's in which case copying the

Re: [osg-users] Printing the scene graph as text

2008-02-18 Thread Paul Martz
Are you aware that you could just write your scene graph as a .osg file? .osg is ASCII text. -Paul -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Per Rosengren Sent: Sunday, February 17, 2008 7:07 AM To: OpenSceneGraph Users Subject:

Re: [osg-users] [SPAM] Re: Multi-Node?

2008-02-18 Thread Somerville, Andrew
Hey Paul, You might want to checkout Chromium. It can take the place of the OpenGL library and pipe the rendering to multiple machines without changing your osg code. http://en.wikipedia.org/wiki/Chromium_(software) Andy -Original Message- From: [EMAIL PROTECTED] on behalf of

Re: [osg-users] Multi-Node?

2008-02-18 Thread Paul Pocock
How does Chromium stack up ? Its based on WireGl I believe and from what I've heard isn't the fastest API out there - If your forwarding calls every frame and rendering large databases in real-time wouldn't it be a pretty heavy load on your system? On Tue, 2008-02-19 at 07:29 +1100,

Re: [osg-users] Loading an image file

2008-02-18 Thread Guy
I agree about the performance, but it could theoretically change with driver implementation, and it's always good to know other options... especially when cats are involved... :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jean-S?bastien Guay Sent: