THU-luvision / XScale-NVS

The official implementation of the CVPR'24 paper titled "XScale-NVS: Cross-Scale Novel View Synthesis with Hash Featurized Manifold".
MIT License
103 stars 6 forks source link

How to make obj file in custom datasets? #1

Closed iamblitzcrank closed 3 months ago

iamblitzcrank commented 3 months ago

Hello, I'm trying to process this code, however, I cannot make obj file of my custom datasets. I'm using Tanks&Temples, NeRF-synthetic, mipnerf360 dataset, but there is no obj file. Could you explain more details how to make obj file?

ansj11 commented 3 months ago

I am using colmap dataset, but also got an error "ValueError: string is not a file: data/2802/1.obj". Do you have solved the problem?

GuangyuWang99 commented 3 months ago

Hi @iamblitzcrank @ansj11 ,

Sorry for the confusion. The input mesh can be any format supported by trimesh, including .obj, .ply, etc. We have added a corresponding config modification in the latest commit.

For example, the default mesh reconstruction from colmap is meshed-poisson.ply. In this case, please set the meshName (L105 in config/parameter.py) as meshed-poisson.ply and this will probably work.

GuangyuWang99 commented 3 months ago

Hello, I'm trying to process this code, however, I cannot make obj file of my custom datasets. I'm using Tanks&Temples, NeRF-synthetic, mipnerf360 dataset, but there is no obj file. Could you explain more details how to make obj file?

These datasets may only contain multi-view images (and colmap sparse reconstruction). We need to perform dense multi-view stereo and mesh reconstruction to get the mesh for each scene, for which agisoft metashape or COLMAP are strongly recommoned. For more details, please refer to the Multi-view 3D reconstruction (A.K.A. Photogrammetry) session in the README.

iamblitzcrank commented 3 months ago

I'll check about it. Thanks!