Component drawing revisited #2310
Comments
Per uploaded file First version. Speeds up drawing by only figuring out the animation frames once. Uses a shader to flatten defensive buildings. Speeds up shader binding. Removes support for OpenGL < 2.0. |
Cyp commented
|
Per uploaded file Smaller version of above, that only lays the groundwork by removing non-shader support and improving the shader framework. |
dak180 commented Please keep in mind Mac OpenGL Support; we can likely get away with not worrying about cards that do not support at least OpenGL Version 2.0 though. |
Per Inge Mathisen commented Lay the groundwork for a more modern component drawing system. Removes support for OpenGL 1.x. See #2310 |
Per uploaded file |
Per uploaded file Cache texture coordinate calculation on game start instead of doing them each frame. Do defensive structure stretching in the vertex shader. |
Per Inge Mathisen commented Cache texture coordinate calculation on game start instead of doing them each frame. Do defensive structure stretching in the vertex shader. See #2310 |
icenine457@... uploaded file Debug output while experiencing texture corruption |
icenine457@... uploaded file Screenshot of the corruption I'm experiencing from this patch on |
Per commented Sounds like a problem in your Intel (Mesa) driver. |
Per Inge Mathisen commented Lay the groundwork for a more modern component drawing system. Removes support for OpenGL 1.x. See #2310 |
Per Inge Mathisen commented Cache texture coordinate calculation on game start instead of doing them each frame. Do defensive structure stretching in the vertex shader. See #2310 |
Safety0ff commented Is this more or less a to-do now that the patches have been applied? |
Per changed status from |
Per changed resolution from `` to |
keyword_shaders_components_drawing_opengl
resolution_closed
type_patch (an actual patch, not a request for one)
| by PerThis is the beginning of a rewrite of how component drawing is done, using shaders. It collides unfortunately with SafetyOff's VA branch, since I did not know about it when I started this work. This is an in-progress work put here for comments and discussion of interfaces and approaches.
Issue migrated from trac:2310 at 2022-04-16 06:46:34 -0700
The text was updated successfully, but these errors were encountered: