Hi,
I already asked a similar question a few days ago but did not get an answer. I
try to be a bit more specific. Assume I have the following definitions:
Code:
class VirtualBaseClass : public osg::Object
{
};
class A : virtual public VirtualBaseClass
{
};
class B : virtual public
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
> On 23 Dec 2017, at 09:28, Wojciech Lewandowski
> wrote:
>
> Unfortunately I could not dig out the code I had to solve this problem. But I
> did fight with it on couple occasions. I do remember that often the solution
> I adopted had to use 2 callbacks
Hi, James,
Unfortunately I could not dig out the code I had to solve this problem. But
I did fight with it on couple occasions. I do remember that often the
solution I adopted had to use 2 callbacks (cull/update callback +
prerender/render/or postrender callbace). One update/cull callback was
> On 18 Dec 2017, at 11:51, Robert Osfield wrote:
>
>if (modified)
>{
>dirtyAttachmentMap();
>}
Thanks Robert,
Unfortunately this line is the part that I can’t figure out how to replicate in
OSG-3.2 - resizing the textures is easy enough and
5 matches
Mail list logo