vkQuake2 icon indicating copy to clipboard operation
vkQuake2 copied to clipboard

[Request] PNG/TGA image support

Open AluminumHaste opened this issue 2 years ago • 1 comments

Are you willing to add support for texture formats such as PNG and TGA? If this is already support I apologize for not seeing it, but every texture pack I try to use does not work.

AluminumHaste avatar Apr 10 '22 19:04 AluminumHaste

Adding additional image formats is beyond the scope of this project but I'll leave this open in case someone wants to tackle this.

kondrak avatar Dec 01 '22 21:12 kondrak

@AluminumHaste any sample pack you could point me to for testing? I might have some time to have a look at this.

kondrak avatar Feb 28 '24 16:02 kondrak

@AluminumHaste any sample pack you could point me to for testing? I might have some time to have a look at this.

There's a few yeah. https://github.com/Calinou/quake2-neural-upscale (PNG) https://www.moddb.com/mods/quake-2-monster-skins/downloads/fraggers-hd-q2-monster-skins (TGA) http://forum.tastyspleen.net/quake/index.php?topic=9497.0 (PNG)

AluminumHaste avatar Feb 28 '24 16:02 AluminumHaste

I took a stab at implementing this - getting TGA/PNG to work is fairly trivial but then comes the entire host of things that need actual implementation and without which having support for another skin format has little sense. Example below:

image

This is a correctly rendered hi-res skin but clearly the end result is FAR from desired. What's missing is additional support for bump maps and host of other visual gizmos that make the new textures look appealing. Honestly - this is not worth the effort to add in vkQuake2, as there are mods out there who do it in a far better and cleaner way.

I was hoping I could get it working fairly quickly and that it would be a low hanging fruit - I don't have much time to invest in this project anymore, so it's mostly maintenance mode now and implementing additional map support would require more restructuring than I'm willing to spend my time on. Sorry :)

kondrak avatar Mar 01 '24 15:03 kondrak