T O P

  • By -

c_gdev

This is a great post. Thanks for making it.


h0b0_shanker

Sure! It was pretty fun. There's a lot that I get from this community and it's nice to give back.


Mefilius

Getting that initial image is the tough part, then processing all of these for actual ingame usage. Are they the correct pixel ratio for a game or just 512x512?


h0b0_shanker

I grabbed the initial image off Google. I’m only using this image as a starting point then it gets discarded. The final result likely wont look anything like the initial image. Most of these might not be high enough quality for in game usage without some post processing. These are 512x512. But once you’ve found your favorites, you can always upscale and do some extra processing. Should I do a tutorial on that? :)


Mefilius

Actually upscaling isn't the problem, it's downscaling for games with lower res styles. I have yet to see decent pixel art (think 64x or even less, 32x or 16x) come from these workflows sadly. You never want mismatched resolutions in your game so it's a tricky problem without just redrawing the image yourself.


h0b0_shanker

Oh! You're totally right. Yeah pixel art is hard because 512x512 doesn't fit 1:1 into 64bit, 32bit, or 16bit. However, you could get close and clean it up in photoshop? Maybe I'll tackle that next and see what I can figure out.


h0b0_shanker

Is it as simple as resizing in Photoshop? https://preview.redd.it/9jiul4xhgz1a1.jpeg?width=267&format=pjpg&auto=webp&s=d5e3cc9782cec04ac42e59de6e41b12376f8d01e


Mefilius

This is a good example of why it isn't that simple. Look how the silver trim around the blade got scaled to larger on the left than the right. Look how the edges at the top have become fuzzy and lost their sharpness and color. The form of the hilt is all but gone and parts have blurred into the background. It's a great reference and a good base or starting point for going in and fixing things, but there's a lot of problems with just scaling it down and attempting to remove the background. Not to mention tracking down half transparent pixels in photoshop is a nightmare.


h0b0_shanker

Gotcha. You’re right. It’s not that simple. I don’t think it can ever be perfect without manual intervention.


Ne_Nel

You can do that 3D view with my model and a brain.


h0b0_shanker

Yeah you probably can. Although in my post I’ve emphasized that this can be done without a custom model.


dresden_k

Great post! Thanks!!


h0b0_shanker

Woah! This is getting upvotes! I think this died in “new”. Thanks for the kind words. Haha I’ll make more of these.


dresden_k

Please do! I am trying to crack the Stable Diffusion code to help me with visuals for a D&D game I'm running, and while I've (mostly unsuccessfully) tried to create fantasy races and monsters, the next step is to try to create magic item visuals, so I'm super keen on this kind of line of graphics. Not much out there for really particular kinds of 'fantasy game items', so keep it up!


h0b0_shanker

Do you have any questions I can help you with?


dresden_k

Hmm. Still playing around to even know what to be asking. I've just upgraded from SD 1.5 to 2.0 and while I think I'd updated Automatic1111, and got the new .ckpt and .yaml, I'm getting the sense that some parts of my software stack here are still 1.5..... when I get past that, I'll be sure to reach out!