-
Notifications
You must be signed in to change notification settings - Fork 736
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fnc_onDrawScope2D using more than 50ms frametime > using any ACE PIP optic drops the framerate to <10fps #6811
Comments
To embed images https://github.com/acemod/ACE3/blob/master/addons/optics/functions/fnc_onDrawScope2D.sqf#L30 This is problematic, should only be called on first frame though. https://github.com/acemod/ACE3/blob/master/addons/optics/functions/fnc_onDrawScope2D.sqf#L82
|
TLDR at bottom.
Can't reproduce. Not looking through scope 200us, looking through scope 400us.
Speaks for ambient brightness script. actually really weird that it's missing in your capture.... I stay on smooth 60fps while looking through a pip scope Can't see any mod in your RPT that might cause that. Well unless bwmod.... @commy2 you got any idea? Same kind of TLDR; nvm all that I wrote. |
tracytrace.zip |
Did you test in editor preview? |
This draw handler is not executed when the esc menu is opened, because the focus is no longer on the mission display, where the draw handler is (indirectly) attached to. |
@dedmen Yes, editor preview. |
Up to commy then. Dunno what he did inside bwmod. |
@Auge103 You can try disabling the PIP Optics in the settings of BWA3. |
@commy2 I set BWA3_usePipOptics to false, didn't change anything regarding the ACE optics. |
Don't set the variable to false. Change the setting in the menu and maybe restart the mission. |
i have this issue, too. but only in the "liberation mission" and only with ace-pip scopes.KillahPotatoes/KP-Liberation#570 (comment) |
@madpat3 only on liberation? Are you running BWMod? If not then that is the same cause as how I found the same bug in BWMod. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We now use CBA optics right so should probably be fixed now? |
We don't use CBA optics in master and there is no branch for it. However, if I find time to spare I will implement that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing due to age, inactivity or already solved. May be re-opened if the issue is still present, even better just open a new up-to-date Issue. |
Arma 3 Version:
stable 1.88.145302
CBA Version:
stable 3.9.1
ACE3 Version:
stable 3.12.5
Mods:
see list in attached .rpt
Description:
I've checked this with a profiler, the
z\ace\addons\optics\functions\fnc_onDrawScope2D.sqf.19
is using up to 60ms of frametime when one of those scopes is attached:Picture
The ace arsenal showroom increases the frametimes slightly, but using one of the scopes on Altis for example drops the framerate below 20.
Steps to reproduce:
(optional: script profiler will show the drawscope2D function using most of the frametime)
Where did the issue occur?
Additional information:
RPT log file:
https://pastebin.com/jMwbqsfC
ACE debug paste:
https://pastebin.com/eArS011c
The text was updated successfully, but these errors were encountered: