Skip to content
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

Add more 3d rendering functions #2894

Open
1 task
CrosRoad95 opened this issue Feb 12, 2023 · 0 comments
Open
1 task

Add more 3d rendering functions #2894

CrosRoad95 opened this issue Feb 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@CrosRoad95
Copy link
Contributor

CrosRoad95 commented Feb 12, 2023

Is your feature request related to a problem? Please describe.

For long time i though about how "dxDraw" functions can be improved, the problem is that if you willing to render entire models, it become really slow ( Ren712 once showed me a not really big model can cause fps drop to below 30 ).

Describe the solution you'd like

The idea is to implement functions simillar to what raylib library offer: "create mesh", "create model", "create material" and respectively functions to render meshes and models. As you could see on my youtube channel ( https://www.youtube.com/watch?v=bpkgxB9LzZU ) it has far better performance than "dxDrawPrimitive3d".

New functions would be simillar to what most game engines offers such a "createMesh" function would accept layout of vertices and vertices itself, "dxDrawMesh" would accept mesh,, material and matrix, "createModel" would take existing meshes and combine them into one multi material mesh. You will be able to create materials, by default it would be blank ( white ) and you can specify material properties, add shader to it, texture ect.

That way you can render whatever you want, render more polygons ect. Lua api will no longer a bottleneck

Describe alternatives you've considered

/

Additional context

The goal is to effectivle achive something like this: https://www.youtube.com/watch?v=hbUCIeYiAHE

( it will be never merged anyway :), everyone will constantly say that they are busy )

Security Policy

  • I have read and understood the Security Policy and this issue is not about a cheat or security vulnerability.
@CrosRoad95 CrosRoad95 added the enhancement New feature or request label Feb 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant