Skip to content

Commit

Permalink
Convert lathe textures to dds
Browse files Browse the repository at this point in the history
Flipping isn't done yet, but since the textures are flat, it doesn't
matter yet.
  • Loading branch information
taniwha committed Aug 27, 2020
1 parent b864e99 commit d315aa0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
3 changes: 2 additions & 1 deletion GameData/ExtraplanetaryLaunchpads/Parts/Lathe/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*.blend1
*.cfg
*.dds
*.mu
*.png
*.cfg
17 changes: 14 additions & 3 deletions GameData/ExtraplanetaryLaunchpads/Parts/Lathe/Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
LATHE = \
Lathe.png \
Lathe.cfg \
Lathe.mu \
Lathe.png \
Lathe_NRM.png \
$e

all: ${LATHE}
LATHE_DDS = \
Lathe.dds \
Lathe_NRM.dds \
$e

all: ${LATHE} ${LATHE_DDS}

Lathe.dds: Lathe.png
nvcompress -bc1 -alpha -color $< $@
Lathe_NRM.dds: Lathe_NRM.png
nvcompress -bc3 -alpha -normal $< $@

install: all
#nothing to do as GameData makefile will take care of installation
Expand All @@ -13,6 +24,6 @@ ${LATHE} : Lathe.blend Lathe.cfg.in
blender -noaudio --background Lathe.blend -P ../../../../tools/mass-export.py

clean:
rm -f ${LATHE}
rm -f ${LATHE} ${LATHE_DDS}

.PHONY: all clean install
4 changes: 2 additions & 2 deletions GameData/files
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ ExtraplanetaryLaunchpads/Parts/LandingPad/LandingPad.mu
ExtraplanetaryLaunchpads/Parts/LandingPad/LandingPad.png
ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.cfg
ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.mu
ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.png
ExtraplanetaryLaunchpads/Parts/Lathe/Lathe_NRM.png
ExtraplanetaryLaunchpads/Parts/Lathe/Lathe.dds
ExtraplanetaryLaunchpads/Parts/Lathe/Lathe_NRM.dds
ExtraplanetaryLaunchpads/Parts/Magnetometer/Magnetometer.png
ExtraplanetaryLaunchpads/Parts/Magnetometer/model.mu
ExtraplanetaryLaunchpads/Parts/Magnetometer/part.cfg
Expand Down

0 comments on commit d315aa0

Please sign in to comment.