Skip to content

LiuLinyun/torch_psdr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

TorchPSDR is a physically based renderer.

Installation

Requirements

  • Linux (Only Linux is supported now)
  • python 3.8, 3.9 or 3.10
  • pytorch (cuda based)

To run example, it's also need to install following libraries:

  • imageio
  • pywavefront_uv (conda install -c luling pywavefront_uv)

Installing prebuilt binaries with conda

conda install -c luling torch_psdr

Compiling

Before compiling this project, it's required to install:

  • bazel >= 5.0
  • clang >= 14.0
  • nvidia cuda
  • Optix

Then, set environment viriable CUDA_PATH and OPTIX_PATH in .bazelrc or specify them in build shell.

Finally, run

bazel build torch_psdr

Please keep Internet connection during building this project, because it will fetch dependicies from internet

License

MIT

Tutorials

  1. Hello Torch PSDR
  2. Optimize Texture
  3. Optimize Object Location
  4. Optimize Mesh Vertices and Texture

API Reference

About

A physically based differentiable renderer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published