[MOD] Pure Vanilla Extract

A curated forum for approved mods. Users are unable to create new topics in this forum but can reply to existing topics. Please message a moderator to have your mod moved into this forum area.
Post Reply
User avatar
MasonFace
Posts: 456
Joined: Tue Nov 27, 2018 7:28 pm
Location: Tennessee, USA
Contact:

Re: [MOD] Pure Vanilla Extract

Post by MasonFace » Sat May 23, 2020 2:27 am

I've got a quick question for anyone who can answer:

Some sprites seem to have very odd dimensions. I'm looking at 200_20-0 at the moment and it is 36x54 pixels. The upscaled version comes out to 288x432.

The way I see it, I have three options:
  • Keep these non-power-of-two dimensions and maintain it's proportions.
  • Rescale the sprite to something like 256x512 and throw off the proportions a little, but get power-of-two dimensions.
  • Pad the canvas size with more transparent pixels so that the dimensions are 512x512 and it maintains its dimensions proportions, but increases texture size and overdraw.
Which of these options is the best?

From what I remember, we didn't change any of the MOBs frames dimensions to be power-of-two and I don't think we saw any issues from it.
200_20-0_Upscaled.png
200_20-0_Upscaled.png (132.48 KiB) Viewed 115 times
Last edited by MasonFace on Sat May 23, 2020 1:20 pm, edited 1 time in total.

User avatar
King of Worms
Posts: 3161
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: [MOD] Pure Vanilla Extract

Post by King of Worms » Sat May 23, 2020 7:25 am

MasonFace wrote:
Sat May 23, 2020 2:27 am
I've got a quick question for anyone who can answer:

Some sprites seem to have very odd dimensions. I'm looking at 200_20-0 at the moment and it is 36x54 pixels. The upscaled version comes out to 288x432.

The way I see it, I have three options:
  • Keep these non-power-of-two dimensions and maintain it's proportions.
  • Rescale the sprite to something like 256x512 and throw off the proportions a little, but get power-of-two dimensions.
  • Pad the canvas size with more transparent pixels so that the dimensions are 512x512 and it maintains its dimensions, but increases texture size and overdraw.
Which of these options is the best?

From what I remember, we didn't change any of the MOBs frames dimensions to be power-of-two and I don't think we saw any issues from it.

200_20-0_Upscaled.png
Theres nothing wrong with 288x432
As long as both dimensions can be divided by 4 without the result having decimal numbers

Disable mip mapping in inspector

User avatar
MasonFace
Posts: 456
Joined: Tue Nov 27, 2018 7:28 pm
Location: Tennessee, USA
Contact:

Re: [MOD] Pure Vanilla Extract

Post by MasonFace » Sat May 23, 2020 1:27 pm

That's what I was figuring was the case. Thanks for confirming!

Post Reply