OpenDroneMap / Obj2Tiles

Converts OBJ files to OGC 3D tiles by performing splitting, decimation and conversion
GNU Affero General Public License v3.0
214 stars 62 forks source link

Keep colors on obj objects with vertex colors ? #43

Open WillWarti opened 1 year ago

WillWarti commented 1 year ago

First of all, thank you for taking the time to report an issue.

Before you continue, make sure you are in the right place. Please open an issue only to report faults and bugs. For questions and discussion please open a topic on http://community.opendronemap.org/c/opendronemap.

Please use the format below to report bugs and faults.


What is the problem?

Vertices colors are not exported, e.g when a vertex is specified with x/y/z and r/g/b components in obj file by writing vertex line as follow "v x y z r g b", r/g/b vector is ignored after exporting.

What should be the expected behavior?

Would it be possible to keep vertex colors ?

How can we reproduce this?

Run a obj file that have vertices with colors. box.zip See attached example.

AviralPadlia commented 8 months ago

I am also facing the same issue. Do let me know if you find any solution for that.

jingyangking commented 5 months ago

First of all, thank you for taking the time to report an issue.

Before you continue, make sure you are in the right place. Please open an issue only to report faults and bugs. For questions and discussion please open a topic on http://community.opendronemap.org/c/opendronemap.

Please use the format below to report bugs and faults.

What is the problem?

Vertices colors are not exported, e.g when a vertex is specified with x/y/z and r/g/b components in obj file by writing vertex line as follow "v x y z r g b", r/g/b vector is ignored after exporting.

What should be the expected behavior?

Would it be possible to keep vertex colors ?

How can we reproduce this?

Run a obj file that have vertices with colors. box.zip See attached example.

do you solved it?i'm facing this problem,too

WillWarti commented 5 months ago

Not yet, unfortunately !

jingyangking commented 5 months ago

Thank you for your reply. Perhaps you can try #py3dtiles, #3d-tiles-tool, or #objTo3d-tiles