[osg-users] crash with setTextureAttributeAndModes

2009-10-27 Thread Otto Cologne
Hi, I'm having a crash with setTextureAttributeAndModes I don't know how to fix. To explain the issue. I have a list of data sets which hold a pointer to a osg::Texture3D. The texture mixing is done in a shader and my texture update function containing the following loop is called from an

Re: [osg-users] crash with setTextureAttributeAndModes

2009-10-27 Thread David Callu
Hi Otto We don't have enough information to solve you problem. Have you try to debug you application ? Have you an available callstack to found where you application crash ? Have you a simple program test which isolate the problem ? but more simply, is your datasetList array store texture

Re: [osg-users] crash with setTextureAttributeAndModes

2009-10-27 Thread Ulrich Hertlein
Hi Otto, On 27/10/09 10:12 AM, Otto Cologne wrote: I'm having a crash with setTextureAttributeAndModes I don't know how to fix. To explain the issue. I have a list of data sets which hold a pointer to a osg::Texture3D. The texture mixing is done in a shader and my texture update function

Re: [osg-users] crash with setTextureAttributeAndModes

2009-10-27 Thread Otto Cologne
Yes you are right :) I was just about to post that i followed that hint and used it. It works now. Thanks. Ulrich Hertlein wrote: Hi Otto, On 27/10/09 10:12 AM, Otto Cologne wrote: I'm having a crash with setTextureAttributeAndModes I don't know how to fix. To explain the issue. I