Forum Jump :

Author Message


Posts: 20679
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#16 Posted at 2008-05-26 14:14        
     
:happy

Great new additions Myke, definatly going to try this tonight when I get home........ new Arma releases or not. ;)


@Blackhawk
Offcourse it influences your FPS cause you are increasing VD with it. However, its up to the one using it to use settings which keep the impact acceptable.
Now Myke even included some "autofixer" for that so........its even better.


Just try it ;)


Author Message


Posts: 1470
Rank:


Level: Member

Country: en
Location: Surrey, England
Occupation: Blackhawk
Age: 46
In-game name:

 
#17 Posted at 2008-05-26 15:16        
     
Foxhound : :happy

Great new additions Myke, definatly going to try this tonight when I get home........ new Arma releases or not. ;)


@Blackhawk
Offcourse it influences your FPS cause you are increasing VD with it. However, its up to the one using it to use settings which keep the impact acceptable.
Now Myke even included some "autofixer" for that so........its even better.


Just try it ;)

I've got too much lag on 1.14 to deal with, never mind increase it


Advertisement


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 50
In-game name: Myke

 
#18 Posted at 2008-05-26 16:29        
     
One known issue is, the first time you pass an area, the game needs to load the data for it and therefor it stutters. I guess it depends on PC performance how bad this stuttering is. However, as soon ArmA has loaded the complete Island data into memory (you passed the whole Island) all stuttering should have gone.

As said, the addons tries to raise viewdistance with higher altitude of player but with respect to overall performance, it will lower viewdistance to TRY to stay at playable FPS. If the mission is heavy scripted and with dozens of AI units your FPS might go low, but in this case, the addon manages itself so it will not make it even worse.


Author Message


Posts: 20679
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#19 Posted at 2008-05-27 22:19        
     
Ok, I have been playing with this for a few hours tonight and I really like this, its a great addition to dynamically change the VD.
BUT
I have never ever seen such a bad performance in my Arma after lets say 15 - 20 minutes of playing. Although my frames stay above 30 the game becomes a slide show (yes, weird huh. 30 frames while I go step by step in game) and finally it ended with me watching all p3d's in my screen, instead of the game world. I saw faces, vehicles, really everything passed through my screen with big lag. In the end I had to force arma to close.

Now, I must admit I have not played this long with the Arma 1.14 so maybe my Arma is completely screwed up but I can only say that after another test (not tonight) without your addon active, playing the same mission.

This post was edited by Foxhound (2008-05-27 23:06, ago)


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 50
In-game name: Myke

 
#20 Posted at 2008-05-28 00:15        
     
Thanks Foxhound, noted and i'm about to tweak the code for even less cpu load. I think i found some ways to reduce impact on FPS (and on general stuttering) significantly. Doin some tests and then i will upload a new testversion to my filespace to be tested.

It's pretty early to say something definately but i guess i halfed the overall cpu load of the addon, although i can't reduce the impact of ArmA loading area/textures/objects.


Author Message

vikk  



Posts: 317
Rank:


Level: Member

Country: us
Location: The American Suburbia, South Carolina
Occupation: vikk
Age:
In-game name:

 
#21 Posted at 2008-05-28 01:16        
     
dose this explaine why i crash everserveri join? beucause of this and 1.14 all together causes alot of lagg.

Former Armaholic Team Member
Vikk[TG-Regular]
Killing bad guys one bullet at a time

Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 50
In-game name: Myke

 
#22 Posted at 2008-05-28 01:36        
     
@vikk

This version isn't meant to be in "everyday-use" as it needs some testing first. If you would do some tests for me, please let me know what happens, when it happens, how you can prevent it to happen, just anything that might be important.


Although i guess this first version has indeed too much impact on performance, i'm still working on tweaking the code for better overall performance.

You can help me if you test it in several scenarios like Editor, SP and MP but if you're up to play online for a longer time, you shouldn't have this version loaded since it's experimental.


*EDIT*
Tweaked the whole scripts and now i would need some tests on this new version. Still experimental and shouldn't be used on regular playing!

*REMOVED*

This post was edited by Myke (2008-05-28 23:31, ago)


Author Message


Posts: 20679
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#23 Posted at 2008-05-28 22:40        
     
Gave your new version you posted above a go tonight. I tested some different aspects this time.

I started with just me, Sahrani and a chopper and flew over it for like 30 -45 minutes. Just cruising. Sometimes high, sometimes low, towns, forrests, deserts.
I noticed the "bigger" stutters happen mainly when new forrest comes in VD. Towns cause some lower frames but this isnt caused by this addon IMHO cause they always do.
The stuttering when flying over new forrest can be annoying for some cause the stutters takes like a second (a bit less though I guess).
But other than this all seemed well.


