Okay, it's good to know I'm at least in principle trying the right thing
then. There are unfortunately lot of texture changes happening, but I'll
try a break-point in ::apply and see I can spot the correct one.
On Wednesday, 15 April 2020 12:08:11 UTC+1, OpenSceneGraph Users wrote:
>
> Calling
Calling dirty() on the image should be sufficient as the Texture2D will
check the modifiedCount on each time the texture is applied. It's how
we've implemented things like video textures and has been working for a
long time. It "should" work.
Put a check point or debug notice into the
I'm trying to figure out the correct way to notify Texture2D that I've
modified the raw bytes of its underlying Image (previous set via setImage)
I'm modifying the image data using image->data(), and then calling
image->dirty() once modifications are complete. I can see this changes the
3 matches
Mail list logo