Re: [osg-users] Shadows : Creating multiple osgShadow::ShadowedScene

2010-09-27 Thread Saravanan Sivaprahasam
Thanks for the reply. But could any one explain me why it is not possible to add two osgShadow::ShadowedScene to the root node Thank you! Cheers, Saravanan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32115#32115 __

Re: [osg-users] Add a new child

2010-09-27 Thread Cosimo Luigi Manes
the problem is that i load new nodes when the sg running -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32113#32113 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscene

[osg-users] Add a new child

2010-09-27 Thread Cosimo Luigi Manes
Hi, i created a menu where i can select a model. When i select a button a fuction loads the nodes with the following code: Code: listaComponenti.push_back(osgDB::readNodeFile("aorta.ive")); listaComponenti.push_back(osgDB::readNodeFile("cuore.ive")); unsigned int ii; for(ii=0; ii

[osg-users] PBOs and stutterless texture uploading

2010-09-27 Thread Eduard - Gabriel Munteanu
Hi, I've been investigating an issue in Flightgear, an OSS flight sim using OSG. We have lots of stutter, usually in multiplayer, caused by loading new models (this happens whenever somebody join). Loading textures from disk happens on another thread (via DatabasePager), but I traced the issue to

[osg-users] [osgOcean] Jerky noise map motion

2010-09-27 Thread Frank Sullivan
Hi, When I run the example, the wave motion looks great, and the demo runs at around 350 frames per second. However, the scrolling normal map seems to move in a very jerky motion, moving in large steps at maybe 4hz. I've stepped through the code, and I'm looking at FFTOceanSurface::computeNoi

Re: [osg-users] [osg-submissions] QTKit plugin checked in, OSX users please test ; -)

2010-09-27 Thread Eric Wing
On 9/27/10, Stephan Maximilian Huber wrote: > Hi Robert, > > Am 27.09.10 12:39, schrieb Robert Osfield: > >> Would could require 10.6 for the QtKit plugin but I'd much rather have >> it work under 10.5 as well if possible. Any chance that these methods >> could be replaced by other methods? Or f

Re: [osg-users] Convert wxImage to osg:Image

2010-09-27 Thread Thibault Genessay
Hi Lahiru I use the attached code when converting from wxImage to osg::Image. The code is slightly modified to be independent from my project, but should be a good starting point. You might very well rethink how wxImageHandlers are created (i.e. if you call wxInitAllImageHandlers() at the beginni

Re: [osg-users] Preparing for OpenSceneGraph-2.9.9 developer release, please test :-)

2010-09-27 Thread jago jagoc
Hi Dženan , All seem to work well, My configuration: Windows Vista Business,64 bit (SP2) Quadro FX 3600M ( v. 260.63 ) http://www.nvidia.com/object/notebook-win7-winvista-64bit-260.63-beta-driver.html osg - Revision 11792 Thank you! Cheers, Jagovic __

[osg-users] Convert wxImage to osg:Image

2010-09-27 Thread Lahiru Lakmal
Hi all, I am trying to create a wxImage (bitmap) in runtime using wxMemoryDC, draw a gradient rect on it and apply the bitmap as a texture on a QUAD. But I still couldn't find a proper way to convert the proceed wxImage (with gradient) into a osg:Image. I really appreciate if you can help me w

Re: [osg-users] CompositeViewer issues

2010-09-27 Thread Robert Osfield
Hi Brad, On Mon, Sep 27, 2010 at 4:07 PM, Brad Huber wrote: > Has anyone had a chance to try the sample program I posted to see if the bug > is the same in Linux? I haven't had a chance yet. Robert. ___ osg-users mailing list osg-users@lists.openscene

Re: [osg-users] CompositeViewer issues

2010-09-27 Thread Brad Huber
Has anyone had a chance to try the sample program I posted to see if the bug is the same in Linux? Thanks -Brad -Original Message- From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Brad Huber Sent: Thursday, September 23, 201

Re: [osg-users] Preparing for OpenSceneGraph-2.9.9 developer release, please test :-)

2010-09-27 Thread Dženan Zukić
Check the discussion from the beginning, it is indicated that nVidia's drivers are to blame. Cheers, Dženan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32101#32101 ___ osg-users mailing list osg-

Re: [osg-users] Preparing for OpenSceneGraph-2.9.9 developer release, please test :-)

2010-09-27 Thread jago jagoc
Hi, it compiles without any problem (with examples enabled), when I start any examples that use full-screen display the screen goes black. My configuration: Windows Vista Business,64 bit (SP2) Quadro FX 3600M ( v. 258.96 ) osg - Revision 11792 Cheers, Jagovic ___

Re: [osg-users] [build] How to properly use the OSG_GL3_AVAILABLE CMake option?

2010-09-27 Thread Florian Kolbe
Hi, I just figured there's more problems because of gl3.h including windows.h, well at least the one I am trying to use, which is http://www.opengl.org/registry/api/gl3.h It includes windows.h if APIENTRY is not defined. The relevant portion of (my) gl3.h reads: Code: #if defined(_WIN32) && !d

