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
osg-...@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
osgViewer::Viewer/CompositeViewer all have the DatabasePager built
into them, and will automatically run the database pager thread on
demand and take care of all the operations required to manage a paged
database. So adding a DatabasePager to osgViewer would be rather
counter productive.
Robert.
thanks a heap
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Database paging functionality is totally orthogonal the graphics
card/window set up.
Have you tried loading your model into osgviewer?
Robert.
You should be able to use osgViewer to see your database. Run the command:
osgViewer master.ive
Hit the space bar.
Rotate/scroll around the database using the osgViewer controls.
Do you see your model?
Brian
-----osg-user...@lists.openscenegraph.org wrote: -----
To: "OpenSceneGraph Users" <osg-...@lists.openscenegraph.org>
From: "Robert Osfield" <robert....@gmail.com>
Sent by: osg-user...@lists.openscenegraph.org
Date: 01/18/2008 08:49AM
Subject: Re: [osg-users] osg::DatabasePager and paged lod database
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------