Re: [osg-users] slice Geometry with plane

2016-11-17 Thread Trajce Nikolov NICK
Hi Sebastian, it is not only for display, I need handle of the sliced Geometry, something like what DBGS are doing, to cut triangulated cultural features on tile boundaries. But thank you anyway On Fri, Nov 18, 2016 at 8:39 AM, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: >

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Sebastian Messerschmidt
Hi, Hi,Can anyone provide the link for the download of t72-tank_des textures. Are you seriously asking people to use a search engine for you? ... http://lmgtfy.com/?q=t72-tank_des First!!! hit Cheers Sebastian ... Thank you! Cheers, Rambabu -- Read this topic online

Re: [osg-users] Migrate shaders to glsl 4.1

2016-11-17 Thread Sebastian Messerschmidt
Hi Bruno, In order to use core-profile you need to setup the aliasing: viewer->getCamera()->getGraphicsContext()->getState()->setUseModelViewAndProjectionUniforms(true); viewer->getCamera()->getGraphicsContext()->getState()->setUseVertexAttributeAliasing(true); After this you'll have

Re: [osg-users] slice Geometry with plane

2016-11-17 Thread Sebastian Messerschmidt
Hi Trajce, If you only need to display it, maybe clipplanes is what you are after. They also work fine with modern shader pipelines, where you can transform them inside the vertex shader to your liking. Cheers Sebastian Hi Community, is something like this available in OSG? Thanks as

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Can anyone provide the link for the download of t72-tank_des textures. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69437#69437 ___ osg-users mailing list

Re: [osg-users] Draw open polygon

2016-11-17 Thread Bruno Oliveira
Thank you Robert, that's perfect! 2016-11-17 10:24 GMT+00:00 Robert Osfield : > Hi Bruno, > > On 17 November 2016 at 10:11, Bruno Oliveira > wrote: > > How does one draw an open polygon using whether OSG API's or OpenGL > > primitives?

[osg-users] Migrate shaders to glsl 4.1

2016-11-17 Thread Bruno Oliveira
I've been trying to migrate my shaders to OpenGL 4.1. What is the alternative to the fixed pipeline code, of the vertex shader: gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0; gl_Position = ftransform(); I know I have ot create my own out vector, like "out vec4 texcoord", but

[osg-users] slice Geometry with plane

2016-11-17 Thread Trajce Nikolov NICK
Hi Community, is something like this available in OSG? Thanks as always! Cheers, Nick -- trajce nikolov nick ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Re: [osg-users] OSG 3.4 + FFmpeg

