gradio-app/gradio

Model3D pointcloud data format support (not display mode)

Open

#8826 aperta il 18 lug 2024

Vedi su GitHub
 (12 commenti) (0 reazioni) (0 assegnatari)Python (3072 fork)batch import
buggood first issuetoinvestigate

Metriche repository

Star
 (40.050 star)
Metriche merge PR
 (Merge medio 2g 8h) (71 PR mergiate in 30 g)

Descrizione

  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.
For gr.Model3D, can show the 3d data only with face information without face data can not show.

ex for .obj following data with face data show normal, but without "f" data can not show

Created by Open3D 
object name: output_mesh
number of vertices: 272009
number of triangles: 256444
v -0.977078 -0.860674 1.852 0.337255 0.333333 0.407843
...
f 210423//210423 211058//211058 211056//211056
...

Describe the solution you'd like
Can gr.Model3D support PointCload data directly ex for .obj data only contain v (without face ) ex for .ply only x,y,z + r,g,b support directly like following format binary_little_endian 1.0 comment Created by Open3D element vertex 272009 property double x property double y property double z property uchar red property uchar green property uchar blue end_header

Additional context
Thank your amazing job!!

Guida contributor