sunset1995 / HorizonNet

Pytorch implementation of HorizonNet: Learning Room Layout with 1D Representation and Pano Stretch Data Augmentation.
https://sunset1995.github.io/HorizonNet/
MIT License
321 stars 88 forks source link

Need output as .gltf format #32

Open PriteshGujarati opened 3 years ago

PriteshGujarati commented 3 years ago

Hey, Is there anyway to get output as .gltf file so I can load the model in other program.

sunset1995 commented 3 years ago

The layout_viewer.py is able to convert layout txt to ply.
Example:

python layout_viewer.py --img YOUR_EQUIRECT_IMG.png --layout LAYOUT.txt --ignore_ceiling --out LAYOUT.ply

There may be some tools can convert the mesh stored in ply to the format you want.
Good luck.