View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009861 | Multi Theft Auto : San Andreas | Scripting | public | 2018-05-03 21:08 | 2018-07-21 17:26 |
Reporter | TGpieT | Assigned To | ccw | ||
Priority | normal | Severity | feature | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | |||||
Target Version | 1.5.6 | Fixed in Version | 1.5.6 | ||
Summary | 0009861: [REQUEST] postGUI argument for dxDrawMaterialLine3D | ||||
Description | Materials drawn using dxDrawMaterialLine3D always appear behind dx elements since there is no postGUI argument available for this function. The non-material variant of this function (dxDrawLine3D) does implement this and it works as expected, the lines will appear before any dx elements. Would it be possible to add this functionality? | ||||
Tags | No tags attached. | ||||
child of | 0003344 | closed | New Feature Requests | Requested features tracker |
|
dx lines, and such are not elements. |
|
you can use shaders to transform flat image to 3d |
|
@Pirulax Tested and confirmed not working, there is a seperate drawing queue for 3D material elements. However there only is one while there are two for regular 3D lines, one which allows drawing postGUI (someone helped me find it in the source code of MTA itself). @CrossRoad I don't think it's as flexible as using dxDrawMaterialLine3D? Also I think it makes sense to add this option since it's already available for dxDrawLine3D, a logical addition if you ask me. ^^ |
|
https://github.com/multitheftauto/mtasa-blue/commit/bee6c7f245e962541e07a2abfe7ae41ea31f2d73 |
|
Please test with https://nightly.mtasa.com/mtasa-1.5.5-full_rc-11998-20180601.exe Docs: https://wiki.multitheftauto.com/wiki/DxDrawMaterialLine3D |
|
working |
|
I think you should test the postGui argument too (does it draws the materialLine on top of a 2d dx) |
|
It works perfectly as I wanted. |