tentone / nunuStudio

Web powered cross-platform 3D, WebXR game engine.
https://nunustudio.org
MIT License
2.11k stars 315 forks source link

Option in the editor to autoResize to certain power of two values the spritesheets and textures #273

Open jfa257 opened 5 years ago

jfa257 commented 5 years ago

Hi,

Turns out I'm working in nunustudio, and I'm having an issue: If I create a low res texture, or a very high one, I have to delete the resource and reimport with a different size, which is a slow and tedious procedure. I propose, that you may create an editor option to enforce either auto resolution if a texture goes beyond certain value, let's say 2048x2048, or a general memory budget counter, showing a warning message if you go above on memory (this would be calculated taking all the imported assets so far) so the user knows exactly when in the construction process, a very heavy resource is being added, and can address the issue doing the manual downsizing, and not having to wait to see the app low performance so then, try to find what is the resource(s) causing this.

So, any option similar to these ideas would be highly appreciated! :) Thanks for your efforts in advance.

tentone commented 5 years ago

Hi

This is a bit of a complicated topic for different hardware configurations size of a texture can have a big impact or none at all. Its a bit hard to define a "good performance" threshold.

What i can do i implement texture resizing tools inside of the editor to allow easier resize of texture without the need to resize them extenally and reimport them.

Would that be helpfull?

Thanks a lot!

jfa257 commented 5 years ago

Yes!

On Sun, Mar 10, 2019, 6:43 AM Tentone notifications@github.com wrote:

Hi

This is a bit of a complicated topic for different hardware configurations size of a texture can have a big impact or none at all. Its a bit hard to define a "good performance" threshold.

What i can do i implement texture resizing tools inside of the editor to allow easier resize of texture without the need to resize them extenally and reimport them.

Would that be helpfull?

Thanks a lot!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/tentone/nunuStudio/issues/273#issuecomment-471276320, or mute the thread https://github.com/notifications/unsubscribe-auth/AQLGla_ly966zlRIbG8FrohJKyixzPVbks5vVOG9gaJpZM4blwHN .