Hi,

I would like to view a pagedlod database that has one
pagedlod child via osgViewer(both the master file and
the paged lod file's are in osg format).
 I add database pager to osgViewer, yet the paged
database could not be viewed in the viewer.The non
paged lod database (in flt format) can be viewed
without any problems. Has anybody else encountered
this problem? 

I think that the paged lod database I have generated
from openflight database(via a code I have found from
this mailing list, which don't seem to have any flaws
in it) is not valid. However, i can not  see any
problem in the files. And, the viewer can not view the
database. 
The general structure of the paged lod database master
file is, 


Group {
  DataVariance UNSPECIFIED
  name "SomeNode"
  nodeMask 0xffffffff
  cullingActive TRUE
  num_children 1
  Group {
    DataVariance UNSPECIFIED
    name "g0"
    nodeMask 0xffffffff
    cullingActive TRUE
    num_children 1
    Group {
      DataVariance UNSPECIFIED
      name "g0"
      nodeMask 0xffffffff
      cullingActive TRUE
      num_children 1
      Group {
        DataVariance UNSPECIFIED
        name "g1"
        nodeMask 0xffffffff
        cullingActive TRUE
        num_children 1
        PagedLOD {
          DataVariance UNSPECIFIED
          nodeMask 0xffffffff
          cullingActive TRUE
          Center 13806.9 24056.3 1079.8
          Radius 964.735
          RangeMode DISTANCE_FROM_EYE_POINT
          RangeList 1 {
            0 5000
          }
          NumChildrenThatCannotBeExpired 0
          FileNameList 1 {
            flight0_0.osg
          }
          num_children 0
        }
      }
    }
  }
}

Do you see any problems?

Thanks in advance



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to