-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Currently, we copy both PNG and DDS files to the website and library builds.
This is probably no longer necessary, as X-Plane will prefer DDS unless texture compression is off, and even then it gives good results. However, we still need PNG for mobile 3D previews on the website.
So, once #62 is completed, perhaps the logic becomes this:
- If we have a DDS available, we copy it and not the PNG to the library build.
- If we only have a PNG, copy it to the library build.
- Only copy the PNG to the AWS build.
To do this, we will need to ensure there are PNGs for every texture, including those that only have DDS versions at the moment.
If either DDS or PNG textures are missing, rather than both at the moment, this becomes a failure case.
Unfortunately we currently build a single library folder then sync the whole thing up to AWS. Will need to:
- Create separate library and AWS build folders
- Only copy one of DDS, PNG to library build folder
- Only copy PNG to AWS build folder (will also need
.obj,.fac,.foretc.) - Sync AWS build folder to AWS.