2016-11-17 Thread sam
Hi Gianni, Does 3.0.2 still have the deprecated functions that are used in OSG 3.4? I check against 2.8.6 and I don't get any unidentified function errors. I will try 3.0.2 and give an update. Thanks, Sam On Wed, Nov 16, 2016 at 11:51 PM, Gianni Ambrosio wrote: > Hi

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Chris Hanson
It really sounds like what you're doing is going to require geospatial integration, and for that, you'd be much further ahead using osgEarth, which has all sorts of geospatial features built in. Can you describe the bigger picture of what you're actually trying to _accomplish_ in the end, so we

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Christian Buchner
It would appear the original source of the tank is the Naval Postgraduate School tutorials page: http://trac.openscenegraph.org/documentation/NPSTutorials/ This is from 2004. 12 years go. Man, time flies. Christian 2016-11-17 15:25 GMT+01:00 Christian Buchner : >

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Christian Buchner
> > As for an "osgtank" model, I have no idea what you are talking about, > it's not anything to do with the core OpenSceneGraph source code > distribution or the OpenSceneGraph-Data distribution. Again this is > an issue of just throwing out a question without any proper context. > I suspect OP

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Robert Osfield
On 17 November 2016 at 12:21, Rambabu Repaka wrote: > Hi,Iam not asking about model rotation.Iam asking about how to rotate the > nodes in a model.Like in cessna left and right fans rotation. This demonstrates that you should have explained this properly in your first

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Sebastian Messerschmidt
Hi Rambabu, Hi,Iam not asking about model rotation.Iam asking about how to rotate the nodes in a model.Like in cessna left and right fans rotation. In this case, again: think about the perception of your questions before shooting them out. Depending on the model and its structure you

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Robert Osfield
On 17 November 2016 at 12:13, Uma Devi Selvaraj wrote: > Hi, > > "osgviewer -e gdal --image "geotiff_file" " using this command I am able to > display the file. will this command retains geographic information. Is this > correct command? It's fine to use the preload

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Iam not asking about model rotation.Iam asking about how to rotate the nodes in a model.Like in cessna left and right fans rotation. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69426#69426

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Uma Devi Selvaraj
Hi, "osgviewer -e gdal --image "geotiff_file" " using this command I am able to display the file. will this command retains geographic information. Is this correct command? ... Thank you! Cheers, Uma -- Read this topic online here:

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Uma Devi Selvaraj
Hi Sebastain, I am sorry image size too big to upload. It is 36 MB ... Thank you! Cheers, Uma -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69423#69423 ___ osg-users mailing list

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Robert Osfield
Hi Uma, The tiff plugin uses libtiff 3rd party library that doesn't support geotiff. The OSG's gdal plugin does support geotiff but isn't loaded by default as the .tif extension will be mapped to the tiff plugin. To get the OSG to use the gdal plugin add a .gdal to the image filename, the gdal

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Sebastian Messerschmidt
Hi, That is strange. Can you supply the image for investigation? It is either broken, non-standard or your tiff-lib is not up to date. Cheers Sebastian Hi Sebastain, Thanks. As of now I just want to create appliaction that will render Geotiff file using OSG. I tried to display using

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Uma Devi Selvaraj
Hi Sebastain, Thanks. As of now I just want to create appliaction that will render Geotiff file using OSG. I tried to display using osgviewer I am getting following message. I used the following command " osgviewer --image "geotiff_file" " TIFF rader: Unknown field with tag 33550

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Voerman, L.
Hi Rambabu, you can rotate with the rot pseudoloader like this: osgviewer cessna.osg.0,20,0.rot Regards, Laurens. On Thu, Nov 17, 2016 at 12:41 PM, Rambabu Repaka wrote: > Hi,Can anyone tell how to do the nodes rotation for the osg model like > cessna. > > ... > > Thank

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Where i can get osgtank model for download.If anyone having a model share the link down. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69419#69419 ___

Re: [osg-users] Rotation of a node starts clockwise and ends counter-clockwise.

2016-11-17 Thread Rambabu Repaka
Hi,Can anyone tell how to do the nodes rotation for the osg model like cessna. ... Thank you! Cheers, Rambabu -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=69418#69418 ___ osg-users mailing

Re: [osg-users] Display Geotiff image in OSG

2016-11-17 Thread Sebastian Messerschmidt
Hi Uma, Hi, How can I display Geotiff image in osg . Is there any example.? I have installed GDAL in my system. A geotiff essentially is a normal tif with geo-reference information. To simply display it you can use the osgviewer with the --image. If you need to display it at it

Re: [osg-users] Draw open polygon

2016-11-17 Thread Robert Osfield
Hi Bruno, On 17 November 2016 at 10:11, Bruno Oliveira wrote: > How does one draw an open polygon using whether OSG API's or OpenGL > primitives? > I know how to draw, for instance, a filled rectangle, but how do I draw a > filled rectangle with a hole inside? >

[osg-users] Draw open polygon

2016-11-17 Thread Bruno Oliveira
Hello, How does one draw an open polygon using whether OSG API's or OpenGL primitives? I know how to draw, for instance, a filled rectangle, but how do I draw a filled rectangle with a hole inside? My data structures are stored as follows: a vector of the outward polygon's vertices in clockwise