Re: [osg-users] Terrain geometry

2010-10-28 Thread Robert Gosztyla
Hi, After deep analyze of osgTerrain code i found solution fine for me. In original code all geometry are generated and keeped in GeometryTechnique class , so one solution could be changes in geometry techniuqe object or creating own class deriving from terrain technique. I've made second

Re: [osg-users] Terrain geometry

2010-10-22 Thread Torben Dannhauer
Hi, osgTDS works not with VPB databases in the TERRAIN format, so its obsolete. I'm interested in such a terrain editing process too, maybe we can develop a solution together! ... Thank you! Cheers, Torben -- Read this topic online here:

Re: [osg-users] Terrain geometry

2010-10-22 Thread Chris 'Xenon' Hanson
On 10/21/2010 3:46 PM, Robert Gosztyla wrote: Hi, I'm back again with my terrain editing question :). I was serching forum for some solution, but i didn't find any. If i have found at least terraintile geometry and drawable associated with that how i could change this geometry? I've tried

Re: [osg-users] Terrain geometry

2010-10-21 Thread Robert Gosztyla
Hi, I'm back again with my terrain editing question :). I was serching forum for some solution, but i didn't find any. If i have found at least terraintile geometry and drawable associated with that how i could change this geometry? I've tried to use dirtyDisplayList() method, but it doesn't

Re: [osg-users] Terrain geometry

2010-10-18 Thread Robert Gosztyla
Hi, VPB isn't really intended for editing terrain, but it generates heightfields that can be dynamically altered at runtime just fine. You just have to be aware that there are multiple LODs of each terrain tile. Could you explain it with more detail? How i can alter heightfield in

Re: [osg-users] Terrain geometry

2010-10-18 Thread Chris 'Xenon' Hanson
On 10/18/2010 7:05 AM, Robert Gosztyla wrote: Hi, VPB isn't really intended for editing terrain, but it generates heightfields that can be dynamically altered at runtime just fine. You just have to be aware that there are multiple LODs of each terrain tile. Could you explain it with more

[osg-users] Terrain geometry

2010-10-11 Thread Robert Gosztyla
Hi all, I've created terrain using osgTerrain::Terrain, way simialr to that: osgTerrain::Terrain* Terrain = new osgTerrain::Terrain; osg::Image* high_map = osgDB::readImageFile( height.bmp ); osg::HeightField* heightmap1 = new osg::HeightField; heightmap1-allocate( RES_X, RES_Y );

Re: [osg-users] Terrain geometry

2010-10-11 Thread Chris 'Xenon' Hanson
On 10/9/2010 1:01 PM, Robert Gosztyla wrote: Hi all, I've created terrain using osgTerrain::Terrain, way simialr to that: Don't. Unless you have a VERY good reason not to, you should use VirtualPlanetBuilder to build terrain. It knows a lot more about making terrain that works right than

Re: [osg-users] Terrain geometry

2010-10-11 Thread Robert Gosztyla
Hi, Problem is solved now :) and i think my way was quite right (as i presented above). Problem was in wrong scalling of objects and manipulators. I know that VPB is great for terrain, but i need tool to edit terrain geometry - is it VPB able to provide features for that? I'm not familiar with

Re: [osg-users] Terrain geometry

2010-10-11 Thread Chris 'Xenon' Hanson
On 10/11/2010 11:29 AM, Robert Gosztyla wrote: Problem is solved now :) and i think my way was quite right (as i presented above). Problem was in wrong scalling of objects and manipulators. I know that VPB is great for terrain, but i need tool to edit terrain geometry - is it VPB able to