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
Matrix poping inside cam.Start3D2D #1663
Comments
Does it work in "live branch"? |
If by "live branch" you mean "dev - development branch" .. then no. |
No, not the dev branch, the no beta version of the game. |
I've tried in many ways to render cam.PopModelMatrix inside a 3D render-environment but with no luck. |
Does it work properly in live version? |
No. I got a suspicion that cam.PopModelMatrix pushes a world matrix since it renders outside the cam.Start3D2D. |
Well, then this is not a regression. |
Sorry, accidentally pressed the button when a window closed. |
This bug still exists on all current Gmod branches, it would be great if it was fixed. As stated above the model matrices pushed into a 3D context seem to completely mess up where things are gonna draw, their scales and angles. Is You can reproduce this issue fairly easily, start a 2D context inside a 3D one using for instance Alternatively if |
Indeed cam.PushModelMatrix will replace the matrix used by cam.Start3D2D. It's bad enough cam.PushModelMatrix replaces matrices instead of multiplying, but not being able to cam.GetModelMatrix makes it impossible to do it ourselves. |
Alternatively I could add an optional argument to Or I could do both. Which would be preferred? |
Both would be incredibly helpful I'm sure! |
Added both, but it will be a short while before they are on Dev, build server's having a problem |
Calling cam.PushModelMatrix and cam.PopModelMatrix inside cam.Start3D2D broke.
Example:
The text was updated successfully, but these errors were encountered: