Talk:GetCameraMatrix: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== Field of View (8th return value) not synchronized with setCameraFieldOfView == There is a bug in getCameraMatrix (tested clientside). If you execute "setCameraFieldOfView('...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
== Field of View (8th return value) not synchronized with setCameraFieldOfView == | == Field of View (8th return value) not synchronized with setCameraFieldOfView == | ||
There is a bug in getCameraMatrix (tested clientside). If you execute "setCameraFieldOfView('player', 90)" then the FoV returned by getCameraMatrix remains 70. This bug can lead to inconsistencies in camera calculation code ([https://forum.mtasa.com/topic/122576-software-rendering-in-mtasa-lua/ frustum checking], [https://forum.mtasa.com/topic/122823-help-getscreenfromworldposition/ screen coordinate calculation], etc). --[[User:Quiret|Quiret]] ([[User talk:Quiret|talk]]) 11:51, 8 March 2020 (UTC) | There is a bug in getCameraMatrix (tested clientside). If you execute "setCameraFieldOfView('player', 90)" then the FoV returned by getCameraMatrix remains 70. This bug can lead to inconsistencies in camera calculation code ([https://forum.mtasa.com/topic/122576-software-rendering-in-mtasa-lua/ frustum checking], [https://forum.mtasa.com/topic/122823-help-getscreenfromworldposition/ screen coordinate calculation], etc). Github issue: https://github.com/multitheftauto/mtasa-blue/issues/1282 --[[User:Quiret|Quiret]] ([[User talk:Quiret|talk]]) 11:51, 8 March 2020 (UTC) |
Latest revision as of 06:44, 9 March 2020
Field of View (8th return value) not synchronized with setCameraFieldOfView
There is a bug in getCameraMatrix (tested clientside). If you execute "setCameraFieldOfView('player', 90)" then the FoV returned by getCameraMatrix remains 70. This bug can lead to inconsistencies in camera calculation code (frustum checking, screen coordinate calculation, etc). Github issue: https://github.com/multitheftauto/mtasa-blue/issues/1282 --Quiret (talk) 11:51, 8 March 2020 (UTC)