Timeline for Modern Techniques of Drawing Pixels?
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 6, 2019 at 9:42 | comment | added | Felsir | The gest is that the GPU handles this- and therefore use the GPU API’s. I tried to explain that you load textures in the GPU memory and then have the GPU draw things. I failed to get that point across apparently. The thing is all modern GPUs work in 3D so unless you use an engine or framework there is no ‘set pixel at 5,6 to white’ function. Most languages have a simple graphics (GDI) library, but often these are unsuited for game development and you’ll need something that interacts with the GPU such as OpenGL or DirectX. There are frameworks, engines and wrappers to do the heavy lifting. | |
| Jan 5, 2019 at 21:40 | comment | added | user123710 | This is a very nice explanation of the concept of 2d graphics, though this does not entirely provide or hint towards an answer for my issue. For clarification, apologies if my writing wasn't clear or if I misunderstood this answer, my issue was finding the best method to go about updating these pixels / sprites on a display, since I had already seen that a for loop and an array was already a poor way to accomplish this. Or if that would be the only way to go about doing this. | |
| Jan 5, 2019 at 21:00 | history | answered | Felsir | CC BY-SA 4.0 |