├── .gitignore ├── LICENSE ├── README.md ├── code ├── confs_sg │ └── default.conf ├── datasets │ └── scene_dataset.py ├── envmaps │ ├── envmap1.exr │ ├── envmap1.png │ ├── envmap1_sg_fit │ │ ├── log_im_100.png │ │ ├── tmp_envmap_100.exr │ │ └── tmp_lgtSGs_100.npy │ ├── envmap2.exr │ ├── envmap2.png │ ├── envmap2_sg_fit │ │ ├── log_im_100.png │ │ ├── tmp_envmap_100.exr │ │ └── tmp_lgtSGs_100.npy │ ├── envmap3.exr │ ├── envmap3.png │ ├── envmap3_sg_fit │ │ ├── log_im_100.png │ │ ├── tmp_envmap_100.exr │ │ └── tmp_lgtSGs_100.npy │ ├── fit_envmap_with_sg.py │ └── rotate_lightsg.py ├── evaluation │ └── eval.py ├── model │ ├── embedder.py │ ├── implicit_differentiable_renderer.py │ ├── loss.py │ ├── ray_tracing.py │ ├── sample_network.py │ ├── sg_envmap_convention.png │ ├── sg_envmap_material.py │ └── sg_render.py ├── training │ ├── exp_runner.py │ └── idr_train.py └── utils │ ├── general.py │ ├── plots.py │ ├── rend_util.py │ └── vis_util.py └── environment.yml /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/README.md -------------------------------------------------------------------------------- /code/confs_sg/default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/confs_sg/default.conf -------------------------------------------------------------------------------- /code/datasets/scene_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/datasets/scene_dataset.py -------------------------------------------------------------------------------- /code/envmaps/envmap1.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap1.exr -------------------------------------------------------------------------------- /code/envmaps/envmap1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap1.png -------------------------------------------------------------------------------- /code/envmaps/envmap1_sg_fit/log_im_100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap1_sg_fit/log_im_100.png -------------------------------------------------------------------------------- /code/envmaps/envmap1_sg_fit/tmp_envmap_100.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap1_sg_fit/tmp_envmap_100.exr -------------------------------------------------------------------------------- /code/envmaps/envmap1_sg_fit/tmp_lgtSGs_100.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap1_sg_fit/tmp_lgtSGs_100.npy -------------------------------------------------------------------------------- /code/envmaps/envmap2.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap2.exr -------------------------------------------------------------------------------- /code/envmaps/envmap2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap2.png -------------------------------------------------------------------------------- /code/envmaps/envmap2_sg_fit/log_im_100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap2_sg_fit/log_im_100.png -------------------------------------------------------------------------------- /code/envmaps/envmap2_sg_fit/tmp_envmap_100.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap2_sg_fit/tmp_envmap_100.exr -------------------------------------------------------------------------------- /code/envmaps/envmap2_sg_fit/tmp_lgtSGs_100.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap2_sg_fit/tmp_lgtSGs_100.npy -------------------------------------------------------------------------------- /code/envmaps/envmap3.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap3.exr -------------------------------------------------------------------------------- /code/envmaps/envmap3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap3.png -------------------------------------------------------------------------------- /code/envmaps/envmap3_sg_fit/log_im_100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap3_sg_fit/log_im_100.png -------------------------------------------------------------------------------- /code/envmaps/envmap3_sg_fit/tmp_envmap_100.exr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap3_sg_fit/tmp_envmap_100.exr -------------------------------------------------------------------------------- /code/envmaps/envmap3_sg_fit/tmp_lgtSGs_100.npy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/envmap3_sg_fit/tmp_lgtSGs_100.npy -------------------------------------------------------------------------------- /code/envmaps/fit_envmap_with_sg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/fit_envmap_with_sg.py -------------------------------------------------------------------------------- /code/envmaps/rotate_lightsg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/envmaps/rotate_lightsg.py -------------------------------------------------------------------------------- /code/evaluation/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/evaluation/eval.py -------------------------------------------------------------------------------- /code/model/embedder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/embedder.py -------------------------------------------------------------------------------- /code/model/implicit_differentiable_renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/implicit_differentiable_renderer.py -------------------------------------------------------------------------------- /code/model/loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/loss.py -------------------------------------------------------------------------------- /code/model/ray_tracing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/ray_tracing.py -------------------------------------------------------------------------------- /code/model/sample_network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/sample_network.py -------------------------------------------------------------------------------- /code/model/sg_envmap_convention.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/sg_envmap_convention.png -------------------------------------------------------------------------------- /code/model/sg_envmap_material.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/sg_envmap_material.py -------------------------------------------------------------------------------- /code/model/sg_render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/model/sg_render.py -------------------------------------------------------------------------------- /code/training/exp_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/training/exp_runner.py -------------------------------------------------------------------------------- /code/training/idr_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/training/idr_train.py -------------------------------------------------------------------------------- /code/utils/general.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/utils/general.py -------------------------------------------------------------------------------- /code/utils/plots.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/utils/plots.py -------------------------------------------------------------------------------- /code/utils/rend_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/utils/rend_util.py -------------------------------------------------------------------------------- /code/utils/vis_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/code/utils/vis_util.py -------------------------------------------------------------------------------- /environment.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kai-46/PhySG/HEAD/environment.yml --------------------------------------------------------------------------------