#Would unity be a good choice for building an image editing program like paint?

1 messages · Page 1 of 1 (latest)

oblique belfry
#

I have a pre-existing winforms app that I am looking into porting to the web, and thought maybe Unity could help with that transpiling process.

#

Why not, @tulip locust

#

What are the limitations of browser software. Is it just not strong enough?

#

And if not, do you have any recommendations for alternative technologies?

#

@tulip locust why not?

silk hollow
#

This is an interesting subject tbh

#

I’ve only seen one application made in Unity. It was a modding tool for a Unity game.

#

The only reason I could think of it being bad is because Unity’s UI system is a pain in the ass to use

#

But there’s no reason you can’t get around the annoyingness of it, or make your own UI system based around the 2D rendering part of Unity

#

There’s also the IMGUI thing which although ancient is very easy to develop with

#

Are there any things in your program that you think Unity might not be able to handle? @oblique belfry

oblique belfry
#

@silk hollow TBH I have never used Unity before in my life. The app is called PixelStacker right now, so maybe you could tell me if unity would have issues with anything. The heavy part of the app would just be the canvas rendering panel. Just has pan and zoom features and gets more detailed if you zoom in a lot, and then displays scaled down images as you zoom out. (Doubles the RAM needed to hold things in memory, but overall leads to a smoother viewing experience)

#

I guess you could say RAM and CPU would be possible bottlenecks. Right now the program can render out a 4000x3000 file, and then each pixel basically gets multiplied out by 16x16 from there. (Minecraft image tiles)

silk hollow
#

whoa that's cool

#

only problem I can think of is that, at least as far as I know, objects in unity that are rendered have to exist as "physical" objects, and creating/destroying them can be (at least on a large scale) slow

#

and having 4000x3000 "physical objects" will certainly cause a freeze. but I assume you would either just have ONE renderer that has its texture updated by code, or have several renderers but only a portion of the whole image actually shows at once

oblique belfry
#

Yes that assumption would be correct, @silk hollow. Also thanks!

#

so in that case would unity be the ideal thing for that, or... is something else a better program for outputting to webgl and canvas?

#

I know unity is good for 3D. Probably also good at 2D I would imagine

silk hollow
#

yeah, it is pretty good for 2D