Re: [osg-users] Exporting HeightFields in OSG

2013-04-29 Thread Trajce Nikolov NICK
Hi Martin, these are just hints. Have a look at /** Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has.*/ virtual void accept(PrimitiveFunctor pf) const; in ShapeDrawable Maybe there is a way to traverse all the primitives, and

[osg-users] generate texture with multiple image files

2013-04-29 Thread tianyun . su
Hi, I have an elevation model and multiple image files (jpeg format). The four vertex coordinates of each image file are recorded in a text file. So, I wonder how can I put all these image files on he surface of elevation model with their vertex coordinates. Now, I can put only one image file

[osg-users] geographical coordination conversion

2013-04-29 Thread tianyun . su
Hi, I use osgdem to create an IVE model with mercator projection and can load the model in my OSG program. I want to realize such funciton: (1) input the WGS84 coordinate (lon, lat) of target point (2) calculate the elevation (z) of the point from the terrain file (3) draw a graphic object at

Re: [osg-users] geographical coordination conversion

2013-04-29 Thread Shayne Tueller
The code snippet you provided maps from a geodetic coordinate system to a geocentric ECEF cartesian coordinate system so that the point (lat,lon,0) maps to the cartesian point (o,p,q) which lies on the surface of the ellipsoid. This probably isn't what you're looking for since it sounds like

[osg-users] Graphics Handler

2013-04-29 Thread Sajjadul Islam
Hi, Getting error while declaring the following : Code: osgViewer::GraphicsHandleX11 *linuxContext = NULL; osgViewer::GraphicsHandleWin32 *windowsContext = NULL; if( ctxID != -1 ) { // Find context with ctxID and make it current. for( unsigned int c=0;

Re: [osg-users] osgSim::LighPoint radius

2013-04-29 Thread Brad Colbert
Nick, A shader would allow you to change most of those. -B From: osg-users-boun...@lists.openscenegraph.org [mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Trajce Nikolov NICK Sent: Sunday, April 28, 2013 7:48 AM To: OpenSceneGraph Users Subject: [osg-users] osgSim::LighPoint