Re: [osg-users] Convertion to osg::Image from IplImage (OpenCV) for use as texture

2007-09-17 Thread Thomas Petit
Hi, Just in case, Have you check the format of yours iplImage ? Because there is two main difference between an osg::image and an iplImage : the origin of a iplImage is the top left corner of the screen (down left corner for osg) and the colors are BGR (RGB for osg). And I also remember a simi

Re: [osg-users] Convertion to osg::Image from IplImage (OpenCV) for use as texture

2007-09-17 Thread Robert Osfield
HI John, Um... there really isn't much to go on to know why your app might be crashing, a good place to start is to provide a stack trace. Robert. On 9/17/07, John Steinbis <[EMAIL PROTECTED]> wrote: > Hi, > I'm trying to convert an IplImage (OpenCV) type to osg::Image type for > use as a textur

[osg-users] Convertion to osg::Image from IplImage (OpenCV) for use as texture

2007-09-16 Thread John Steinbis
Hi, I'm trying to convert an IplImage (OpenCV) type to osg::Image type for use as a texture within OSG. My conversion routine attempts to utilize setImage(...) of image class. It crashes and I havent been able to track down the problem. Does anyone have experience with a conversion like this or ad