Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2011-05-12 Thread Robert Osfield
Hi Gianni,

On Tue, May 10, 2011 at 4:02 PM, Gianni Ambrosio ga...@vi-grade.com wrote:
 robertosfield wrote:
 I do plan to add support for this in the 2.9.x dev
 series using the ffmpeg plugin to do the video encoding, but I don't
 have any dates for the work.


 Is there anything new about this topic?

No news yet sorry.  Have plenty of items on my TODO list infront of
video encoding and haven't put
in any plans to develop it soon.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2011-05-10 Thread Gianni Ambrosio
Hi Robert,


robertosfield wrote:
 I do plan to add support for this in the 2.9.x dev
 series using the ffmpeg plugin to do the video encoding, but I don't
 have any dates for the work. 


Is there anything new about this topic?

Regards
Gianni

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=39246#39246





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-04-23 Thread Robert Osfield
HI Rodrigo,

On Wed, Apr 22, 2009 at 8:39 PM, Rodrigo Salvador osgfo...@tevs.eu wrote:
 Felix, did you achieve to replay the animation?

 I recorded a animation in a saved_animation.path file, but what I want is 
 to play it in a external player. Does OSG save the animation with another 
 kind of file, like .wmv?

The recoding of the animation *path* is supported, but this is just
log of position+orientation of the camera.  You can run osgviewer with
this path to replay it, but it's not something other non OSG tools
will support.

If you want a movie then you'll need an entirely seperate image
capture support.  I do plan to add support for this in the 2.9.x dev
series using the ffmpeg plugin to do the video encoding, but I don't
have any dates for the work.  In the meantime you'll need to use a 3rd
party tool to capture the desktop and encode it.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-04-22 Thread Rodrigo Salvador
Felix, did you achieve to replay the animation?

I recorded a animation in a saved_animation.path file, but what I want is to 
play it in a external player. Does OSG save the animation with another kind of 
file, like .wmv?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=10678#10678





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-17 Thread Felix Ilbring
It works!
I am deeply greatful for your support.
The Process Monitor worked out for me. There i found out that the .path file 
was stored in my SVN temp directory (.svn\tmp\text-base). I do not know why the 
windows search did not find it nore do i know why it is hidden in there, but 
all animation paths i captured are stored in this directory.

My last question is, how do i replay one of them?

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8603#8603





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread schoko wikinger
Hi Guys,

I have just added a RecordCameraPathHandler to my viewer and it works fine, 
which means the animation is recorded by pressing z and replayed by pressing Z. 
But the problem is the saved_animation.path file is never written, although it 
says so. I search the complete disk for *.path

Here is how i added the handler

osgViewer::View* viewP = 
dynamic_castosgViewer::View*(_billInterface-getCamera()-getView());

recordHandler = new osgViewer::RecordCameraPathHandler(ETC.path);
viewP-addEventHandler(recordHandler);

And how do I replay the animation at the next start? I have a play button 
implemented in my GUI, but do not know how to implement the functionality.
like getView()-playAnimationFromFile(ETC.path)

thanks for your help
Felix
-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss 
für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Robert Osfield
Hi Felix,

Have you looked at the class definition for RecordCameraPathHandler?  If not
go have a look at it.  The constructor takes an optional filename that
defaults to saved_animation.path, you can set this to what ever you want,
including full path if you wish.  Normally in default settings the
saved_animation.path will drop in the directory that you ran your
application from.

Robert.

On Mon, Mar 16, 2009 at 3:13 PM, schoko wikinger felixilbr...@gmx.netwrote:

 Hi Guys,

 I have just added a RecordCameraPathHandler to my viewer and it works fine,
 which means the animation is recorded by pressing z and replayed by pressing
 Z. But the problem is the saved_animation.path file is never written,
 although it says so. I search the complete disk for *.path

 Here is how i added the handler

 osgViewer::View* viewP =
 dynamic_castosgViewer::View*(_billInterface-getCamera()-getView());

 recordHandler = new osgViewer::RecordCameraPathHandler(ETC.path);
 viewP-addEventHandler(recordHandler);

 And how do I replay the animation at the next start? I have a play button
 implemented in my GUI, but do not know how to implement the functionality.
 like getView()-playAnimationFromFile(ETC.path)

 thanks for your help
 Felix
 --
 Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +
 Telefonanschluss für nur 17,95 Euro/mtl.!*
 http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Felix Ilbring
Hi Robert

I have done it. I put it to 

new osgViewer::RecordCameraPathHandler(C:\\ETC.path);

but it was never there.

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8535#8535





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Robert Osfield
On Mon, Mar 16, 2009 at 3:28 PM, Felix Ilbring osgfo...@tevs.eu wrote:

 Hi Robert

 I have done it. I put it to

 new osgViewer::RecordCameraPathHandler(C:\\ETC.path);

 but it was never there.


The class has always worked for me, so can't suggest any gotcha's, you'll
have to open up a debug and see what the ReecordCameraPathHandler is doing
on your build/system.

Robert.
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Paul Melis

Felix Ilbring wrote:

Hi Robert

I have done it. I put it to 


new osgViewer::RecordCameraPathHandler(C:\\ETC.path);

but it was never there.
  
Note that you need to add the handler to the correct osgViewer::View and 
also have to use the 'z' key to start recording...


Paul
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Felix Ilbring
thanks Paul

the thing ist, that the recording works. it starts with 'z' and stops with 'Z' 
afterwards it plays the scene again and again.

console promts:
Recording camera Path.
Writing camera file: ETC.path
AnimationPath Completet in XXX

so i guess it is the right viewer, but the file is nowhere to be found.. 

i also started in debug mode and the recordHandler object looks good. No errors 
all values set

maybe some can just post me a .path file and tell me how to replay it in my 
view.
I can than add my own points to it and everything will be fine  :)
if i remeber correctly it should look like
TIME X Y Z thats what i read in another post

thanks
Felix

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8547#8547





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Robert Osfield
Hi Felix,

Could you try osgviewer to see if it can record files OK.

Robert.

On Mon, Mar 16, 2009 at 4:45 PM, Felix Ilbring osgfo...@tevs.eu wrote:

 thanks Paul

 the thing ist, that the recording works. it starts with 'z' and stops with
 'Z' afterwards it plays the scene again and again.

 console promts:
 Recording camera Path.
 Writing camera file: ETC.path
 AnimationPath Completet in XXX

 so i guess it is the right viewer, but the file is nowhere to be found..

 i also started in debug mode and the recordHandler object looks good. No
 errors all values set

 maybe some can just post me a .path file and tell me how to replay it in my
 view.
 I can than add my own points to it and everything will be fine  :)
 if i remeber correctly it should look like
 TIME X Y Z thats what i read in another post

 thanks
 Felix

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=8547#8547





 ___
 osg-users mailing list
 osg-users@lists.openscenegraph.org
 http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Paul Melis
Felix Ilbring wrote:
 thanks Paul

 the thing ist, that the recording works. it starts with 'z' and stops with 
 'Z' afterwards it plays the scene again and again.

 console promts:
 Recording camera Path.
 Writing camera file: ETC.path
 AnimationPath Completet in XXX

 so i guess it is the right viewer, but the file is nowhere to be found.. 
   
Hmm, and you can't locate it using a search in the file explorer?
Another tool you could use is this one
(http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) which
allows you to trace file activity of a process (read/write/create/etc).

Paul
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


Re: [osg-users] RecordCameraPathHandler where is the saved_animation.path file?

2009-03-16 Thread Felix Ilbring
no I did not create the file manualy, but I will test the tool from the link 
tomorrow.
Thanks a lot for your support.

Felix

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=8565#8565





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org