[osg-users] Correct way to modify Image used in a Texture2D (and have the Texture2D re-upload)
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Sat Apr 18 03:08:34 PDT 2020
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 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 Texture/Texture2D::apply() code
> to see if it's being applied correctly.
>
>>
>>
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/1759b2ae-9e41-4a0b-aee9-fba9440b1ff9%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200418/7f9ce712/attachment.html>
More information about the osg-users
mailing list