::notify(osg::NOTICE)osgImage2IplImage: Error, unrecognized image
depth.std::endl;
}
return pImg;
}
bill
-Original Message-
From: [EMAIL PROTECTED] on behalf of John Steinbis
Sent: Sun 9/16/2007 9:23 PM
To: OpenSceneGraph Users
Subject: [osg-users] Convertion to osg
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
instead of Texture2D. If moving to the
TextureRectangle you'll need to move you pixel coords rather than
normal non dimensions texture coords - see osgtexturerectangle
example.
Robert.
On 9/12/07, John Steinbis [EMAIL PROTECTED] wrote:
For an AR project, I need to render a model with video
how to set the position of a window.
How can I do this? Also, if I try to drag the window to a new
location, it freezes.
-- js
On 9/15/07, Robert Osfield [EMAIL PROTECTED] wrote:
Hi John,
On 9/15/07, John Steinbis [EMAIL PROTECTED] wrote:
Thanks Robert,
I have this working now without
For an AR project, I need to render a model with video image as
background. My program is based around osgViewer using osg v2.0. I
found an example for a HUD and with a few changes made it work as
background. The code can be found below.
The code runs ok but there is a problem occurring that I
5 matches
Mail list logo