'Texture Atlas' and uniform scaling
Posted: 23 Nov 2015, 02:06
Up until now I used separate images for my project and all the image scaling worked as expected. Since I'm nearing completion I wanted to switch to a kind of 'texture atlas' as suggested by NoesisGUI on this page.
I starting exporting a sprite sheet with the also suggested Texture Packer. Unfortunaly I have trouble scaling them uniformly in WPF/NoesisGUI. I think I tried every possible combination of the ImageBrush's Stretch mode and the Rectangle's Stretch mode but none works the way I hoped it would.
I think it would work if the sprites would have a sqared size. But that would also waste lots of space on the sprite sheet.
So what's the suggested solution to this?
I starting exporting a sprite sheet with the also suggested Texture Packer. Unfortunaly I have trouble scaling them uniformly in WPF/NoesisGUI. I think I tried every possible combination of the ImageBrush's Stretch mode and the Rectangle's Stretch mode but none works the way I hoped it would.
I think it would work if the sprites would have a sqared size. But that would also waste lots of space on the sprite sheet.
So what's the suggested solution to this?