electronicboy wrote:You are better off using fixates. Ps, you can select to hide fixates while running, not sure where that option is, but its there to be used!
it's under "Options -> Rendering -> Draw axels/fixjoints when rendering
electronicboy wrote:Glueing objects is known to create issues with deleting objects and such!
(In fact, at one point in algodoo's history, glueing created a alpha quality release! Causing some scenes to be unloadable!)
Also, I haven't seen any performance difference between fixates or glueing.
neither have I [ed: yet], but still, the process of drawing a fixjoint does require some non-zero amount of processing power [ed: which we will see in a bit]
electronicboy wrote:Also, all a phz file is, is a bunch of pictures and a thyme script to respawn all the objects.
You can't really link the size of that file to the overall performance!
I was looking at the raw file size of the PHN, not the actual PHZ. my fixate PHZ file is quite a bit larger than that, I just crunched some numbers, and got this:
- Code: Select all
Fixate Glue Difference
fix test NN.phz | 21,800 18,867 | 2933
| |
checksums.txt | 42 42 | 0
scene.phn | 12,964 12,611 | 353
thumb.png | 20,395 17,517 | 2,878
Total | 33,401 30,170 | 3,231
Ratio | 0.65267507 0.625356314 | 0.027318755
electronicboy wrote:The number of fixates it would take to actually slow rendering down is probably astronomical!
I tested this theory as well. on my ASUS G73SW-3DE I started to see a performance drop at around 1000 fixates. at nearly 10,000 (the most I could fit on my screen) fixjoints my refresh rate was 14 FPS, and my simulation time was around 40%. additionally,
.phz file size of 9984 fixjoints is 682,531
.phn file size same scene is 3,844,634
electronicboy wrote:Also, you have to remember, does the physics engine have any performance loss between the two?
I doubt there is any difference between the two WRT the physics engine. glue and fixates seem to be defined by the Body variable. the Glued variable, or a fixjoint with proper Geom1 and Geom2 variables, defines if the two geometries are attached together. all the other fixjoint variables seem to be for graphical representation alone.
based on this information, I'm guessing it takes Algodoo 0.01% of a timestep to process a fixjoint
I don't have any information regarding how long it takes Algodoo to process Glues. I don't know how I would go about gathering that information, but I am open to suggestions and ideas