mtasa-blue
mtasa-blue copied to clipboard
dxDrawModel3D issues
Describe the bug
These issues were stumbled while testing [DM] race maps and trying to improve the overall draw distance of the decorations, as they contain a lot of objects and slowloads occur most of the time. I've created a resource that grabs every object element and stores their info in a separate table, then render each one of them without any limitations.
Bugs:
- on nightime, drawModels sometimes are rendered without any light update, making them bright as they appear in the day.
- most of the time some drawModels are not properly being rendered, making them flash as they've reached the objects stream limit, or not render at all in the case of bushes, palms, traffic objects etc.
- drawModels have the same area bugs behaviour as normal objects, see https://github.com/multitheftauto/mtasa-blue/issues/2729
-
engineStreamingRequestModel
does not work properly in model crowded areas (?) - drawModels use ZYX (vehicles order) rotation instead of ZXY (objects order)
- does not support objects with animated UVs (eg. waterfalls, casino signs)
Suggestion:
- make drawModels have doublesided and alpha properties (maybe add color parameter?)
Screenshots:
^ palms, neons, bridges, bushes are missing ^
Steps to reproduce
Try to improve draw distance.
Version
22721
Additional context
No response
Relevant log output
No response
Security Policy
- [X] I have read and understood the Security Policy and this issue is not security related.