stujones11 / minetest-3d_armor

Visible player armor & wielded items for minetest
Other
56 stars 98 forks source link

Why so many preview images ? #147

Closed appgurueu closed 6 years ago

appgurueu commented 6 years ago

After looking at your code, I realized you are creating a preview image for certain parts in python? Why python(doesnt mean I dont like it) ? I mean, couldnt you just overlay the helmet images over the character preview using formspecs ? Please explain.

stujones11 commented 6 years ago

The python script is merely a convenience utility for those making texture packs or custom armor. It is not used by the mod so you can safely remove it if you wish :)

Q. Why python? A. Why not? I guess I could have used ImageMagick but figured more people would have python.

you just overlay the helmet images over the character preview using formspecs ?

The engine's built-in texture modifiers are not capable producing the preview images from the armor UV maps, even if they were it would be costly over time as the generated images are never deleted from memory.

appgurueu commented 6 years ago

Oh. That means the engine needs minor improvements. Didnt know that.