Hi Bjarn, I haven't heard of the ive plugin crashing when writing out textured data before - almost everytime the .ive plugin writes out a model it will be with a texture assigned to it so it's a very comonly used code path, so it's a bit surprising to here of problem after so many active years of service. Clearly there must be something different about how you are setting things up, so you'll need to do some more digging at your end.
At your end run the OSG in the debugger and then do the write out, capture the stack trace and send this in. This might give us clues. It would also be very useful if your could provide an .osg + image file that reproduces the problem so that others can test against it. Robert. On Sun, Mar 1, 2009 at 8:58 AM, Björn Giesler <[email protected]> wrote: > Hi, > > I'm using OSG for a computer vision application which produces a textured > triangle mesh. The texture is set directly (osg::Image from data pointer, not > from a file), and the image data is owned by OSG (USE_NEW_DELETE). The app > runs robustly, deleting and re-adding the geometry several times is no > problem and doesn't produce any memory leaks, so I'm quite sure that memory > management works OK. The texture is 24-bit RGB, displayed as GL_BGR_EXT. > > However, when I try to save the geometry as an .ive file, my program crashes. > Saving without the texture works great, but as soon as I have the texture in > the scene graph, it crashes. > > Is this a known problem? Can anyone give me advice on where to look? > > Thanks a lot in advance! > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=7703#7703 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

