Re: [osg-users] [osgPlugins] OpenFlight-Plugin - How to store individual object in seperate geode?

2009-04-07 Thread Bulkhead
Hi Brede, Thanks very much for the info. Yup, with osgconv, I managed to compare the source flt database and the coverted osg format. Seems like the objects are already merged in the flt database. So I guess I have to find a way to modify the source before loading it to osg [Wink] Once

Re: [osg-users] Skybox example problem

2009-04-07 Thread Großer Martin
Hello, ok, it seems that nobody has an idea. Maybe is the problem the range of values? Cheers, Martin Am Montag, den 06.04.2009, 10:30 +0200 schrieb Martin Großer: Hello all, I compiled the skybox example. And I try to load a big scene. Now I have artefacts in the skybox. I can see the

Re: [osg-users] problem in picking operation

2009-04-07 Thread Msrsas
Thanks all for your replies. In first part of my problem i was just trying to printout the statement. if i am not loading any file using readnodefile then i get the output using std::cout . The code is as follows. (i have commented the printout statement as it gives me error) #include

Re: [osg-users] start/stop viewer

2009-04-07 Thread Robert Osfield
Hi Bob, I'm not familiar with the MFC so can't comment on threading issues that I know nothing about. I don't use Windows at all so can't answer specific, the best I can do is roughly point you in the direction that I think might be appropriate. Others in the community will have to help out

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Robert Osfield
On Tue, Apr 7, 2009 at 5:08 AM, Paul Martz pma...@skew-matrix.com wrote: Thanks. I'll give that a try. If NPOT is the issue, then apparently VPB requires NPOT support at DB build time, not just at run time. I found that creating the same DB on my Windows laptop with Quadro 1500M works

Re: [osg-users] Skybox example problem

2009-04-07 Thread Robert Osfield
2009/4/7 Großer Martin grosser.mar...@gmx.de Hello, ok, it seems that nobody has an idea. Maybe is the problem the range of values? Perhaps the problem is that no-one knows what skybox example you are talking about... Robert. ___ osg-users

Re: [osg-users] osg::Manipulator::CommandManager DraggerSelectionMap

2009-04-07 Thread Charbit Romain
Any Idea about that? Did I miss the reason why there is no function to return this map? -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9824#9824 ___ osg-users mailing list

[osg-users] Camera Manipulator

2009-04-07 Thread ami guru
Hello forum, I am going through the example osgimpostor to get the idea of how the quaternion camera is implemented there. The camera manipulator has been derived from the MatrixManipulator class and one of the function that has been over-ridden is setNode(); I would like to find out when

Re: [osg-users] Skybox example problem

2009-04-07 Thread Martins Innus
If its the vertex program example, I had the same issue when using it with a large scene. The skybox would disappear as you zoomed out. If I increased the size of the Shape Drawable Sphere that the skybox was mapped to, everything worked fine, so it seems like it was being clipped by the

[osg-users] How to attach DEM/Texure/OSG Model to an earth model created by VPB?

2009-04-07 Thread 谢明鸿
I have created an earth model with VPB ( an ellipsoid with earth texture) by the instruction post in http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem. (osgdem --bluemarble-west -t land_shallow_topo_west.tif --bluemarble-east -t land_shallow_topo_east.tif -l 8 -o

Re: [osg-users] Camera Manipulator

2009-04-07 Thread Alberto Luaces
Hi, Sajjad El Martes 07 Abril 2009ES 10:57:01 ami guru escribió: Hello forum, I am going through the example osgimpostor to get the idea of how the quaternion camera is implemented there. The camera manipulator has been derived from the MatrixManipulator class and one of the function that

Re: [osg-users] How to attach DEM/Texure/OSG Model to an earth model created by VPB?

2009-04-07 Thread Robert Osfield
Hi Minghong, Just add to the your existing osgdem command line the imagery using the -t image.tif for the texture, and -d heightfiel.tif to pass in the DEM and then rebuild the database. You'll need to add your 3D model yourself to the final model. Robert. 2009/4/7 谢明鸿 minghong...@163.com I

Re: [osg-users] start/stop viewer

2009-04-07 Thread Thibault Genessay
Hi Bob I have used such a design in wxWidgets. I guess you could adopt the same strategy for MFC. I have an instance of osgViewer::CompositeViewer in a global singleton. When I need a 3D view: - I create a canvas (in your case, an MFC window that derives from or has a osg::GraphicsContext). - I

Re: [osg-users] osgInEurope - osg meeting/conference in Paris

2009-04-07 Thread Sukender
Hi Art and all, I was asking to myself: and what if an university open its doors for us? That would be free, of course. The counterpart would be that we (as OSG users) may allow students to enter the conference, and maybe we should prepare something about OSG for them. What about that idea?

Re: [osg-users] osgInEurope - osg meeting/conference in Paris

2009-04-07 Thread Art Tevs
Hi Sukender, of course this would be also great. Universities have good possibilities for hosting a conference. And even more, this would be a nice opportunity to show OSG to young public :) I would like to hear what Robert do think about it. However if we decide to make just a user meeting,

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Jean-Sébastien Guay
Hi Paul, If NPOT is the issue, then apparently VPB requires NPOT support at DB build time, not just at run time. I found that creating the same DB on my Windows laptop with Quadro 1500M works great. Well, that would make sense since OpenGL operations are used (within an OpenGL context) when

