[osg-users] how to improve frame rate of my scene with lots of cubes and cylinders?

2009-09-28 Thread Maurizio Lodo
Hi, I suppose you get many messages like this, so I apologise in advance. My scene is made of cubes and cylinders generated using ShapeDrawable. First I generate a large "cell" made of 1000 large cubes and up to 3000 cylinders and then a smaller "cell" made of the same number of elements, just s

[osg-users] [build] problem building OSG under ubuntu 7.04

2009-09-28 Thread Aburik Mathnan
Hi, When i am trying to make osg in my ubuntu, it compiles well but when it is linking i am getting lot of error releted to X11 and OpenGL referances. the error are undefined reference to 'XReparentWindow', undefined reference to 'glMultMatrixd' undefined reference to 'gluTessBeginC

[osg-users] osgviewerQtWidget Quadbuffer Stereo & Alpha Problems

2009-09-28 Thread Scott Senften
HI all, I'm having two difficulties with osgviewerQtWidget on linux, and I was hoping someone else may have already seen this and can give me some insight as to my troubles. In main.cpp, I added the following lines to turn on quadbuffer stereo. QPointer myMainWindow = new testMainWin; #if

Re: [osg-users] [help]MinGW building error

2009-09-28 Thread Thiago Mael de Castro
Hi, Rain It seems like this version of MinGW´s GCC does not define the preprocessor directive _GLIBCXX_USE_WCHAR_T, used in the include for defining the wchar streams. I was getting the same error and then forced the directive definition by passing the -D_GLIBCXX_USE_WCHAR_T option to GCC´s in

Re: [osg-users] Terrain generator compatible with OSG

2009-09-28 Thread Chris 'Xenon' Hanson
Felipe Lemus wrote: > I am trying to install the programs that you recommended me, Jason. Thanks > for the help. All new ideas are welcome!!! The decision between VirtualPlanetBuilder and OSGEarth comes down to whether you want to pre-build a database from the source data (VPB) or have the sce

Re: [osg-users] Terrain generator compatible with OSG

2009-09-28 Thread Felipe Lemus
Hi, Thanks both for your answers. Sorry, but I have been disconnected the last week. I am doing my final year project. I have designed a multimodal interface for control and monitor UAVs (Unmanned Aerial Vehicles). I have many tools: Head Tracking, Touch screens, 3D sound, etc... But I want t

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-09-28 Thread Jean-Sébastien Guay
Hi Dimitrios, I checked the _oldFrame and you are absolutely right. So does that mean that my suggestion fixed it for you? J-S -- __ Jean-Sebastien Guayjean-sebastien.g...@cm-labs.com http://www.cm-labs.com

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-09-28 Thread Dimitrios Filiagos
Hi, I checked the _oldFrame and you are absolutely right. Thanks! Dimitrios -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17686#17686 ___ osg-users mailing list osg-users@lists.openscenegraph.or

Re: [osg-users] OSG Windows XP environment setup??

2009-09-28 Thread Montgomery, John T.
Thanks Paul, I have the Data - just didn't have OSG_FILE_PATH set. Now, have we got functional transfer functions? :-) John Montgomery, Glassel, Scotland. Website: http://www.thevigils.co.uk -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...

Re: [osg-users] OSG Windows XP environment setup??

2009-09-28 Thread Paul Martz
You'll need to set OSG_FILE_PATH to include the OpenSceneGraph-Data directory. If you don't have it, it's under svn. See the wiki. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_ +1 303 859 9466 ___ osg-u

Re: [osg-users] OSG Windows XP environment setup?? SOLVED

2009-09-28 Thread Montgomery, John T.
Not clear why, but... Each time I was running from within C:\OSG_dev\OSG-Data and therefore, using only 'introduction.p3d' However, running from 'C:\Documents and Settings' - thus requiring a full-path for the input file - ' C:\OSG_dev\OSG-Data\introduction.p3d' It worked! :-) John Montgomery,

