Re: [osg-users] GeometryTechnique and texture coordinates

2014-04-03 Thread Robert Osfield
On 3 April 2014 08:15, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > Thank you. Works like a charm. > I mixed up Terrain and TerrainTile, and since the top-level node of the > osgdem is a Terrain, it was a piece of cake ;-) > Great to hear that it worked out, as nature inten

Re: [osg-users] GeometryTechnique and texture coordinates

2014-04-03 Thread Sebastian Messerschmidt
Hi Robert, Thank you. Works like a charm. I mixed up Terrain and TerrainTile, and since the top-level node of the osgdem is a Terrain, it was a piece of cake ;-) On 2 April 2014 15:55, Sebastian Messerschmidt > wrote: Hi Robert, Thanks for th

Re: [osg-users] GeometryTechnique and texture coordinates

2014-04-02 Thread Robert Osfield
On 2 April 2014 15:55, Sebastian Messerschmidt < sebastian.messerschm...@gmx.de> wrote: > Hi Robert, > > Thanks for the quick response. This means a lot of code duplication and I > guess I will have to traverse every tile for Terrain nodes. > No, the design is meant that your just assign your cu

Re: [osg-users] GeometryTechnique and texture coordinates

2014-04-02 Thread Sebastian Messerschmidt
Hi Robert, Thanks for the quick response. This means a lot of code duplication and I guess I will have to traverse every tile for Terrain nodes. I'll check it and see how it works out. cheers Sebastian Hi Sebastian, osgTerrain is designed to allow you to override the TerrainTechnique attac

Re: [osg-users] GeometryTechnique and texture coordinates

2014-04-02 Thread Robert Osfield
Hi Sebastian, osgTerrain is designed to allow you to override the TerrainTechnique attached to the TerrainTile via the Terrain node that can be used to decorate the terrain. The Terrain::setTerrainTechniquePrototype(TerrainTechinque*) is used to set the TerrainTechnique that tiles should use. By

[osg-users] GeometryTechnique and texture coordinates

2014-04-02 Thread Sebastian Messerschmidt
Hi, I have geocentric dataset (which is already compiled with osgDEM) and I'm facing an issue. In my shaders I rely on valid texture coordinates for tangentSpace generation and various other effects like detail-splatting. Unfortunately (and quite obvious due to performance restrictions) the Ge