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
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 in the OSG_PATH.
the only issue is afte i
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 or
: 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 tried
it.
It's
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
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
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.
7 matches
Mail list logo