Game running half the speed in SU 2013 vs SU 8
-
Your amazing Chris
Adding model.start_operation('KeyScene', true) when the user clicks the start button and calling model.commit_operation when user clicks the reset button seems to increase performance dramatically!I take all my thoughts back, and do say that Trimble SU2013 is an extreme progression!!!
Thank you SketchUp Team!
Thank you Trimble!
Thank you Chris! -
@dacastror said:
How is configured by default "Sketchup 2013"?
Here is how it looks on SketchUp 2013 Make
But! If I change that default setting that option is gone and the only way I can get back to it is if I reinstall again which is little weird.
@chris fullmer said:
Here are the results from 3 rounds of tests:
Thanks for does tests its really good to know 2013 is faster giving your results. I am still confused as to way in my game the SketchUp 2013 version runs very slow compared to SketchUp 8.
@anton_s said:
Adding model.start_operation('KeyScene', true) when the user clicks the start button and calling model.commit_operation when user clicks the reset button seems to increase performance dramatically!
Sounds like you made KeyScene work much faster...but was it faster than version 8?
Also I am not sure how can I add model.start_operation in Resballiza game to see if it will make it faster. Can you help me in that regards?
I am so thankful to all of you great job so far!
-
@renderiza said:
Sounds like you made KeyScene work much faster...but was it faster than version 8?
Yes, it's a little faster on SU2013 than on SU8
@renderiza said:
Also I am not sure how can I add model.start_operation in Resballiza game to see if it will make it faster. Can you help me in that regards?
I sent you a PM with a fixed copy of both KeyScene and Resballiza
-
can you test on mac as well?
my results don't look so great.
EDIT: reformatted to make it clearer...
run on both versions withSketchup.plugins_disabled?
=> true then false
simple cube, grouped:%(#0000FF)[v2013 mac plugins turned off
Transform Slow = 4.051424
Transform Fast = 0.689763
Invert Transformation = 0.682962
Combined Slow = 4.149032
Combined Fast = 0.685753
nilSketchup.plugins_disabled?
truev2013 mac plugins turned on
Transform Slow = 4.684443
Transform Fast = 1.141925
Invert Transformation = 0.87607
Combined Slow = 4.773361
Combined Fast = 1.152288
nilSketchup.plugins_disabled?
false]%(#8000BF)[v8 mac
Transform Slow = 2.187031
Transform Fast = 0.795604
Invert Transformation = 0.809627
Combined Slow = 2.293091
Combined Fast = 0.784819
nilSketchup.plugins_disabled?
truev8 mac
Transform Slow = 2.299228
Transform Fast = 0.805798
Invert Transformation = 0.985101
Combined Slow = 2.456473
Combined Fast = 0.818888
nilSketchup.plugins_disabled?
false]
john -
@anton_s said:
I sent you a PM with a fixed copy of both KeyScene and Resballiza
Magnificent!
Now Resballiza is way faster than before in SketchUp 2013!
SketchUp 8 runs little bit faster still but not by much...I will study ways of optimazing code to make it faster but as is right now it is playable.
Again thanks Anton_S and Chris Fullmer for all the help!
-
Awesome, glad its improved! Thanks for working that into his code Anton, great!
@John - I have not yet tried it on Mac. I'll see if I get a chance here soon.
-
@renderiza said:
SketchUp 8 runs little bit faster still but not by much...I will study ways of optimizing code to make it faster but as is right now it is playable.
Sounds great, I will be the tester
@chris fullmer said:
Awesome, glad its improved! Thanks for working that into his code Anton, great!
It was interesting, I never actually knew that setting the second parameter of model.start_operation to true would actually improve the performance. That is an important parameter to know, especially when your dealing with geometry plugins.
Advertisement