![]() |
|
#1
|
|||
|
|||
Wow you're quick on the draw. That worked perfectly! Thanks for the help and the reference....hopefully I won't have to bug you anymore
![]() |
#2
|
|||
|
|||
Is using threading.Threads objects possible while running a Vizard sim without the viz.directormode call? In other words, must you set the director mode when you want to run threading.Threads while running a Vizard sim?
__________________
Paul Elliott WorldViz LLC |
#3
|
|||
|
|||
It depends. The call to viz.directormode(viz.DIRECTOR_FAST) simply tells Vizard to allow other Python threads to run while it is rendering. If you don't have this flag set, then the only time your Python thread will run is after 100 Python virtual instructions have been executed in the main thread (see sys.setcheckinterval in the Python docs for more info).
If your thread is only performing computations or file i/o, then I would recommend setting this flag. If your thread is modifying the Vizard scene graph, then I would NOT set this flag. |
![]() |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Vizard won't run | wouters | Vizard | 5 | 02-05-2008 11:12 AM |
Fall 2007 release of Vizard R3 | 3 D | Announcements | 0 | 10-15-2007 04:50 PM |
McAfee Privacy Service 8.1 causes Vizard not to run | mspusch | Vizard | 0 | 03-01-2007 08:24 PM |
Matlab and Vizard | brystewa | Vizard | 1 | 09-18-2006 03:11 PM |
wxPython with Vizard | farshizzo | Vizard | 18 | 09-29-2005 08:49 AM |