Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread Robert Osfield
Hi Brett, You need to read up about deriving your own custom std::streambuf, once you understand this part then adapting existing plugins to use your encrypted stream will be straightforward. You could even be lazy a use a stringstream like the curl plugin does. Please look into this stuff -

[osg-users] Suppressing Messages from readNodeFile( ) calls?

2008-10-02 Thread DeBitetto, Paul A.
I'm trying to get OSG to stop printing out the warning message texture file 557-12.jpg not found ! for every faceset when I load my model. Is there a way to do this?The warning is legitimate in that I have intentionally removed all the texture image files because I'm just trying to load the

Re: [osg-users] Suppressing Messages from readNodeFile( ) calls?

2008-10-02 Thread Robert Osfield
Hi Paul, Setting the OSG_NOTIFY_LEVEL to ALWAYS should quieten things down w.r.t all notify messages, so perhaps you haven't set things correctly, or perhaps there is a std::cout lurking somewhere which isn't affected by the NotifyLevel. You also have the option of using setting the notifiy

[osg-users] Bounding Parallelepiped

2008-10-02 Thread Matthieu DIRRENBERGER
Hello OSG masters, I have a question about BoundingBox (I checked the mailing archives before). You know that OSG generate BoundingBox, but it is really a box (all faces have the same size). I need the Bounding Parallelepiped of my scene. Not just the bigger radius from the center applied on

Re: [osg-users] osgPPU osgShadow

2008-10-02 Thread Art Tevs
Hi Michael, I have never tried osgShadow at all, hence I can not say what happens if you use osgPPU with it. Could you prepare some simple example showing the issue? Maybe try the newest version from the svn, since there are some changes to the previous one. Best regards, art Hi guys, I've

[osg-users] Finding a paged lod root

2008-10-02 Thread Ralf Stokholm
Hi All When searching a directorystructure recursively, how do I easily identify a .ive file as a paged lod root, so that I may stop the recursive search? Backgruond: My project is based on delta3d. The map editor for delta3d (STAGE) will search the datadirectory and search for models which

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Robert Osfield
HI Matthieu, An osg::BoundingBox is an axis aligned bounding box, all faces could be the same size as in a cube, but this is certainly not constrained to represent cubes. Secondly the scene graph uses BoundingBox for the Drawable leaves, and BoundingSphere for nodes of the scene graph. This

Re: [osg-users] Finding a paged lod root

2008-10-02 Thread Robert Osfield
Hi Ralf, The naming of the files will tell you which is the root, it's the one without all the subtile text in them. If you do wish to load a file to determine if it's the root then there is no full proof way to do this. On geocentric databases the osg::CoordinateSystemNode decorates the paged

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
Hi Matthieu Unfortunately, OSG does not directly support what you want as osg'S bounding box, is as you have seen is a axially aligned min/max LL/UR But you could extend the example on my site http://www.3drealtimesimulation.com/osg/code/osgcode_bbox1.htm to do what you want, you will have

[osg-users] Intersection destroy - memory errors

2008-10-02 Thread Jesper D. Thomsen
Hi again, I have integrated an OSG viewer in an existing application and have gotten the viewer to display a model correctly. I now wanted to implement some picking, and I have been using the osgkeyboardmouse example for this. My problem is that whenever I click on something the deconstructor

Re: [osg-users] very simple ortho problem

2008-10-02 Thread Paul Martz
Sorry,but I have some new strange thing: It seems like all nodes with entirely positive z coordinates are not displayed, though my viewing volume still should be [-1.1] in z. This is probably OSG's autocomputenearfar resetting your near and far planes. Try disabling that. Search the mailing

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread brettwiesner
Robert, OK, I'm reading up on basic_streambufchar now. In the meantime, maybe you can help me understand how I can use a derived streambuf with the existing IVE loader. Aren't I going to run into the same problem? When the IVE loader comes across a proxy node, it will write out the node

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Jean-Sébastien Guay
Hi Gordon, Unfortunately, OSG does not directly support what you want as osg'S bounding box, is as you have seen is a axially aligned min/max LL/UR That is not true. OSG's bounding box supports separate xmin/xmax, ymin/ymax, zmin/zmax values, so it can represent boxes that have different

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Matthieu DIRRENBERGER
Hi Robert Gordon J-S, Robert J-S thanks for precisions, I have not conscience of all that points. I had understood that osg::BoundingBox can 'store' a Bounding Model with different axis sizes, but I asked the question to understand the best way to 'compute' them ;-) Gordon thanks a lot, it

[osg-users] Linear Systems Solvers

2008-10-02 Thread Renan Mendes
Hi, there. I was wondering if there were any preexisting member functions that solve linear systems of 2 and 3 variables, already considering cases of numerical instability. I could create my own method, but I would be a little insecure about these particular situations... If anyone know

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread Robert Osfield
HI Brett, Please follow the suggestions already made. The osga plugin already implementents a custom std::streambuf, and the curl plugin uses a stingstream to adapt an external stream into something that the other OSG plugins can use. Robert. On Thu, Oct 2, 2008 at 3:47 PM, brettwiesner [EMAIL

[osg-users] OSG 2.6.1?

2008-10-02 Thread Argentieri, John-P63223
Hey guys. I thought 2.6.1 was due out yesterday. I haven't seen any news about it. Is it available to us yet? John Argentieri Software Engineer GENERAL DYNAMICS C4 Systems [EMAIL PROTECTED] ___ osg-users mailing list

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
I disagree :) You need 8 vec3's to do that, you need the 4 corners of any 2 opposite sides of the bounding box in order to have every side a different size The osg::Bounding box only supplies 2 vec3's which effectively gives you 2 corner points and you cannot get the 8 corner points from 2,

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Robert Osfield
On Thu, Oct 2, 2008 at 4:13 PM, Matthieu DIRRENBERGER [EMAIL PROTECTED] wrote: Robert J-S thanks for precisions, I have not conscience of all that points. I had understood that osg::BoundingBox can 'store' a Bounding Model with different axis sizes, but I asked the question to understand the

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Paul Melis
Tomlinson, Gordon wrote: I disagree :) You need 8 vec3's to do that, you need the 4 corners of any 2 opposite sides of the bounding box in order to have every side a different size The osg::Bounding box only supplies 2 vec3's which effectively gives you 2 corner points and you cannot get

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
How OSG uses is fine for how it is used But we were not talking about HOW OSG uses but how a someone would like a bounding box that is not necessary axially aligned and to have a box were all six sides can be of difference size thus no real correlation between corners you need the 8 corners

[osg-users] OpenSceneGraph 2.6.1 released

2008-10-02 Thread Paul Martz
Hi all -- I've tagged the OSG 2.6.1 release. Here is the svn URL: http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-2.6 .1 The release contains some bug fixes made to OSG after the 2.6 release, including changes to the CMake system, osgSim::OverlayNode,

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Fuesz, Matthew
Forgot to add: You also need the center of rotation, but I have assumed that this center point is already being stored as part of the data for the object from which the bounds are computed. If this is a standalone bounding box (for example, encapsulating a series of objects without a 'parent'

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Paul Melis
Tomlinson, Gordon wrote: How OSG uses is fine for how it is used But we were not talking about HOW OSG uses but how a someone would like a bounding box that is not necessary axially aligned and to have a box were all six sides can be of difference size thus no real correlation between

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Jean-Sébastien Guay
Hi Gordon, I disagree :) You need 8 vec3's to do that, you need the 4 corners of any 2 opposite sides of the bounding box in order to have every side a different size The osg::Bounding box only supplies 2 vec3's which effectively gives you 2 corner points and you cannot get the 8 corner

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Fuesz, Matthew
For the case of a non-world-aligned bounding box - but still one which is parallel-sided (i.e., a rectangular volume) - you actually do not need all eight corners. You only need the two opposite corners (as osg::BoundingBox uses) plus a rotation. Thus, you require either 5 3D vectors (2

Re: [osg-users] Bounding Parallelepiped

2008-10-02 Thread Tomlinson, Gordon
:) Gordon __ Gordon Tomlinson Product Manager 3D Email : gtomlinson @ overwatch.textron.com __ (C): (+1) 571-265-2612 (W): (+1) 703-437-7651 Self defence is not a function of

Re: [osg-users] osgPPU osgShadow

2008-10-02 Thread Michael Guerrero
I just get a black screen. Maybe the initial screen render is not passed to the PPU's correctly. Michael ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread brettwiesner
Robert, Maybe some code will help Let's say I write my own ReaderWriter that reads and writes encrypted ive files or eive files. class ReaderWriterEive : public osgDB::ReaderWriter { public virtual bool acceptsExtension(const std::string extension) const { // Accepts eive as an

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread Jean-Sébastien Guay
Hi Brett, I'm wondering, if you suspect that ProxyNodes (and thus PagedLOD nodes as well) would be a problem, why don't you just run a visitor that would find those, and change their extension to eive (or whatever you want)? Then if you write the top-level file, it will write the referenced

