• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Bug Reports v
« Previous 1 … 9 10 11 12 13 … 35 Next »
[fixed] Couldn't reproduce at importing completely an .obj file that has vertex color

 
  • 0 Vote(s) - 0 Average
[fixed] Couldn't reproduce at importing completely an .obj file that has vertex color

tkbd
Offline

Senior Member

Posts: 451
Threads: 115
Joined: Nov 2012
#7
11-02-2018, 10:47 AM
ggaliens,dgud,Thank you for clarifying the circumstances.
I compiled the old wpc_ply module which originally existed in Wings3D, but it didn't work well surely.

Next, I thought of using the ply importer of the Manifoldlab version.
(I tried run wings3d_v2.0.0.2018-01-15---10-41.mlab by WINE on my Mac,but failed
So I put install into copy of wpc_ply.beam file in directly from Manifoldab version)

And,I got ply files distributed on the internet and a ply format file from some 3D softwares.
Although two problems occurred, I was able to edit the ply data and explore the cause.

In the header of ply format file,there are known as described as follows.
  • property uchar int vertex_index
  • property uchar int vertex_indices <-- Manifoldlab ply importer only support this type.


Originally "vertex_indices" is correct, but the file of "vertex_index" is already circulating in the world.
However both of Goxel and Magicavoxel export ply file that using "vertex_index" keyword Sad

FYI:
http://www.pcl-users.org/PLY-Header-Conf...35755.html
https://github.com/PointCloudLibrary/pcl/pull/579

Also, even if there is no WHITESPACE in each line's end of the vertex lists, reading fails.

correct
Code:
-11.0 7.80000 0.00 255 255 255
1 2 3 4
0 4 5 6
:
incorrect (import failed)
Code:
-11.0 7.80000 0.00 255 255 255
1 2 3 4
0 4 5 6
:

So I edited the ply file data manually and it was readable with ply importer.
(Ply mesh imoporting is OK,but I couldn't make sure the reproduction of the vertex color yet.)
If Manifoldlab ply importer can accommodate these differences, there will be more ply files that can be read.
I hope this can be used by default on Wings 3D.

I will continue to the test of importing/exporting ply file. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
[fixed] Couldn't reproduce at importing completely an .obj file that has vertex color - by tkbd - 10-26-2018, 10:20 PM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by ggaliens - 10-27-2018, 09:26 PM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by tkbd - 10-28-2018, 11:19 AM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by micheus - 10-28-2018, 04:00 PM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by ggaliens - 10-28-2018, 09:41 PM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex color. - by dgud - 10-29-2018, 08:38 AM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by tkbd - 11-02-2018, 10:47 AM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by tkbd - 11-08-2018, 09:13 AM
RE: Couldn't reproduce at importing completely an "obj" file that has vertex... - by micheus - 11-20-2018, 11:41 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode