Re: [osg-users] Custom NodeVistor injected in the DatabasePager

2013-03-07 Thread Trajce Nikolov NICK
Hi Robert, I took a look at this. Here is the ReadFileCallback method I am interested in: virtual ReaderWriter::ReadResult readNode(const std::string filename, const Options* options); What I was expecting here was access the osg::Node that was loaded, so I can apply a NodeVisitor prior to

Re: [osg-users] Custom NodeVistor injected in the DatabasePager

2013-03-07 Thread Trajce Nikolov NICK
Hi Robert, was thinking more about this. Is the responsibility to load the model on the callback? If so, then I got the idea Please let me know Thanks Nick On Thu, Mar 7, 2013 at 11:39 PM, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Robert, I took a look at this. Here is

Re: [osg-users] Custom NodeVistor injected in the DatabasePager

2013-03-07 Thread Robert Osfield
On 7 March 2013 22:56, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Robert, was thinking more about this. Is the responsibility to load the model on the callback? If so, then I got the idea Please let me know Yep, it's the responsibility of the ReadFileCallback to do the

Re: [osg-users] Custom NodeVistor injected in the DatabasePager

2013-03-07 Thread Trajce Nikolov NICK
Thanks ! Nick On Fri, Mar 8, 2013 at 12:05 AM, Robert Osfield robert.osfi...@gmail.comwrote: On 7 March 2013 22:56, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: Hi Robert, was thinking more about this. Is the responsibility to load the model on the callback? If so, then I

Re: [osg-users] Custom NodeVistor injected in the DatabasePager

2013-03-01 Thread Robert Osfield
Hi Nick, On 1 March 2013 10:36, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: I am working with txp database and using shaders per nodes in the scene so I come with a need to inject a NodeVisitor when a portion of a database is paged in. Any hints for this? Robert? The easist way

Re: [osg-users] Custom NodeVistor injected in the DatabasePager

2013-03-01 Thread Trajce Nikolov NICK
Thanks Robert. That is exactly what I was looking Nick On Fri, Mar 1, 2013 at 12:04 PM, Robert Osfield robert.osfi...@gmail.comwrote: Hi Nick, On 1 March 2013 10:36, Trajce Nikolov NICK trajce.nikolov.n...@gmail.com wrote: I am working with txp database and using shaders per nodes in the