This is a C Model of instant-ngp. All modules are implemented by C++, only with Eigen
.
It's more convinient for translate this C Model to RTL code; besides, if you are interest in NGP's implementation, you can read this code.
Now, only an Lego model is supported. I will quickly inplement
.msgpack
loading The test data is too big. If you need it, please contact me.
- Edit
transform.py
's main part:load_msgpack({YOUR PATH})
, then you will find data indata/{NAME}/
- Then, edit the
main.cpp
'sNAME
variable to your data name.
Run xmake
to build the project. You may need install some package by input y
.
Then, Run ./Instant-NGP
to run the project.
Evaluate in NeRF-Synthetic Dataset
- Avg: 34.33
- chair: 35.76
- drums: 28.89
- ficus: 33.97
- hotdog: 39.00
- lego: 33.16
- materials: 33.14
- mic: 37.73
- ship: 32.97