[osg-users] OSG Windows XP environment setup??

2009-09-28 Thread Montgomery, John T.
Hi All, I have (successfully, I think) compiled both Debug and Release of the current versions of OSG::Present3D. I am on WinXP SP2, and using VS 9 (2008) When I run present3dd C:\OSG_dev\OSG-Data\introduction.p3d from within the IDE, it runs as expected. But, when I run it from a standard comm

Re: [osg-users] [osgPPU] osgPPU for image processing

2009-09-28 Thread Art Tevs
Hello Harash, Harash Sharma wrote: > > I have been able to incorporate osgPPU into my application. Image filtering > and color space conversions are working fine for a desired resolution that I > set at the beginning of the osgPPU Pipeline. > Nice to hear that the library is also used not o

Re: [osg-users] [osgCompute] PostProcessGL

2009-09-28 Thread Jens Orthmann
Hi Michael, in osgCompute it is very easy to set up this example. Ok let's go through all the steps you have to do: GMan wrote: > 1 - render the scene to the framebuffer Like Art already said you have to render the scene with a camera. Before that you need to attach a osgCuda::Texture2D to i

Re: [osg-users] [3rdparty] osgOcean collision detection

2009-09-28 Thread Jean-Sébastien Guay
Hi Dimitrios, I tried to write a function during the weekend. It works but the result is not so accurate. The floating objects are going up and down but they're not completely synchronized with the ocean surface. It seems that they are moving on a different phase or something. Here's my code

Re: [osg-users] [osgPPU] Using osgPPU

2009-09-28 Thread Hadrien Thomas
Hi, Here is the "minimal" code I use that may help somebody in the future: It lacks some comments but it's because I'm not sure I understand everything (I have been helped to get that) Code: #include #include #include #include #include #include #include #include #include #include #

Re: [osg-users] OSG_FEM

2009-09-28 Thread Ugras Erdogan
Hi Umit, Thanks for the answer. But I actually wondered if there are any finite element analysis kit compatible with OSG or has anyone coded a numerical analysis package (ie: linear decomposition, spectral decomposition, linear and/or nonlinear optimization, matrix analysis routiones) for the OS

Re: [osg-users] OSG_FEM

2009-09-28 Thread Ümit Uzun
Hi Ugras, Actually I can't understand very well what you really want but you can look at http://www.simlab-soft.com/Products.html for modeling kit that can be used with OSG. Regards. Ümit Uzun 2009/9/28 Ugras Erdogan > Dear All, > Would anyone suggest a finite element modeling kit that can b

Re: [osg-users] noob question about texture3d

2009-09-28 Thread Robert Osfield
Hi Otto, On Mon, Sep 28, 2009 at 9:34 AM, Otto Cologne wrote: > Any idea why > > Code: > > osg::ref_ptr ima = new osg::Image; > ima->allocateImage(160, 200, 160, GL_LUMINANCE, GL_UNSIGNED_BYTE); > std::cout << ima->getImageSizeInBytes() << std::endl; > > returns 32000 instead of the expected 5120

Re: [osg-users] noob question about texture3d

2009-09-28 Thread Otto Cologne
Thanks that helped a bit. Any idea why Code: osg::ref_ptr ima = new osg::Image; ima->allocateImage(160, 200, 160, GL_LUMINANCE, GL_UNSIGNED_BYTE); std::cout << ima->getImageSizeInBytes() << std::endl; returns 32000 instead of the expected 512? -- Read this topic online h

Re: [osg-users] Suggestion for src/osgGA/EventQueue.cpp

2009-09-28 Thread Robert Osfield
Hi Steven, The mouseButtonPress is there to adapt external events that know nothing about the GUIEventAdatper enum, potentially the enum could change bit the mouseButtonPress would still need to remain as 1,2 and 3. Hope this makes sense. Cheers, Robert. On Sun, Sep 27, 2009 at 8:07 AM, Steven