WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 04-19-2005, 10:41 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
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
Reply With Quote
  #2  
Old 04-20-2005, 09:45 AM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
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.
Reply With Quote
  #3  
Old 04-20-2005, 10:01 AM
Johannes Johannes is offline
Member
 
Join Date: Jan 2005
Posts: 143
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
Reply With Quote
Reply

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 04:41 PM.


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