WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 04-19-2005, 10:41 AM
Johannes Johannes is offline
Join Date: Jan 2005
Posts: 143
Performance, Timer and Director Functions

working fine on the Desktop-PC ,
the movement of my objects is a too shaky / jerking on a laptop...

I tried your duck-court example and it is working fine on the laptop.

Do you think it would help, if I try to change my director functions to timer-functions?

What would be your suggestions for a light-Version (better performance).


Reply With Quote
Old 04-20-2005, 09:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849

There are probably a lot of ways to improve the performance of your script. If you are performing a lot of collision tests per frame, then there really is nothing you can do about it. Make sure that you are performing collisions using primitives and not meshes.

Also, are you creating objects frequently? This can be a big bottleneck.

If you are using a lot of director functions then switching to timers could help a little. It's definitely worth trying.
Reply With Quote
Old 04-20-2005, 10:01 AM
Johannes Johannes is offline
Join Date: Jan 2005
Posts: 143
Thank you!
Switched to timers and it helps.

used viz.waittime calls, which worked fine on fast machines, on the slower laptop I must have caused additional (unnecessary) delays.

scheduling algorithms, but I'm no expert there.

Thanks for your suggestions, I try to take care of that!

Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 01:35 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC