iveevi / ngf

Source code for the SIGGRAPH 2024 conference paper "Neural Geometry Fields for Meshes"
https://iveevi.github.io/ngf/index.html
73 stars 7 forks source link

UV Coordinates? #3

Open nassosyian opened 2 months ago

nassosyian commented 2 months ago

does the compression method retain UV coordinates?

If not, would it be possible to add support for them?

and if so what kind of effort would that require?

thanks in advance

iveevi commented 2 months ago

At the moment, NGFs do not compress UVs, though it is certainly possible to implement this (with an extra cost in storage). I may look into adding extensions which add properties like UVs, diffuse, roughness, etc.

For UVs the implementation would look something like:

If you want to implement this, you should take a look at source/train.py, source/ngf.py and source/render.py.

nassosyian commented 2 months ago

thanks for the fast reply