Page 1 of 1
Dynamic load of scenes in a *.vpr
Posted: 09 Jan 2015, 11:02
by torstenb
Hey there,
We have a project with a really whole bunch of content and want to split it up in a system of subscenes.
So to minimize compiling time, if there is a change in one subscene, is it possible to load *.vzs, *.vza or even better *.vpr files within a running main presentation by updating a linked file (like one can do with images or xml-files...).
Any suggestions on doing that?
thanks in advance!
regards. t.
Re: Dynamic load of scenes in a *.vpr
Posted: 09 Jan 2015, 12:40
by Eric_RD
I don't know about an internal Ventuz function, but you could use the "FileSystemWatcher" from System.IO in a C# script and handle its "Changed" event to reload the Scene, when the event is raised.
Re: Dynamic load of scenes in a *.vpr
Posted: 09 Jan 2015, 13:36
by torstenb
hi eric,
watching the file system is no problem.
i want to compile a main presentation (*.vpr) without including the subscenes. i want to link the scenes dynamically in an external folder to change them without compiling the main scene again.
Re: Dynamic load of scenes in a *.vpr
Posted: 09 Jan 2015, 15:31
by lerou
Hi,
you can not dynamically load scenes from outside the .vpr.
cheers,
rou
Re: Dynamic load of scenes in a *.vpr
Posted: 09 Jan 2015, 17:32
by chriss0212
you could run the presentation in director mode!
it is at the end the same like the designer....but without gui! so no need to export anything...just start presenter with some command lind options
greetz
christian
Re: Dynamic load of scenes in a *.vpr
Posted: 12 Jan 2015, 11:20
by ErikB
At the risk of stating the obvious, and I may be missing something, but the Scene Port doesn't do what you need?
Re: Dynamic load of scenes in a *.vpr
Posted: 20 Jan 2015, 11:13
by torstenb
to change the scene in sceneport i have to embedd it within the vpr which increases the compilation time and also startup time of the scene, if i have hundreds of scenes. i also have to compile the entire project (vpr) if there is a change in one subscene.
correct me if i'm wrong.
regards!
Re: Dynamic load of scenes in a *.vpr
Posted: 20 Jan 2015, 12:33
by Götz_B
You can just start the project in Director Mode. That means you do not have to pack it as a vpr. The Director Mode just works on your folder. This way you can easily add scenes and access them with a scene port. You can add vzs plus the assets (textures etc) manually, or use the AutoImport Option to add a vza.
http://www.ventuz.com/support/help/late ... rMode.html
Regards,
Götz
Re: Dynamic load of scenes in a *.vpr
Posted: 21 Jan 2015, 10:08
by torstenb
hi!
thanks! i think i got it!
cheers!