Re: [osg-users] Re: Memory leak when using a pixel buffer to generate thumbnails

2020-06-24 Thread Walid Slimani
Can you help me i'm confusing;ican't install osg;i have a vsiual studio 2015,PLEASE HELP ME Le mar. 23 juin 2020 à 19:10, Robert Osfield a écrit : > I can;t say what the leak will be from the code supply but I can say that > creating a dedicated viewer, rendering a frame, then destroying really

[osg-users] Re: Memory leak when using a pixel buffer to generate thumbnails

2020-06-24 Thread Brian Hutchison
Thanks Robert, excellent answer. I think I have enough for a way forward now. One small remaining question, Does readRefNodeFile access GL at all for any of these file formats:".3ds",".dae",".shp",".dxf"? Or, to put it another way, can readRefNodeFile be called safely from a std:async thread

[osg-users] Re: Memory leak when using a pixel buffer to generate thumbnails

2020-06-23 Thread Robert Osfield
I can;t say what the leak will be from the code supply but I can say that creating a dedicated viewer, rendering a frame, then destroying really isn't an efficient way to go about generating a thumbnail image. Rather than than debug a dubious approach I'd suggest you leave it and try another