GS-IR 项目使用教程

GS-IR 项目使用教程

GS-IR项目地址:https://gitcode.com/gh_mirrors/gs/GS-IR

1. 项目的目录结构及介绍

GS-IR/
├── assets/
├── gaussian_renderer/
├── gs-ir/
├── pbr/
├── scenes/
├── submodules/
├── utils/
├── clang-format
├── gitignore
├── LICENSE
├── README.md
├── baking.py
├── environment.yml
├── light_move.py
├── normal_eval.py
├── pyproject.toml
├── relight.py
├── relight_eval.py
├── render.py
├── shadow_map.py
├── train.py

目录介绍

  • assets/: 存放项目资源文件。
  • gaussian_renderer/: 高斯渲染器相关代码。
  • gs-ir/: GS-IR 核心代码。
  • pbr/: 基于物理的渲染相关代码。
  • scenes/: 场景文件。
  • submodules/: 子模块。
  • utils/: 工具类代码。
  • clang-format: 代码格式化配置文件。
  • gitignore: Git 忽略文件配置。
  • LICENSE: 项目许可证。
  • README.md: 项目说明文档。
  • baking.py: 烘焙相关脚本。
  • environment.yml: 环境配置文件。
  • light_move.py: 光照移动脚本。
  • normal_eval.py: 法线评估脚本。
  • pyproject.toml: Python 项目配置文件。
  • relight.py: 重新光照脚本。
  • relight_eval.py: 重新光照评估脚本。
  • render.py: 渲染脚本。
  • shadow_map.py: 阴影映射脚本。
  • train.py: 训练脚本。

2. 项目的启动文件介绍

启动文件

  • render.py: 主渲染脚本,用于启动渲染过程。

使用方法

python render.py

3. 项目的配置文件介绍

配置文件

  • environment.yml: 环境配置文件,用于配置项目所需的依赖和环境。
  • pyproject.toml: Python 项目配置文件,包含项目元数据和构建系统要求。

配置文件内容示例

environment.yml
name: gs-ir
channels:
  - defaults
dependencies:
  - python=3.8
  - numpy
  - scipy
  - matplotlib
  - ...
pyproject.toml
[tool.poetry]
name = "GS-IR"
version = "0.1.0"
description = "3D Gaussian Splatting for Inverse Rendering"
authors = ["Zhihao Liang <zhihao.liang@example.com>"]

[tool.poetry.dependencies]
python = "^3.8"
numpy = "^1.20.0"
scipy = "^1.6.0"
matplotlib = "^3.3.0"

[tool.poetry.dev-dependencies]
pytest = "^6.2.0"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"

以上是 GS-IR 项目的基本使用教程,包括项目的目录结构、启动文件和配置文件的介绍。希望对您有所帮助!

GS-IR项目地址:https://gitcode.com/gh_mirrors/gs/GS-IR

  • 3
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

张俊领Tilda

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值