Hi Kristin, Could you compile in debug and then try to get a stack trace.
Robert. On 6/29/07, Alfero, Kristin <[EMAIL PROTECTED]> wrote:
Robert, Basically, I'm using the osgmovie example. I'm trying to put a movie on a cube as a texture instead of using the quad that the example draws. So in other words, I want to draw the movie on the cube instead of the polygon that the example draws it on. When I try and add the cube it seems to fail at this point (imagestream play()). The error I keep getting is a segmentation fault, but imagestream has a valid address (not null). My platform is Linux (Ubuntu 7.04 64Bit). The movie plays when using osgmovie. Thanks, kristin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, June 29, 2007 11:15 AM To: osg users Subject: Re: [osg-users] imagestream play() failing Hi Kristin, There is too little to go on to be able to say what is going wrong at your end. Which platform are you working on? Does the movie play when using osgmovie? When you say its failing, what is happening? Robert. On 6/29/07, Alfero, Kristin <[EMAIL PROTECTED]> wrote: > > > > > I'm working off of the osgmovie example, but it seems to be failing at the > imagestream play: > > > > if(image == NULL) > > { > > cout << "Image was NULL" << endl; > > return -1; > > } > > osg::ImageStream* imagestream = > dynamic_cast<osg::ImageStream*>(image); > > if (imagestream != NULL) > > { > > imagestream->play(); > > } > > > > The pointer is not null, so I don't see why it is failing. Any ideas or > suggestions? > > > > Thanks in advance > > > > > _______________________________________________ > osg-users mailing list > osg-users@openscenegraph.net > http://openscenegraph.net/mailman/listinfo/osg-users > http://www.openscenegraph.org/ > _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/