Rendering problem
Hi,
I have a program with a timer which constantly updates the environment. Upon certain exit conditions it turns all the objects invisible and calls the following code: modeinfo.visible(viz.ON) modeinfo.message("Experiment concluded.") viz.waitkeypress() onkeydown('s') viz.quit() However, it neither renders the objects turning invisible nor the message. Does the program just not refresh if I freeze it within a timer? -YG |
Hi,
You are stalling application by using the viz.waitkeypress command. This command is only meant to be used inside a director function. See the command reference for more details. |
All times are GMT -7. The time now is 07:10 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC