chunky-dev / chunky

A path tracer to create realistic images of your Minecraft worlds.
https://chunky-dev.github.io/docs
GNU General Public License v3.0
637 stars 76 forks source link

Custom texture referencing in scene #1652

Open ShirleyNekoDev opened 9 months ago

ShirleyNekoDev commented 9 months ago

A scene can use user provided texture files e.g. for the sky texture. These files can either be in the scene directory or somewhere else in the file system (absolute path). To make it easier to copy a scene to a different computer, it would be helpful to have these files in the scene directory. On the downside, this could lead to duplicate files e.g. when using large skymaps. I suggest to add UI indicators besides the custom file controls that show the status of the file (embedded/absolute) and a button to embed (copy into scene directory) the file. The next step after that could be to create a symlink in the scene directory to the external file and only allow embedded scene files in the future.