On 22/09/10 12:50 , Thomas Hogarth wrote: > I've got round to needing the subloading of non power of two images (npot) > into a power of > two texture for my home project (AR on IPhone). So I've had time to whip up > an example > demonstrating the problem I explained I was having at work with osg 2.9.8 > (not happening > in 2.8.3). > > The attached example uses an animated gif as an imagestream that isn't power > of two, then > uses the NPOTResizeCallback to create power of two texture space but then > subload the > actual size of the image. The example demonstrates that every frame both load > and subload > are called and memory is leaked (at least on my windows 7 and XP machines > with NVIDIA cards).
FWIW I can reproduce this behaviour with trunk on Linux. /ulrich _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

