[osg-users] PIXEL_SIZE_ON_SCREEN And RangeList of osgb file

Mouming Ning 2736331129 at qq.com
Wed Jan 10 17:42:09 PST 2018


Hi,

my osgb's "head" is like this:

osg::PagedLOD {
  UniqueID 1 
  CenterMode USER_DEFINED_CENTER 
  UserCenter -1619.41 -187.445 1047.71 40.4089 
  RangeMode PIXEL_SIZE_ON_SCREEN 
  RangeList 2 {
    0 1293.08 
    1293.08 1e+030 
  }
  DatabasePath TRUE "D:\\Tile_050_050/" 
  RangeDataList 2 {
    "" 
    "Tile_050_050_L21_000000000.osgb" 
  }
  PriorityList 2 {
    0 1 
    0 1 
  }

My problem is that  how the rangelist correspond to the pixel size on screen?
such as the pixel size is 1300,then this osgb is display on the screen?but when the pixel size is 300,then what will happen?? or 20000,what will happen??

Another question is that what's meaning of PriorityList?? What is it used for ??

Thank you!

Cheers,
Mouming

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72719#72719







More information about the osg-users mailing list