> On 23 Dec 2017, at 10:45, Wojciech Lewandowski <w.p.lewandow...@gmail.com> 
> wrote:
> 
> Luckily I was able to quickly locate some code. Its a little different to 
> what I described earlier because its using 2 cull callbacks (no render 
> callback) and dummy group to update PreRenderCamera texture sizes but in 
> general its same approach. I have cleaned it a bit from proprietary stuff. So 
> rather treat it as an example code blurb. I did not try to compile it. But in 
> generally this approach worked for me. I think that cull callback attached to 
> PreRenderGroup can be replaced by some callback in main camera. But for some 
> reason we could not do it (I do not recall why, maybe main cam had some other 
> callbacks attached) and  instead just added it in dummy group.
> 
> Cheers,
> Wojtek Lewandowsk

(just catching up on email after the holidays)

Thanks, that’s a big help indeed.

Kind regards,
James

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to