#1
|
|||
|
|||
AVI recording and offline parameter settings
Hi,
In my virtual world example, the number of objects are huge.This consumes a lot of time and the realtime simulation goes really slow:-).Is it possible to record the simulation to a file such as a ".avi" for a specific period of time and view the file later? How do I turn off the world view window when such a simulation is running?Also is it possible to record a parameter from my world to the disk? Thanks in advance |
#2
|
|||
|
|||
In Vizard 3.0 you can press CTRL-F12 to toggle avi recording of what is on the screen.
Check out the examples in Vizard30/examples/file_io for how to write to files.
__________________
Paul Elliott WorldViz LLC |
#3
|
|||
|
|||
memory conservation
Hi,
Thanks for the AVI recording details.Seems like this process takes a huge amount of disk space.A particle simulation example takes huge amount of physical memory(as the particle numbers grow).The vector method of recording the simulation looks a better option.Can some one please comment on the following 1) how can I configure to run the world view recording for a specified amount of time? 2) can this be done without the worldview window being displayed?(in background) Thanks in advance |
#4
|
|||
|
|||
The "vector" recording method simply records the Vizard fucntions called and executes them again when you play the recording. This will not solve your graphics limited framerate problem as you will still have a poor framerate when you play the "vector" recording.
The AVI takes lots of space because it is recored uncompressed. Editing it in Windows MovieMaker and exporting it will greatly reduce the size.
__________________
Paul Elliott WorldViz LLC |
#5
|
|||
|
|||
object number limitations..
Hi,
I am adding a large number of particles into my world using the command add("<file>.wrl").The world view window fails to open if the particle number cross a certain limit. How do I overcome this problem? also , I belive the computation hardware requires better processing capabilities as I see the framerates going down as the particle numbers increase. Thanks, |
#6
|
|||
|
|||
Quote:
|
#7
|
|||
|
|||
CRTL-F12 creates an avi file in the same directory as the script you are running. There is no Python command to start AVI recording.
The file io stuff is about using the Python file fucntion to write text. It not related to AVI recording.
__________________
Paul Elliott WorldViz LLC |
#8
|
|||
|
|||
Chandan,
What do you mean when "the world view widnow fials to open." Does this mean that Vizard is stuck on the loading screen where the ball moves around the logo? If this is so, then I susspect that Vizard is simply taking a very long time to render the first frame of your program.
__________________
Paul Elliott WorldViz LLC |
#9
|
|||
|
|||
Quote:
|
#10
|
|||
|
|||
memory issue?
Hi,
I am referring to the world view window which appears after pressing the "run" button in the vizard window.This window appears for some time and terminates unexpectedly. My world never appears. rather I see the ball-head swinging for some time.The workaround is to reduce the number os "particles".after this , my world displays in the world view window and the simulation works fine. I am testing this in a uniprocessing environment, Intel 2ghz processor, Intel extreme graphics processor and Windows XP.Can you please suggest any workarounds?Ideally this should work(trading off performance) :-) Thanks, |
#11
|
|||
|
|||
BJ: Control-F12 should toggle AVI recording in Vizard 3.0. To do this hold CTRL and then press F12. Try unintalling and re-installing if that is what you have been pressing. There is currenly no way to trigger AVI recording prgrammaticly, but we will to implement that in the next release.
__________________
Paul Elliott WorldViz LLC |
#12
|
|||
|
|||
Chandan: For each of the nodes that you add which have particles try calling <node3d>.hasparticles() on them. This may help Vizard render them. Also, getting a "serious" graphics card, like an nVidia will significantly improve performance and may also increase the number of particles the simulation can run.
__________________
Paul Elliott WorldViz LLC |
|
|