Re: [osg-users] Loading an image file

2008-02-19 Thread Mike Weiblen
Behalf Of wanyama harold > Sent: Sunday, February 17, 2008 8:13 AM > To: osg users > Subject: [osg-users] Loading an image file > > Hi guys, > how do i get to load an image file.iam able to load > .osg file formats and i have set the directory path > that contains the image

Re: [osg-users] Loading an Image file

2008-02-19 Thread Robert Osfield
Hi, On Feb 19, 2008 1:03 PM, wanyama harold <[EMAIL PROTECTED]> wrote: > thanks Guy and J-s for your advice on loading image > files. i used the quad idea with texture of an image > but all i got to see was black.Have u ever tried it > b4? if so some help would be welcome The osgmovie example pro

Re: [osg-users] Loading an Image file

2008-02-19 Thread wanyama harold
thanks Guy and J-s for your advice on loading image files. i used the quad idea with texture of an image but all i got to see was black.Have u ever tried it b4? if so some help would be welcome ___ Support the World Aids Awareness camp

Re: [osg-users] Loading an image file

2008-02-18 Thread Guy
Sent: Monday, February 18, 2008 6:20 PM To: OpenSceneGraph Users Subject: Re: [osg-users] Loading an image file Hello Guy, > This method also creates geometry, I think those guys are trying to > avoid geometry creation. > I think the class osg::DrawPixels can do the trick, but I never tri

Re: [osg-users] Loading an image file

2008-02-18 Thread Jean-Sébastien Guay
Hello Guy, > This method also creates geometry, I think those guys are trying to > avoid geometry creation. > I think the class osg::DrawPixels can do the trick, but I never tried > it. It's a tradeoff. You can create geometry (ooh, one whole quad!) and then set it to absolute reference frame o

Re: [osg-users] Loading an image file

2008-02-18 Thread Guy
, February 18, 2008 12:34 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Loading an image file Hello Per, > I too need to show images. Since osg is (and should be) 3d-based, the > way to do is seemed to be to display a rectange Geometry infront of an > orthographic camera, and set the

Re: [osg-users] Loading an image file

2008-02-17 Thread Jean-Sébastien Guay
Hello Per, > I too need to show images. Since osg is (and should be) 3d-based, the > way to do is seemed to be to display a rectange Geometry infront of an > orthographic camera, and set the rectangle texture to be the image. To that end, there is a utility function in the Geometry header. #in

Re: [osg-users] Loading an image file

2008-02-17 Thread Per Rosengren
I too need to show images. Since osg is (and should be) 3d-based, the way to do is seemed to be to display a rectange Geometry infront of an orthographic camera, and set the rectangle texture to be the image. Instead of this, I chose to use OpenCV (CV for Computer Vision), but you can also use

[osg-users] Loading an image file

2008-02-17 Thread wanyama harold
Hi guys, how do i get to load an image file.iam able to load .osg file formats and i have set the directory path that contains the image in the OSG_PATH. the only issue is afte i read the image ie osg::Image* image=osgDB::readImageFile("output1.png"); how can i now view it as it cant be viewed by t