Re: [osg-users] noob question about texture3d

2009-09-28 Thread Otto Cologne
Thanks that helped a bit. Any idea why Code: osg::ref_ptrosg::Image 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

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 schur...@gmx.de wrote: Any idea why Code: osg::ref_ptrosg::Image 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

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

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 osgViewer/Viewer #include osgDB/ReadFile #include osg/ShapeDrawable #include iostream #include

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

[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

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

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_ http://www.skew-matrix.com/ +1 303 859 9466 ___

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

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

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

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 scen

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 iosfwd 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

[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. QPointertestMainWin myMainWindow = new