Hi Richard,

On Wed, Nov 25, 2009 at 9:49 AM, Schmidt, Richard
<[email protected]> wrote:
> Hi,
> got another opinion on the PagedLOD and ProxyNode topic. :-)
>
> We have been using both nodes for stuff like pseudo loaders as well and
> I would recommend to change the interface a little bit. There should be
> a common interface for all pageable nodes like:
>
> class PageingNode : public Group {}
>
> and then:
>
> class ProxyNode : public PageingNode {}
> class PagedLOD : public PageingNode {}
>
> and now one can easily add custom implementations on top of PageingNode
> like
>
> class MyCustomNodeWhichRefreshesTheSubgraphEvery10Seconds : public
> PageableNode {}

I can see value in this, but I'm not sure how easy it would be to come
up with the PagingNode base class - it can't just subclass from
osg::Group.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to