nv-tlabs / nglod

Neural Geometric Level of Detail: Real-time Rendering with Implicit 3D Shapes (CVPR 2021 Oral)
MIT License
872 stars 95 forks source link

Renderer app is broken #14

Closed orperel closed 3 years ago

orperel commented 3 years ago

The sdf_renderer.py example from the README.md is currently broken, seems like the app is outdated compared to the training example in main.py.

In particular, Renderer() requires a tracer arg (and missing from lib.tracer import * at the top, so SphereTracer can be constructed).

There are other issues beyond that (Renderer.eval() is called, but the class is not a torch module).

I'd use the C++ renderer, but I'm looking for a non default setting (3 LODs) which is not currently supported by the real time renderer as far as I understand.

Are there any workarounds or easy fixes around that?

Thanks in advance!

orperel commented 3 years ago

See PR which attempts to fix these issues: https://github.com/nv-tlabs/nglod/pull/15