Re: [osg-users] Multi-Node?

2008-02-17 Thread Paul Pocock
Thanks Robert - osgcluster seems a good starting point. Regards On Sat, 2008-02-16 at 11:07 +, Robert Osfield wrote: > Hi Paul, > > On Feb 16, 2008 11:26 PM, Tanja & Paul <[EMAIL PROTECTED]> wrote: > > Thanks Robert - Yes I meant multiple displays, thanks for your response. I > > saw a th

Re: [osg-users] Setting the camera matrix for a viewer

2008-02-17 Thread Per Rosengren
using viewer.frame() instead of viewer.run() solved it! How do I remove the default camera manipulator? Do I remove the corresponding event handler? Paul Martz wrote: If you have a Camera manipulator attached to your Viewer, it will override any changes to the Camera matrices. Viewer attache

[osg-users] LOD problems using OSG with TerraPage

2008-02-17 Thread Kiff Loh
Hi, I'm using OSG viewer to see a txp terrain generated by Terra Vista. I have 10m and 1m imagery, with multiple LODs. I noticed that when I'm doing low level flying using OSG viewer, my most detailed LOD sometimes switches to the 2nd LOD. I'm flying just above the terrain, so it is quite impossi

Re: [osg-users] Setting the camera matrix for a viewer

2008-02-17 Thread Paul Martz
If you have a Camera manipulator attached to your Viewer, it will override any changes to the Camera matrices. Viewer attaches a Camera manipulator by default. Paul Martz Skew Matrix Software On Feb 17, 2008, at 5:31 PM, Per Rosengren <[EMAIL PROTECTED]> wrote: > Hod do I set the camera mat

[osg-users] Setting the camera matrix for a viewer

2008-02-17 Thread Per Rosengren
Hod do I set the camera matrix for a viewer. If use viewer.getCamera()->setViewMatrix(viewMatrix); viewer.getCamera()->setProjectionMatrix(projectionMatrix); the camera isn't affected. begin:vcard fn:Per Rosengren n:Rosengren;Per org:KTH;CVAP adr:;;KTH;Stockholm;;SE-100 44;Sweden email;internet:

Re: [osg-users] Framerate vs stats?

2008-02-17 Thread Jean-Sébastien Guay
Hello Guy, > How could it be a driver bug if it's debug/release issue?!? > Don't both versions use the same driver? Not sure we're talking about the same issue here. Re-read my message: I said "if you're in release mode, then it might be a driver bug". The premise is that you should never do an

Re: [osg-users] Loading an image file

2008-02-17 Thread Jean-Sébastien Guay
Hello Per, > I too need to show images. Since osg is (and should be) 3d-based, the > way to do is seemed to be to display a rectange Geometry infront of an > orthographic camera, and set the rectangle texture to be the image. To that end, there is a utility function in the Geometry header. #in

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

2008-02-17 Thread Glenn Waldron
Sherman, With C++/CLI and its IJW ("It Just Works") interop, you don't run into the issues you do with C#. C++/CLI is a superset of C++. That said there are a couple things to keep in mind: First, C++/CLI lets you mix managed and unmanaged C++, and there are some restrictions in how you are allow

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

2008-02-17 Thread Jason Beverage
Glenn, That seems like a great design choice, thanks for your insight. It's always nice to get another perspective. Thanks! Jason On Feb 17, 2008 1:09 PM, Glenn Waldron <[EMAIL PROTECTED]> wrote: > Jason, > > Architecturally I will usually treat the OSG API as a low-level > implementation det

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

2008-02-17 Thread Glenn Waldron
Jason, Architecturally I will usually treat the OSG API as a low-level implementation detail. So rather than a thin layer over OSG, I usually will encapsulate OSG code inside controller interfaces that accompany the OSG .NET Control. So for example, there will be a single C++/CLI assembly that wi

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

2008-02-17 Thread sherman wilcox
Glenn - ever run into any issues where you found portions of OSG not to "work" with C++/CLI? I believe the OSG/C# folks run into this a lot. Any odd difficulties or does everything just work? Follow-up question - have you written any OSG/C++/CLI WPF apps? Winforms? How well does all this stuff "pl

Re: [osg-users] Adding nodes to the scene while theviewer is running

2008-02-17 Thread Gordon Tomlinson
Yes you can add new objects to your application whiles its running all you need is a pointer to your scene graphs and use addChild on that node The man caveat is that you cannot do this in the cull or draw so you have to add your objects before the CULL and draw are dispatched. Also make sure yo

Re: [osg-users] Loading an image file

2008-02-17 Thread Per Rosengren
I too need to show images. Since osg is (and should be) 3d-based, the way to do is seemed to be to display a rectange Geometry infront of an orthographic camera, and set the rectangle texture to be the image. Instead of this, I chose to use OpenCV (CV for Computer Vision), but you can also use

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

2008-02-17 Thread Jason Beverage
Hi Glenn, We're using c# and OSG as well, but we're using hand crafted wrappers that attempt to expose all of the OSG functionality to C# (like the osgDotNet wrappers). This works well for the most part, but I often feel that sometimes it is more complicated than it is worth. I've also written a

[osg-users] Loading an image file

2008-02-17 Thread wanyama harold
Hi guys, how do i get to load an image file.iam able to load .osg file formats and i have set the directory path that contains the image in the OSG_PATH. the only issue is afte i read the image ie osg::Image* image=osgDB::readImageFile("output1.png"); how can i now view it as it cant be viewed by t

[osg-users] Printing the scene graph as text

2008-02-17 Thread Per Rosengren
I order to debug the osg program I am currently working on, I have written some functions to print the scene graph as text. For instance, notify(NOTICE) << myNode; will print the following to stdout: Camera: Group: Scene root Group: ../..

[osg-users] LineSegment and Plane Intersection

2008-02-17 Thread Renan Mendes
Hi, everyone. I'm having some trouble with computing the coordinates of the intersection between a osg::Plane and an osg::LineSegment. In addition, I'd like to be able to compute only the intersection with the plane, and forget about the rest of my scene... Is it possible? Thanks, Renan M Z Mend

[osg-users] Test www.osgChina.org , A fatal error(about visiting) have fixed

2008-02-17 Thread FreeSouth
Hello Rebort and all : A fatel error about some area can't visiting the website have been fixed. Please test it www.osgChina.org. And I want to applicate a link to www.openscenegraph.org. How to do it? Thanks all Yang ShiXing 2008 2 17 __