PDA

View Full Version : how to change between "demos" or "worlds" or "games"?


billjarrold
12-18-2009, 11:16 AM
Hi,

We are running an experiment with a few phases. In between each phase we want to put in some sort of fun interlude VR world. We are thinking that the 360Panaroma demo might be a nice interlude (i.e. where an orca whale floats through a large hotel style lobby/atrium) between the phases of our experiment.

Can someone give me some overall pointers on how to do this in vizard/python code? Use "director" or what part of the vizard manual should I look at?

To make it concrete, maybe someone could sketch out some (psuedo?) code on how to switch from 360Panaroma and, say, another world viz demo such as EngineRoom when the user hits, say, the 'C' key?

Thanks,

Bill

Jeff
12-18-2009, 01:35 PM
Take a look at viztask for controlling your program flow. When you are ready to enter a new phase you could switch from one scene to another.