Re: [osg-users] OpenSceneGraph 2.6.1 released

2008-10-02 Thread Robert Osfield
Hi Paul, Thanks for your efforts on getting our first stable minor point release completed, another important milestone for the project! I've updated the downloads page. We now need to get binaries built and uploaded, and also a press release updated and front page mention. So helpers on these

Re: [osg-users] OpenSceneGraph 2.6.1 released

2008-10-02 Thread Argentieri, John-P63223
Paul, Thanks again for your efforts! John From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Martz Sent: Thursday, October 02, 2008 12:37 PM To: 'OpenSceneGraph Users' Subject: [osg-users] OpenSceneGraph 2.6.1 released Hi all -- I've tagged

[osg-users] Camera Control, a rotation from 'Y' up to 'Z' up

2008-10-02 Thread Cicey Hu
Hi, all, Before this email, I searched mail archieve and read all the posting related to camera, expecially Positioning and viewers camera (around 2008 Jun) and Camera Control and view matrix (around 2008 Sep). But I still cannot manually control the camera orientation. As a new OSG user,

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread Jean-Sébastien Guay
Hi Brett, As expected, the visitor goes and changes the names of all the referenced files. Then the top level file is written out. The proxy nodes try to write themselves out but since the files they reference (referencedFile.eive) doesn't exist, nothing is written out. I don't quite know

[osg-users] source distribution

2008-10-02 Thread Cedric Pinson
Hi, anyone knows if the source distribution has been changed from the first 2.6.0 release ? I mean with the same filename ? Cheers, Cedric -- +33 (0) 6 63 20 03 56 Cedric Pinson mailto:[EMAIL PROTECTED] http://www.plopbyte.net ___ osg-users

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread brettwiesner
Hi, I'm going to try one more thing... In my readerWriter, I can unregister the real IVE loader, and register my encrypted ive loader. This way, my loader gets called when a .ive is written out/ read in. I'll actually call the real IVE loader for all read and writes, but the recursive proxy

Re: [osg-users] How do I Subclass a file loader?

2008-10-02 Thread Thrall, Bryan
brettwiesner wrote on Thursday, October 02, 2008 2:22 PM: Jean, I did try my original solution which is how I know it writes out .ive files. I also just implemented the visitor solution to see what happens. As expected, the visitor goes and changes the names of all the referenced files.

[osg-users] nVidia graphics cards - GeForce or Quadro

2008-10-02 Thread haithcoc
Based on benchmarks, it seems that the high end gaming graphics cards (i.e. GeForce GTX 280) tend to lead the Quadros in performance claims on most games. I suspect the this is because there is a broader game market, and the time/cost with getting Quadro cards certified for the list of CAD and

Re: [osg-users] nVidia graphics cards - GeForce or Quadro

2008-10-02 Thread Tomlinson, Gordon
We generally use the Quadro's as our customer base is typically using the pro card rather than the consumer/GeForce versions The drivers in our experience on the Quadro's are much more robust but their release cycle along with hardware is longer But the only we you can get a handle on which may

Re: [osg-users] osgPPU osgShadow

2008-10-02 Thread Art Tevs
Hmm, this could be an issue, yes. Could you try to setup the OSG_NOTIFY_LEVEL=info to see the logs. Maybe there are just some misconfiguration of the osgPPU pipeline. Have you connected the processor to the right camera? Do the camera render the scene into a RTT texture? Could you try to

Re: [osg-users] nVidia graphics cards - GeForce or Quadro

2008-10-02 Thread Paul Martz
In general, the Quadro class outperforms the GeForce class for line and point rendering, as well as context switching. The Quadro is also the only card that can sync buffer swaps with other cards. There might be other differences; this is just off the top of my head. -Paul Based on

Re: [osg-users] nVidia graphics cards - GeForce or Quadro

2008-10-02 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: | I have researched specs and the such, but still can't figure out the | real answer. Can any of the experts out there provide any | suggestions? | | Thanks, | Unless you need the certified drivers and some Quadro-only

Re: [osg-users] nVidia graphics cards - GeForce or Quadro

2008-10-02 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Paul Martz wrote: | In general, the Quadro class outperforms the GeForce class for line and | point rendering, as well as context switching. True, however, GeForce tends to get never chipsets faster than Quadros, so these optimizations are