Re: [osg-users] Problems with textures converted

2012-02-02 Thread Sergey Polischuk
Hi, Alessandro This option fixed export, tyvm. 01.02.2012, 19:45, Alessandro Terenzi a.tere...@gmail.com: In some cases, that bad visualization is due to the Gamma/LUT Correction. Don't know if this is also your case, but try disabling the Gamma/LUT Correction: from Rendering menu,

[osg-users] light position through uniform

2012-02-02 Thread PC John
Hi, I want to place a light into the scene without using fixed pipeline. Thus, I created uniforms to pass light parameters to shaders. These works fine except light position and light direction. I want to pass light position in eye coordinates. I expect, I have to multiply

Re: [osg-users] Invitation to connect on LinkedIn

2012-02-02 Thread Robert Osfield
Hi All, Getting invites from LinkedIn is NOT an acceptable use of the osg mailing lists/forum. If it's an automated thing then we need to squish it somehow. Robert. On 2 February 2012 03:33, Ariadie Chandra via LinkedIn mem...@linkedin.comwrote: LinkedIn Ariadie Chandra requested to add

[osg-users] kml animations

2012-02-02 Thread Héctor Martínez
Hello, I have downloaded a couple of animated models from google gallery. They are in collada format (dae), and the animations seem to be defined inside a kml file. Is it a straight way to load those animations in osg? Thank you in advance. ___

[osg-users] Win32 Bitmap to osg Image

2012-02-02 Thread Vincent Bourdier
Hi all, I'm currently trying to convert a bitmap image file to an osg::Image. I get my Bitmap from the win32 api making a screenshot, but as specified in the plugin bmp the internal format of the Bitmap is not RGB but BGR. Is there any way to directly use the BGR data buffer in a new

[osg-users] [vpb] build error

2012-02-02 Thread Mohammed Rashad
vpb build error [ 58%] Building CXX object src/vpb/CMakeFiles/vpb.dir/PropertyFile.o [ 61%] Building CXX object src/vpb/CMakeFiles/vpb.dir/ShapeFilePlacer.o [ 64%] Building CXX object src/vpb/CMakeFiles/vpb.dir/Source.o /code/VirtualPlanetBuilder/src/vpb/Source.cpp: In member function

[osg-users] [3rdparty] SpeedTree 6.0 integration

2012-02-02 Thread Michael Bach Jensen
Hi, everyone! Like others before us, we are trying to integrate SpeedTree into our OpenSceneGraph-based application and are having some trouble. We are using the custum-drawable approach and the trees are (finally) rendering fine. The problem is that, although simple objects like cow.osg

Re: [osg-users] [vpb] Any way to build terrain complex with DEM data and then add different textures after?

2012-02-02 Thread Ethan Fahy
As I try more cases I'll be able to get a better sense of the speed differences and if I do any systematic tests I'll report back. My main concern at this point is whether I'll be able to use my existing nodevisitors on objects such as trees that are clamped onto osgEarth. My existing code is

Re: [osg-users] osgdem new build segmentation fault

2012-02-02 Thread Mohammed Rashad
I am using OSG 3.0.0 gdal trunk nvtt 2.0.8 input data given in http://www.openscenegraph.org/projects/osg/wiki/Support/UserGuides/osgdem command output osgdem --xx 10 --yy 10 -t ~/Downloads/work/ps_texture_16k.tif --xx 10 --yy 10 -d ~/Downloads/work/ps_height_16k.tif -l 8 -v 0.1 -o puget.ive -a

Re: [osg-users] osgdem new build segmentation fault

2012-02-02 Thread Mohammed Rashad
i solved the error by activating graphics driver from System -- Administration -- Hardware drivers hope this line helps others :) Your swift response and helping mind is much appreciated Thanks On Thu, Feb 2, 2012 at 9:07 PM, Mohammed Rashad mohammedrasha...@gmail.comwrote: I am using OSG

Re: [osg-users] [vpb] Any way to build terrain complex with DEM data and then add different textures after?

2012-02-02 Thread Glenn Waldron
Ethan, The answer to that question (accessing the tree node) depends on how you're getting it into the scene (there are several ways). If you are using marker-substitution with clustering on, your tree model will be deconstructed and optimized -- you won't be able to get to individual tree nodes

Re: [osg-users] [vpb] Any way to build terrain complex with DEM data and then add different textures after?

2012-02-02 Thread Glenn Waldron
Ethan, The answer to that question (accessing the tree node) depends on how you're getting it into the scene (there are several ways). If you are using marker-substitution with clustering on, your tree model will be deconstructed and optimized -- you won't be able to get to individual tree nodes

Re: [osg-users] FOV

2012-02-02 Thread Shaheed Khan
Hi, @ thanks for suggestion em able 2 creae black screen now :| Also i trued to draw come reticules on created black screen using GL functions but the colur of the drawn reticule is alwayz black no matter wat color i set .. Is any default flightgear properties affecting this drawn reticule ..

Re: [osg-users] FOV

2012-02-02 Thread Chris Hanson
On Thu, Feb 2, 2012 at 11:48 AM, Shaheed Khan shahee...@gmail.com wrote: @ thanks for suggestion em able 2 creae black screen now :| Also i trued to draw come reticules on created black screen using GL functions but the colur of the drawn reticule is alwayz black no matter wat color i set

Re: [osg-users] [build] make-ing error with osg

2012-02-02 Thread Per Nordqvist
Not an OSG question actually; I believe newer gcc linker enforces stricter rules about linking, a workaround is to replace -lOpenThreads with -l/usr/lib/OpenThreads.so or whereever you have installed your .so file. /Per On 1 February 2012 12:35, Alberto Luaces alua...@udc.es wrote: Hobbes

Re: [osg-users] light position through uniform

2012-02-02 Thread Michael Guerrero
Hi John, A few things come to mind that might help: 1) Make sure when you do your calculations, everything is in the same space. For example, if you wanna get the direction from the vertex to the light in view space (lightPos - vertex) then both the light position and the vertex need to

Re: [osg-users] Invitation to connect on LinkedIn

2012-02-02 Thread Jean-Sébastien Guay
Hi Robert, I think this comes from the fact that LinkedIn can send invites to people in your address book, and users are using this with the osg-users list in their address book. There's probably a way to block these, but user education might be good enough in the short term. I don't think

Re: [osg-users] Win32 Bitmap to osg Image

2012-02-02 Thread Ulrich Hertlein
Hi Vincent, what errors/issues/non-results are you seeing? Black? Reversed colors? Crashes? On 2/02/12 21:52 , Vincent Bourdier wrote: I'm currently trying to convert a bitmap image file to an osg::Image. I get my Bitmap from the win32 api making a screenshot, but as specified in the