View Issue Details

IDProjectCategoryView StatusLast Update
0006331Spring engineGeneralpublic2019-11-11 20:16
ReporterFloris Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version104.0 +git 
Fixed in Version104.0 +git 
Summary0006331: camera smoothing does nothing unless restarting
Descriptionno camera transition smoothing being applied, only after restarting you see the smoothing change applied

done via
Spring.SetConfigFloat("CamTimeFactor", value)
and / or
Spring.SetCameraState(Spring.GetCameraState(), cameraTransitionTime)
TagsNo tags attached.
Checked infolog.txt for ErrorsIrrelevant

Activities

Floris

2019-11-10 21:21

reporter   ~0020210

after that changing the transition time values ingame will adjust realtime without requiring a restart

Floris

2019-11-10 21:41

reporter   ~0020211

seems like setting CamTimeFactor isnt consistant from one launch as another

say... you set it to 0.1 one game, restart and then configure it all the way to 3, the smoothing gets to be substancial... then restart again and the smoothing suddenly is ludicrous!

am i using this var wrong, or is it a bug?

Kloot

2019-11-11 20:10

developer   ~0020213

Last edited: 2019-11-11 20:15

"say... you set it [CamTimeFactor] to 0.1 one game, restart and then configure it all the way to 3, the smoothing gets to be substancial... then restart again and the smoothing suddenly is ludicrous!"


this is not reproducable, the code definitely re-reads CamTimeFactor from springsettings on each restart.

also be aware Spring.SetCameraState(Spring.GetCameraState(), cameraTransitionTime) does not touch the CamTimeFactor value, you should (in 1438 and above) either call Spring.SetCameraState(Spring.GetCameraState(), cameraTransitionTime, camTimeFactor, camTimeExponent) or issue a /camtimefactor command to change that.

Issue History

Date Modified Username Field Change
2019-11-10 21:15 Floris New Issue
2019-11-10 21:21 Floris Note Added: 0020210
2019-11-10 21:41 Floris Note Added: 0020211
2019-11-11 20:10 Kloot Note Added: 0020213
2019-11-11 20:15 Kloot Note Edited: 0020213
2019-11-11 20:16 Kloot Assigned To => Kloot
2019-11-11 20:16 Kloot Status new => resolved
2019-11-11 20:16 Kloot Resolution open => fixed
2019-11-11 20:16 Kloot Fixed in Version => 104.0 +git