Re: [osg-users] Blending Multiple Texture on one triangle mesh with coordinate control

2010-09-27 Thread Brian Tse
thank you very much for your reply Robert. Sorry to reply late. I finally got it working. At the end i used texture3D instead of texture2D. One problem i had with texture was shadowing. Originally, i used ShadowMap, but some reason, the second texture never show up. the shadowmap doesn't seems

Re: [osg-users] Shadows : Creating multiple osgShadow::ShadowedScene

2010-09-27 Thread Wojciech Lewandowski
Hi Saravanan, Try other shadowing techniques, Parallel Split Shadow Maps (pssm) or Light Space Perspective Shadow Maps (lispsm). They should be better suited for your case. Cheers, Wojtek Lewandowski -- From: "Saravanan Sivaprahasam" Sent: Mo

Re: [osg-users] Workaround for nVidia + fullscreen + Windows 7

2010-09-27 Thread Wojciech Lewandowski
Hi, I have submitted code changes. Look at osg-submissions for details. Wojtek Lewandowski From: Wojciech Lewandowski Sent: Friday, September 24, 2010 9:44 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Workaround for nVidia + fullscreen + Windows 7 Hi, Exactly as Farshid Said I hav

[osg-users] Shadows : Creating multiple osgShadow::ShadowedScene

2010-09-27 Thread Saravanan Sivaprahasam
Hi, I'm rendering shadows using osgShadow::ShadowMap method. For large outdoor scenes with various objects, the rendered shadows look pixelated and self shadows on objects are not correct. I've increased the shadow map resolution to 4096, but still it is not correct. So i have created tw

Re: [osg-users] Enable/Disable stereo during runtime

2010-09-27 Thread Johannes Scholz
Ahh well, now I see. Today I tested the code on our VR environment machine. As we start with stereo enabled by default we already have the GL context as needed for quad buffering. Now we can use the code to turn it off and on again. The same code does not work when the vr scene is startet witho

Re: [osg-users] QTKit plugin checked in, OSX users please test ;-)

2010-09-27 Thread Robert Osfield
HI Stephan, On Mon, Sep 27, 2010 at 11:31 AM, Stephan Maximilian Huber wrote: > the qt-kit-plugin does not compile, perhaps because I am using 10.5 as > base-SDK and the qt-kit-plugin uses some features, which are only > available for 10.6. > > Is there a chance we can compile the qt-kit plugin o

Re: [osg-users] QTKit plugin checked in, OSX users please test ;-)

2010-09-27 Thread Stephan Maximilian Huber
Hi the qt-kit-plugin does not compile, perhaps because I am using 10.5 as base-SDK and the qt-kit-plugin uses some features, which are only available for 10.6. Is there a chance we can compile the qt-kit plugin only for 10.6 via CMake? Cheers, Stephan P.S: Here's the compiler's output: /Users

[osg-users] High CPU utilisation in Qt AdapterWidget

2010-09-27 Thread Werner Modenbach
Hi all, I noticed an unnecessarily high CPU utilisation on my system. Diving into the problem shows a direct dependancy on the timer rate. The timer calls updateGL(). But real updates are rarely necessary. Is there any other way to know, when an update is really necessary? What is the default im

Re: [osg-users] OSX Install Locations

2010-09-27 Thread george papagiannakis
Hi, it is important to set your .profile in macOSX for OSG.2.9.9 Here is an example from my .profile: - export OSGHOME=MyProjects/Openscenegraph/OSG-trunk export PATH=$PATH:/Developer/Tools:$OSGHOME/bin:$OSGHOME/sha

Re: [osg-users] osg on symbian

2010-09-27 Thread Robert Osfield
Hi? Could you sign with your names so we know how to address to you, thanks, On Sun, Sep 26, 2010 at 8:33 AM, 了心 wrote: > anyone here do porting osg on symbian ? > STL  had done > OpenThreads no > OSG no > just wanna run the simple demo > osgviewer cow.osg~ > p.s Symbian 3 N8 , OSG 2.9.8 I waite

[osg-users] [osgPlugins] osgt can't read double matrices

2010-09-27 Thread Alexander Irion
Hi, when I try to to read a ".osgt" file, that contains a Matrixd I get the following warnings printed on the console: AsciiInputIterator::readProperty(): Unmatched property Matrixd, expecting Matrix f I had a look into the code and saw, that _useFloatMatrix in InputStream is always "TRUE", wh

Re: [osg-users] [build] How to properly use the OSG_GL3_AVAILABLE CMake option?

2010-09-27 Thread Florian Kolbe
Hi, I am getting compile errors with VS 2008, e.g. a define "min" conflicts with the line: Code: if (fabs(length2) <= std::numeric_limits::min()) in Matrix_implemenation.cpp. The define comes from Windows SDK 7.1 WinDef.h that looks like this: Code: #ifndef NOMINMAX #ifndef max #de