Re: [osg-users] --subtile option for osgdem working?

2008-07-12 Thread Robert Osfield
Hi Nolan,

You have a couple of options for reducing the elevation resolution,
either use the command line option

  --tile-terrain-size size

It defaults to ta size of 64, so reduce this to something like 16.

The other route is to use the --terrain option and at runtime vary the
sampling by setting the osgTerra::Terrain sample ratio.  The
osgmultitexturecontrol example shows how you you can decorate a
terrain database to do this.

Robert.

On Sat, Jul 12, 2008 at 1:11 AM, Nolan Wester [EMAIL PROTECTED] wrote:
 Robert,

 Is there a way to tell osgdem to generate less triangles while keeping high
 resolution texture? For example, say I only want to generate the amount of
 triangles equivalent to what would be generated by osgdem in level 3. But I
 want the texture in that resulting terrain to reach full resolution.

 If I use:

 osgdem ... -l 3

 then I will get the limited number of triangles as desired, but the texture
 will be very low resolution.

 Thanks
 -N

 On Thu, Jul 10, 2008 at 12:07 PM, Robert Osfield [EMAIL PROTECTED]
 wrote:

 Hi Nolan,

 The sutile parameters is used during distributed/incremental builds
 run by vpbmaster, it's not something you will use in normal osgdem
 usage.

 Robert.

 On Thu, Jul 10, 2008 at 6:41 PM, Nolan Wester [EMAIL PROTECTED] wrote:
  Greetings,
 
  Is the --subtile option for osgdem working properly? It seems to be
  counting incorrectly when I use it. For example, --subtile 2 0 0
  generates only one tile when in fact there should be subtiles 2 0 1, 2
  0 2, 2 1 0, ... Using --subtile 1 0 0 ends up generating more tiles
  for level 2 but even that misses some.
 
  This is with osgdem 0.9.8
 
  Thank you,
  Nolan
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
 
  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] --subtile option for osgdem working?

2008-07-11 Thread Nolan Wester
Robert,

Is there a way to tell osgdem to generate less triangles while keeping high
resolution texture? For example, say I only want to generate the amount of
triangles equivalent to what would be generated by osgdem in level 3. But I
want the texture in that resulting terrain to reach full resolution.

If I use:

osgdem ... -l 3

then I will get the limited number of triangles as desired, but the texture
will be very low resolution.

Thanks
-N

On Thu, Jul 10, 2008 at 12:07 PM, Robert Osfield [EMAIL PROTECTED]
wrote:

 Hi Nolan,

 The sutile parameters is used during distributed/incremental builds
 run by vpbmaster, it's not something you will use in normal osgdem
 usage.

 Robert.

 On Thu, Jul 10, 2008 at 6:41 PM, Nolan Wester [EMAIL PROTECTED] wrote:
  Greetings,
 
  Is the --subtile option for osgdem working properly? It seems to be
  counting incorrectly when I use it. For example, --subtile 2 0 0
  generates only one tile when in fact there should be subtiles 2 0 1, 2
  0 2, 2 1 0, ... Using --subtile 1 0 0 ends up generating more tiles
  for level 2 but even that misses some.
 
  This is with osgdem 0.9.8
 
  Thank you,
  Nolan
  ___
  osg-users mailing list
  osg-users@lists.openscenegraph.org
 
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
 
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] --subtile option for osgdem working?

2008-07-10 Thread Nolan Wester
Greetings,

Is the --subtile option for osgdem working properly? It seems to be
counting incorrectly when I use it. For example, --subtile 2 0 0
generates only one tile when in fact there should be subtiles 2 0 1, 2
0 2, 2 1 0, ... Using --subtile 1 0 0 ends up generating more tiles
for level 2 but even that misses some.

This is with osgdem 0.9.8

Thank you,
Nolan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] --subtile option for osgdem working?

2008-07-10 Thread Robert Osfield
Hi Nolan,

The sutile parameters is used during distributed/incremental builds
run by vpbmaster, it's not something you will use in normal osgdem
usage.

Robert.

On Thu, Jul 10, 2008 at 6:41 PM, Nolan Wester [EMAIL PROTECTED] wrote:
 Greetings,

 Is the --subtile option for osgdem working properly? It seems to be
 counting incorrectly when I use it. For example, --subtile 2 0 0
 generates only one tile when in fact there should be subtiles 2 0 1, 2
 0 2, 2 1 0, ... Using --subtile 1 0 0 ends up generating more tiles
 for level 2 but even that misses some.

 This is with osgdem 0.9.8

 Thank you,
 Nolan
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org