Skip to content

large glb file #152

@monajalal

Description

@monajalal

How to open the large glb? Is there better suggestions for seeing the rendering?

(mapanything) mona@ada:~/3d_reconstruction/3d-recon-baselines/third_party/map-anything$ python scripts/demo_images_only_inference.py \
  --image_folder /home/mona/3d_reconstruction/data/mapanything_fullres500/images_500 \
  --viz \
  --save_glb \
  --output_path /home/mona/3d_reconstruction/data/run_03_downAisle/map_anything_cam0_500.glb

I ran this on 500 images and got the following glb:

[15:27:13] mona@DOS:~$ ls map_anything_cam0_500.glb
-rw-rw-r-- 1 mona mona 2.4G Mar  4 14:46 map_anything_cam0_500.glb

I tried to also convert it to obj and it didn't work. Blender also failed.

Also, is there a way to include image intrinsic to improve quality?

Image
15:14:16] mona@DOS:~/glb_view/map_anything_cam0_500$ assimp export ~/map_anything_cam0_500.glb ~/map_anything_cam0_500.obj
param = /home/mona/map_anything_cam0_500.obj
assimp export: select file format: 'obj' (Wavefront OBJ format)
Launching asset import ...           OK
Validating postprocessing flags ...  OK
-0 %
50 %
Importing file ...                   OK 
   import took approx. 6.47566 seconds

Launching asset export ...           OK
jkKilled

[2026-03-04 15:25:23 EST]

I converted it to ply but now after opening in meshlab I can barely rotate or zoom. Is there a way I could look at it like how we do for a splat.ply in superplat nodejs?

Image
-rw-rw-r--   1 mona mona 2.4G Mar  4 14:46  map_anything_cam0_500.glb

-rw-rw-r--   1 mona mona 6.4G Mar  4 15:42  map_anything_cam0_500.ply

even trying to simplify the mesh by quadratic decimation and setting number of faces from 125M to 5M isn't helping as it crashes

Image

eventually converted to 5M faces but the quality is very bad.

Please suggest how to get inference on my 500 images such that a reasonable supersplat friendly interactive end product can be produced.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions