Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server

Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!

Dynamic load of scenes in a *.vpr

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
torstenb

Dynamic load of scenes in a *.vpr

Post by torstenb » 09 Jan 2015, 11:02

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.

User avatar
Eric_RD
Posts: 103
Joined: 04 Jun 2014, 14:01
Contact:

Re: Dynamic load of scenes in a *.vpr

Post by Eric_RD » 09 Jan 2015, 12:40

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.

torstenb

Re: Dynamic load of scenes in a *.vpr

Post by torstenb » 09 Jan 2015, 13:36

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.

User avatar
lerou
Posts: 345
Joined: 06 Sep 2013, 07:14
Location: Hamburg, Germany

Re: Dynamic load of scenes in a *.vpr

Post by lerou » 09 Jan 2015, 15:31

Hi,

you can not dynamically load scenes from outside the .vpr.

cheers,
rou

chriss0212
Posts: 666
Joined: 18 Jan 2012, 20:56
Location: wuppertal
Contact:

Re: Dynamic load of scenes in a *.vpr

Post by chriss0212 » 09 Jan 2015, 17:32

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

User avatar
ErikB
Posts: 212
Joined: 10 Jan 2012, 12:52

Re: Dynamic load of scenes in a *.vpr

Post by ErikB » 12 Jan 2015, 11:20

At the risk of stating the obvious, and I may be missing something, but the Scene Port doesn't do what you need?

torstenb

Re: Dynamic load of scenes in a *.vpr

Post by torstenb » 20 Jan 2015, 11:13

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!

User avatar
Götz_B
Posts: 180
Joined: 21 May 2013, 13:01

Re: Dynamic load of scenes in a *.vpr

Post by Götz_B » 20 Jan 2015, 12:33

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

torstenb

Re: Dynamic load of scenes in a *.vpr

Post by torstenb » 21 Jan 2015, 10:08

hi!

thanks! i think i got it!

cheers!

Post Reply