Digital Paint Discussion Board
Development => Bugs, Feature Requests, and Feedback => Official Feature Votes => Topic started by: Eiii on January 05, 2008, 07:24:51 PM
-
May make texture packs a bit bulky, but hopefully the losslessness will be worth it.
-
It would be good to replace TGA's for 32bit (alpha channel) images, but I think jpeg's are still the way to go for solid textures. If you set the quality high enough (96%+), you can't really see the artifacts, especially on high-res textures.
http://dplogin.com/dplogin/featurevote/feature.php?id=10013
-
Just tried implementing this from R1GL, seems to have worked so far. I just need to test it on linux. Compiling zlib and libpng was the real work :P
-
ViciouZ u have too much time.
But thats great for the game, big thanks :D
Work an APNG file (http://en.wikipedia.org/wiki/Animated_Portable_Network_Graphics) too?
-
haha, PLZZZZ!!!!!!! lol. Animated textures... now there's coolness. The only problem is that if you animate one of, say a moving wall, would the wall actually move or would it just be a pic of a moving wall?
vic: those pics look SPEXXY!!!!
-
It would not move the wall. Animated textures are already supported using rscripts, and no, T3RR0R, it doesn't work with APNG or MNG images. It would display the first frame of APNG and not load MNG at all.
Having some problems compiling it on linux though, linking errors with libpng.
-
So, I've got your changes. Did you commit everything? It looks like the PNG reading code is there, but there's nothing to replace the file extension with "png" during the loading.
-
http://paintball2.cvs.sourceforge.net/viewvc/paintball2/paintball2/ref_gl/gl_image.c?r1=1.29&r2=1.30
Looks like it's there to me :/
-
Ah, that's weird. I swear I searched for ".png" and didn't find anything.
I've fixed the downloading code to check for PNG first, but CVS is acting up and won't let me commit.
Edit: There it goes.
-
I still need to get the CVS client working on one of my machines so I can start helping out. :(
-
how do you get the png file im the map?
-
Like each other texture