Hi Vincent,
PagedLOD has a prority offset and scale per child that allows you to
modify the priority computed from the distance range. The PagedLOD
methods of interest are:
void setPriorityOffset(unsigned int childNo, float
priorityOffset) { expandPerRangeDataTo(childNo);
_perRangeDataList[childNo]._priorityOffset=priorityOffset; }
float getPriorityOffset(unsigned int childNo) const { return
_perRangeDataList[childNo]._priorityOffset; }
unsigned int getNumPriorityOffsets() const { return
_perRangeDataList.size(); }
void setPriorityScale(unsigned int childNo, float
priorityScale) { expandPerRangeDataTo(childNo);
_perRangeDataList[childNo]._priorityScale=priorityScale; }
float getPriorityScale(unsigned int childNo) const { return
_perRangeDataList[childNo]._priorityScale; }
unsigned int getNumPriorityScales() const { return
_perRangeDataList.size(); }
Robert.
On Thu, Feb 11, 2010 at 9:30 AM, Vincent Bourdier
<[email protected]> wrote:
> Hi all,
>
> Maybe my last question about PagedLod... I hope ;-)
>
> Starting my application, databasePager start to load thousand of PagedLod in
> my scene.
> In this list, I would like to make some PagedLods nodes being loaded before
> the rest of the scene. (because thousands of node take sometimes more than 1
> or 2 min to load)
>
> How can I do that ? (Assuming it is possible...)
>
> Thank you.
>
> Regards,
> Vincent
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4856 (20100210) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org