eee!!
I did it !
I m doing videos with the code of osghelp page and ffmepg on linux .
tomorrow I put the code here using an osg::Camera
thank you guys !
no more tears :D
___
osg-users mailing list
osg-users@lists.openscenegraph.org
How do you use this bugle ??
Can you send me a example please :)
On Fri, Jun 27, 2008 at 6:42 PM, Jeremy Moles [EMAIL PROTECTED]
wrote:
I made all of the osgWidget videos using Bugle; it's really the best
thing I've found for this kind of thing.
On Thu, 2008-06-26 at 14:09 -0400, Vican,
My code :
osg::Image *Ximage;
osg::Camera* cam = new osg::Camera;
cam-setProjectionMatrixAsPerspective(20,1,20,100);
cam-setViewport(0,0,640,180);
cam-setClearColor(osg::Vec4(0.7,0.7,1,1));
You most likely do not have a valid Opengl Context as you doing this in the
main Application thread
You will need to make you application single threaded if you want to do it
this way
Or the traditional way would be with a post draw call back ( there are many
examples floating around )
I made all of the osgWidget videos using Bugle; it's really the best
thing I've found for this kind of thing.
On Thu, 2008-06-26 at 14:09 -0400, Vican, Justin E. wrote:
Hi Carlos,
As Robert mentioned, there has been a lot of discussion about this topic
recently. I posted a camera callback
Hi friends !
I 'd want to save the frames of my OSG scene in jpg or bmp or any other
format.
What function do this ?
How do I do this ??
thank you !
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi Carlos,
This has been discussed lots in the last month so have a look through
the osg-users archives.
Robert.
On Thu, Jun 26, 2008 at 3:59 PM, Carlos Sanches [EMAIL PROTECTED] wrote:
Hi friends !
I 'd want to save the frames of my OSG scene in jpg or bmp or any other
format.
What
(If you are using windows), I also use the Print Screen button, which
effectively copis the image to the clip-board.
-- Rick
On Thu, Jun 26, 2008 at 11:08 AM, Robert Osfield [EMAIL PROTECTED]
wrote:
Hi Carlos,
This has been discussed lots in the last month so have a look through
the
No I want to do a movie with the frames generated .
In linux .
On Thu, Jun 26, 2008 at 12:08 PM, Robert Osfield [EMAIL PROTECTED]
wrote:
Hi Carlos,
This has been discussed lots in the last month so have a look through
the osg-users archives.
Robert.
On Thu, Jun 26, 2008 at 3:59 PM,
I m doing this :
Ximage-readPixels(100,100,640,480, GL_RGBA, GL_UNSIGNED_BYTE);
osgDB::writeImageFile(*Ximage,teste.bmp);
but this is creating a black image :(
On Thu, Jun 26, 2008 at 12:08 PM, Robert Osfield [EMAIL PROTECTED]
wrote:
Hi Carlos,
This has been discussed lots in the
On Thu, Jun 26, 2008 at 5:52 PM, Carlos Sanches [EMAIL PROTECTED] wrote:
I m doing this :
Ximage-readPixels(100,100,640,480, GL_RGBA, GL_UNSIGNED_BYTE);
osgDB::writeImageFile(*Ximage,teste.bmp);
but this is creating a black image :(
You are likely just reading pixels from the wrong
Hi Carlos,
As Robert mentioned, there has been a lot of discussion about this topic
recently. I posted a camera callback code update to the
osgcompositeviewer example a few days ago (attached). It should do the
trick for you.
As far as stringing the frames together into a movie, in the past I
On Thu, 26 Jun 2008, Rick Pingry wrote:
(If you are using windows), I also use the Print Screen button, which
effectively copis the image to the clip-board.
This method works on Linux as well. At least with the Gnome desktop,
possibly kde as well.
-bob
-- Rick
On Thu, Jun 26, 2008 at
13 matches
Mail list logo