I than connected to a MP server, 15 peeps in there and crashed within 5 - 10 minutes of play.
So, than I just removed all my other addons except QG, your VD addon and the eventhandlers.
Now, I played for like 30 - 45 minutes with only a few other human players and I did not see any decrease in performance other than a normal MP game.
I think (not proven) Madmatt's Arma effects is causing my crashes, but I would need to test that some other time.


Overall I think your addon works pretty nicely. Specially setting the starting hieght at 100 will have helped a bit cause I think people should set minVD to a level they would always want to have when walking around.


Author Message

Myke  

Mc Script


Posts: 1034
Rank:


Level: Member

Country: ch
Location: St. Gallen
Occupation: Armaholic addon tester
Age: 50
In-game name: Myke

 
#24 Posted at 2008-05-28 23:50        
     
Ok, i think it's ready to release. Tweaked the code to the max, better performance isn't possible for this.

Dynamic Viewdistance 2.1

What it does:
=============

Well, basically it extends the VIEWDISTANCE setting you have in the video options to something more flexible. Instead of having one fixed viewdistance, you set a min and max range (where min range should reflect your actual viewdistance setting) and the addon will increase/decrease viewdistance depending of your height above sea level. This is what it did before and this is what it still does.


So whats new in 2.1?
====================

When playing large scale mission with a lot of units and scripts runnin, you could have serious performance hits and increasing viewdistance would it make it even worse. So i included a FPS counter and whenever a lower limit of FPS is reached (can be set by user), the addon tries to reduce viewdistance to come back to playable performance/FPS. But it will never go below the min viewdistance you've set (although i'm thinking about to introduce a allow override function in it).

I've also included a min height level. If the player is below this lower limit, the viewdistance will not raise. Only when you go above this level (in area or in air vehicle, no matter) it will start raising viewdistance. But also here, below this "offset value", viewdistance will not go below your set min limit.

Known problems:
===============

The first time you pass an area in a plane or a chopper, there will be noticable stuttering. This is caused by ArmA since it has more data to load (landscape, textures and objects) than usual. This stuttering only happens on first fly-over, from the second pass on it should be gone and you should have good performance and higher viewdistance. Sadly there's no way to reduce or even eliminate this effect.
Also there are known incompatibility issues with other addons (thx Foxhound to pointing at) that aren't extended Eventhandlers compatible. I'mm affraid you have to choose between the addons that interfere unless the addonmakers releases a fixed version of theyr addons. Should have been solved!


Included files:
===============

stm_dyn_vd.pbo
stm_dyn_vd.pbo.stm.bisign
stm.bikey
readme.txt
Dta/stm_dyn_vd_cfg.hpp
Extended_Eventhandlers17.zip

Please read the readme.txt (duh) for instructions about installing and configuring the addon (take your time to find best settings for your PC, once it is done, you might forget about it :D).


DOWNLOAD:
========================================================

STM dynamic viewdistance

This post was edited by Big (2008-05-29 06:31, ago)


Author Message


Posts: 30
Rank:


Level: Member

Country: pl
Location: HELL
Occupation:
Age:
In-game name:

 
#25 Posted at 2008-05-29 08:31        
     
THIS should be made by BIS.
Great job.
I never had so many fps on sahrani. Maybe it will be funny but with your addon I have 40fps on 1500 dist.
Without I had 25fps even with 500 dist, nice eh? ;D

No [img]! =([/img]

Author Message


Posts: 216
Rank:


Level: Member

Country: se
Location: Stockholm
Occupation: IT Coach
Age: 48
In-game name:

 
#26 Posted at 2008-05-29 09:09        
     
Hey Myke!

Tested your new FPS version. Seems the VD decrease when going back down to the ground is very slow. I was up at 2000 meters with 8000VD and when diving down to ground level the VD decreases very slow leaving me with 4-5000VD at ground level wich took about 40FPS off what it usually is on ground.

If that was a planned feature i think you should get it back to the equal amount of expand/shrink VD when going up/down.

Awesome idea btw!


+Has a bug or suggestion already been ticketed? Search the A2CIT!
Watch and react: http://fightforthefuture.org/pipa

Author Message


Posts: 20679
Rank:


Level: Super Admin

Country: nl
Location: The Netherlands
Occupation:
Age: 44
In-game name: Foxhound

 
#27 Posted at 2008-05-29 09:21        
     
Hmmm, I did not notice that at all when testing it last night. For me the VD went up and down nicely with my movement.
Will try this released version tonight as well, maybe there is a difference :)