Answer the question
In order to leave comments, you need to log in
How to create a pixel editor?
Basically, I'm building a simple editor, and I'm stuck on rendering pixels. SFML.
I made my own canvas and rendered a matrix on it by VertexArray but ran into performance issues. Looks like I went in the wrong direction.
Answer the question
In order to leave comments, you need to log in
Well, I figured it out myself. In my opinion, work through sf::Image remained a better option. And processing Viewport. I got the coordinates via mapPixelsToCoords.
Maybe you should use DirectX/Vulkan/OpenGL , but it depends on where the performance hits and where the problems occur.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question