I
I
Ilya Chirkov2015-03-27 22:53:59
OpenGL
Ilya Chirkov, 2015-03-27 22:53:59

What to choose for developing 2D applications in C#?

The goal is to create a pixel art editor. Among the necessary functionality, one can single out pixel size scaling (i.e., displaying the work area in an enlarged form), displaying a pixel grid, etc.
I found a lot of tools to help (GDI +, Tao Framework, OpenTK, SharpDX, SlimDX) and I don’t know what to choose from this. I want something as simple and convenient as possible for a specific purpose. Tell me what to choose.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2015-03-27
@OnYourLips

Unity3D.

E
evgeny10011, 2015-03-30
@evgeny10011

If the interface is on WPF, then in my opinion the best option would be to draw directly on the UIElement, in any case, there will be very convenient integration, simple scaling of the workspace, moving it, displaying controls on top of it, and besides, it’s easy to screw pixel shaders, for example, effects (brightness / contrast, color balance - though I don’t know if this is necessary in pixel art). The performance is pretty good, hardware acceleration, but again, depending on what size canvases you will create there, test it. Plus, you save yourself the hassle of double buffering, copying bitmaps, or problems with overlapping or transparency of foreign openGL controls.
The GDI+ option is also good, it has good performance, you can also look at the extensions for WritableBitmapwriteablebitmapex.codeplex.com, может быть для пиксель арта это даже лучше вариант.
Tao Framework перекочевал в OpenTK. OpenTK хорош но только зачем оно, если у вас нет 3D?

L
levovix, 2017-11-18
@levovix

SFMLnet для 2D или SharpGL для 3D

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question