Re: [osg-users] Camera Manipulator

2009-04-07 Thread Jean-Sébastien Guay
Hello Sajjad, I would like to find out when that particular function is called and who is calling that. I am definite that it is called, but could not find out who is calling that(some function in another class probably ). Basic debugging technique: Run the code in the debugger, put a

Re: [osg-users] osgInEurope - osg meeting/conference in Paris

2009-04-07 Thread Cedric Pinson
Hi all, I would be happy to talk about osgAnimation and how i started it Cedric Art Tevs wrote: Hi Sukender, of course this would be also great. Universities have good possibilities for hosting a conference. And even more, this would be a nice opportunity to show OSG to young public :) I

Re: [osg-users] osgInEurope - osg meeting/conference in Paris

2009-04-07 Thread Robert Osfield
Hi All, On Tue, Apr 7, 2009 at 2:00 PM, Art Tevs arti_t...@yahoo.de wrote: of course this would be also great. Universities have good possibilities for hosting a conference. And even more, this would be a nice opportunity to show OSG to young public :) I would like to hear what Robert do

Re: [osg-users] osgInEurope - osg meeting/conference in Paris

2009-04-07 Thread Serge Lages
Hi all, About the place, it will more difficult for us to host the event like the previous time. We're moving from the center of Paris to a less centered place (and it's a lot more difficult to access :/). But it can still be an option if we don't find anything else. Cheers, On Tue, Apr 7, 2009

Re: [osg-users] How to attach DEM/Texure/OSG Model to an earth model created by VPB?

2009-04-07 Thread minghongxie
Hi Robert, Thanks for your suggestion, but maybe I misleaded you to the wrong way. Please let me re-organize my problems again. I have built the earth model ( earth.osga ), the region model ( e.g. Beijing.osga, which created by osgdem with img file and dem file), and the object models

Re: [osg-users] osgInEurope - osg meeting/conference in Paris

2009-04-07 Thread Sukender
Le Tue, 07 Apr 2009 15:32:10 +0200, Robert Osfield robert.osfi...@gmail.com a écrit: Hi All, On Tue, Apr 7, 2009 at 2:00 PM, Art Tevs arti_t...@yahoo.de wrote: of course this would be also great. Universities have good possibilities for hosting a conference. And even more, this would be a

Re: [osg-users] How to attach DEM/Texure/OSG Model to an earth model created by VPB?

2009-04-07 Thread Robert Osfield
HI Minghong, 2009/4/7 minghongxie minghong...@163.com Hi Robert, Thanks for your suggestion, but maybe I misleaded you to the wrong way. Please let me re-organize my problems again. I have built the earth model ( earth.osga ), the region model ( e.g. Beijing.osga, which created by

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Paul Martz
Interesting... Neither osgdem nor vpbmaster show a --pot command line option in their help output, but neither of them complain if --pot is present on their command lines. The cache file output from osgdem doesn't appear to be different with or without --pot, which makes me think this must be a

[osg-users] Fwd: Camera Manipulator

2009-04-07 Thread ami guru
Thanks Jean, Alberto, It did help. I have some new issue related to the camera manipulator. If you have tried the osgimpostor example you will notice that the camera rotate against Z axis when we click the left mouse and drag it left to right or vice versa. I want to rotate the camera against

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Paul Martz
OK, maybe I wasn't as current as I thought I was. I updated OSG and VPB and the issue is now gone. I still don't see --pot listed as a command line option, however... Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From:

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Robert Osfield
Hi Paul, On Tue, Apr 7, 2009 at 3:58 PM, Paul Martz pma...@skew-matrix.com wrote: Interesting... Neither osgdem nor vpbmaster show a --pot command line option in their help output, but neither of them complain if --pot is present on their command lines. The cache file output from osgdem

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Robert Osfield
On Tue, Apr 7, 2009 at 4:24 PM, Paul Martz pma...@skew-matrix.com wrote: OK, maybe I wasn't as current as I thought I was. I updated OSG and VPB and the issue is now gone. Good to hear it's working. I still don't see --pot listed as a command line option, however... I've just added

Re: [osg-users] VPB texture disappear

2009-04-07 Thread Paul Martz
Thanks for everyone's help on this. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com http://www.skew-matrix.com/ +1 303 859 9466 _ From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Robert Osfield Sent:

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Jean-Sébastien Guay
Hi all, I don't know if anyone was interested in this issue, but after a few more back-and-forths with the NVidia developers, we were able to determine that the bug is completely fixed. I asked what the cause was, and here was their answer: There was a bug in our driver that had a race

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Robert Osfield
Hi JS, Thanks for the update, and info about the bug fix from NVidia. Kudos to yourself and NVidia for getting this one put to bed. On Tue, Apr 7, 2009 at 5:41 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: Robert, I don't know how often you can update your graphics drivers,

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Jean-Sébastien Guay
Hi Robert, We'll right now I'm working on ATI graphics card ;-) Booo :-) I'm sure this is very low on your priority list, but any chance you'll get the stats handler's GPU time to show up on ATI cards? :-) A quick check of the Ubunutu repositories suggest that leatest NVidia drive

[osg-users] array of floats to a shader?

2009-04-07 Thread Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC
All, I have a simple question that perhaps someone can answer. I need to send an array of floats to my vertex shader. My question is, is there any support in OSG to do this? Looking at the osg::Uniform class, I don't see any direct support for doing this. Is there anything in OSG that

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Robert Osfield
On Tue, Apr 7, 2009 at 6:30 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com wrote: We'll right now I'm working on ATI graphics card ;-) Booo :-) I'm sure this is very low on your priority list, but any chance you'll get the stats handler's GPU time to show up on ATI cards? :-)

Re: [osg-users] Extending Node or a Nodekit ?

2009-04-07 Thread Jason Daly
Martin Beckett wrote: I need the geometry node to contain some extra meta data and an extra value for each vertex (a quality filed) there is no change to how the Node is drawn. I'm looking for the best way to do this: 1, Patch the source - probably a bad idea! 2, Store the data separately

Re: [osg-users] Extending Node or a Nodekit ?

2009-04-07 Thread Martin Beckett
Jason Daly wrote: Is the per-vertex data something you can fit in a float or Vec2/Vec3/Vec4? If so, how about just a generic vertex attribute? So I can add any arbitrary arrays to _vertexAttribList without affecting the drawables? The extra meta-data can be attached using the

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Jean-Sébastien Guay
Hi Robert, Does ATI support any GPU query extensions? The OSG code is not specific to NVidia. It seems that it doesn't support those extensions, no (note that I haven't looked at it specifically, just relying on the effect which is that the GPU time line is missing in the stats handler).

Re: [osg-users] array of floats to a shader?

2009-04-07 Thread Jason Daly
Tueller, Shayne R Civ USAF AFMC 519 SMXS/MXDEC wrote: I believe I found something...osg::Uniform::setArray(osg::FloatArray *array)? Hopefully this is correct. I'm assuming there's something to specify the number of elements? You can use setNumElements() and setElement(). I haven't used

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Jason Daly
Robert Osfield wrote: On Tue, Apr 7, 2009 at 6:30 PM, Jean-Sébastien Guay jean-sebastien.g...@cm-labs.com mailto:jean-sebastien.g...@cm-labs.com wrote: We'll right now I'm working on ATI graphics card ;-) Booo :-) I'm sure this is very low on your priority list, but any

Re: [osg-users] Extending Node or a Nodekit ?

2009-04-07 Thread Jean-Sébastien Guay
Hi Martin, So I can add any arbitrary arrays to _vertexAttribList without affecting the drawables? Yep, and it's even saved in the .osg file :-) See OpenSceneGraph-Data/glsl_confetti.osg for example, search for Attrib. J-S -- __

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Robert Osfield
On Tue, Apr 7, 2009 at 7:16 PM, Jason Daly jd...@ist.ucf.edu wrote: This one looks promising: AMD_performance_monitor http://www.opengl.org/registry/specs/AMD/performance_monitor.txt Thanks for link. Does look like it may well do the trick. I'll have to dive in fully really know how

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Jean-Sébastien Guay
Hi Robert, GL_EXT_timer_query extension is the vendor independent extension, it just that AMD has clearly gone a different route. Well, it's vendor independent but only NVidia implements it. ;-) It could as well be an NV extension, no one else supports it (not just ATI/AMD, but no one

[osg-users] Extending Node or a Nodekit ?

2009-04-07 Thread Martin Beckett
I need the geometry node to contain some extra meta data and an extra value for each vertex (a quality filed) there is no change to how the Node is drawn. I'm looking for the best way to do this: 1, Patch the source - probably a bad idea! 2, Store the data separately with a pointer to the

Re: [osg-users] CompositeViewer addView threading issue on Windows?

2009-04-07 Thread Jean-Sébastien Guay
Hi Robert, It seems that it doesn't support those extensions, no (note that I haven't looked at it specifically, just relying on the effect which is that the GPU time line is missing in the stats handler). GLView tells me that according to its database, only NVidia cards (GeForce and Quadro

Re: [osg-users] osgShadow and model alpha textures

2009-04-07 Thread Bob Holcomb
I forgot to mention that I'm running an Nvidia 8600m and windows XP. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9872#9872 ___ osg-users mailing list osg-users@lists.openscenegraph.org

Re: [osg-users] array of floats to a shader?

2009-04-07 Thread Paul Martz
I haven't used an array Uniform before either. In the past I've used a 1D float texture. If you get this to work, let us know how it goes. Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com +1 303 859 9466 -Original Message- From: osg-users-boun...@lists.openscenegraph.org

Re: [osg-users] animating textures

2009-04-07 Thread Julia Guo
Hi, thanks very much for the advices. I now have a basic MultitextureControl example working that fades a single texture. However I cant seem to activate texture unit 1. The following example only shows the texture if I set unit to 0: Code: addDrawable(new osg::ShapeDrawable(new