WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Performance, Timer and Director Functions (https://forum.worldviz.com/showthread.php?t=326)

Johannes 04-19-2005 10:41 AM

Performance, Timer and Director Functions
 
Hi,
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).


Best,

Johannes

farshizzo 04-20-2005 09:45 AM

Hi,

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.

Johannes 04-20-2005 10:01 AM

Thank you!
Switched to timers and it helps.



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

Hypothesis2:
scheduling algorithms, but I'm no expert there.


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


Johannes


All times are GMT -7. The time now is 07:51 AM.

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