提交 e2b34e98 编写于 作者: M Matt Pharr

Mention assimp support in README.md

上级 c04e27d7
......@@ -158,6 +158,23 @@ equi-area mapping); you can upgrade environment maps using
$ imgtool makeenv old.exr --outfile new.exr
```
Converting scenes to pbrt's file format
---------------------------------------
The best option for importing scenes to pbrt is to use
[assimp](https://www.assimp.org/), which as of January 21, 2021 includes
support for exporting to pbrt-v4's file format:
```bash
$ assimp export scene.fbx scene.pbrt
```
While the converter tries to convert materials to pbrt's material model,
some manual tweaking may be necessary after export. Furthermore, area
light sources are not always successfully detected; manual intervention may
be required for them as well. Use of pbrt's built-in support for
converting meshes to use the binary PLY format is also recommended after
conversion. (`pbrt --toply scene.pbrt > newscene.pbrt`).
Using pbrt on the GPU
---------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册