Re: [osg-users] DatabasePager Callback

2010-07-09 Thread Guy Volckaert
I am aware of the ReadFileCallback - but I guess the problem is how to distinguish between my paging terrain files from other database files loaded during runtime. All my files are FLTs (with the exception of a few TXP files for the terrain). I can't use the file extension as a filter since

[osg-users] DatabasePager Callback

2010-07-08 Thread Guy Volckaert
Hi, Is there a mechanism that would allow me to get notified when a subgraph gets loaded by the DatabasePager. I essentially need to process the subgraph before it gets added to scene. I guess this would be valid for TXPNode and PagedLOD nodes as well? Thanks, -- Read this

Re: [osg-users] DatabasePager Callback

2010-07-08 Thread Jason Beverage
Hi Guy, You can use a ReadFileCallback to intercept calls to when files are read and do whatever you need to do to the loaded node. See the osgcallback example for example usage. Jason On Thu, Jul 8, 2010 at 7:23 PM, Guy Volckaert guy.volcka...@meggitt.com wrote: Hi, Is there a mechanism