meshlab xyzrgb import

3DReshaper, FROST, MeshLab, VRMesh, ZBrush & 3DCoat, CloudCompare, Etc
Post Reply
User avatar
shankskill
I have made <0 posts
I have made <0 posts
Posts: 4
Joined: Thu Jun 26, 2014 8:40 am
Full Name: David Shankskill
Company Details: self-employed
Company Position Title: self-employed
Country: UK
Linkedin Profile: Yes

meshlab xyzrgb import

Post by shankskill »

I'm trying to create textured low-poly meshes of scan data from Scene using Meshlab.

I have exported from Scene as .xyz, and the file appears to include colour data:

0.944600 -1.794700 6.050800 91.000000 76.000000 121.000000
0.910900 -1.789300 5.992900 105.000000 82.000000 116.000000
1.099600 -1.803400 6.042500 95.000000 80.000000 130.000000
1.078200 -1.820600 6.055800 84.000000 74.000000 105.000000

When importing the .xyz file into Meshlab all the points are grey. I have been following some guides to texturing a mesh from the original points, but without success, and I'm wondering whether Meshlab is reading the colour data – it certainly isn't showing it!

Help!

User avatar
Matt Young
Global Moderator
Global Moderator
Posts: 3929
Joined: Fri Nov 30, 2007 3:03 pm
Full Name: Matt Young
Company Details: Baker Hicks
Company Position Title: CAD-BIM Lead
Country: UK
Linkedin Profile: No
Has thanked: 45 times
Been thanked: 36 times

Re: meshlab xyzrgb import

Post by Matt Young »

I'm no expert with Meshlab but Noticed in that example that the RGB Values have the same number of decimal places as the coordinates. I don't think the RGB values need the decimals and should be separated by a coma? just a thought.

I just found this post which might offer more help than my guessing...
http://www.laserscanningforum.com/forum ... 3&start=10
If you don't see that there is nothing, then you are kidding yourself.

User avatar
shankskill
I have made <0 posts
I have made <0 posts
Posts: 4
Joined: Thu Jun 26, 2014 8:40 am
Full Name: David Shankskill
Company Details: self-employed
Company Position Title: self-employed
Country: UK
Linkedin Profile: Yes

Re: meshlab xyzrgb import

Post by shankskill »

Indeed, maybe they're not even RGB values. Could they be normals? I wouldn't have thought they'd have zeroes after the decimals, but what do I know? Maybe I'll check I'm exporting correctly from Scene first.

max72
V.I.P Member
V.I.P Member
Posts: 715
Joined: Tue Feb 26, 2013 9:32 pm
Full Name: Massimo De Marchi
Company Details: Massimo De Marchi
Company Position Title: freelancer
Country: Italy
Skype Name: massimo_de_marchi
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: meshlab xyzrgb import

Post by max72 »

In my experience the best solution is to use cloud compare as a bridge.
In cloud compare you can import E57, and now faro files too (I have to test it..).
If you have a text file cloud compare allows you to decide what is every column.
In cloud compare you can fuse, subsample, and do a lot of nice things.
Then you can export to meshlab using a format more compatible with Meshlab, like PLY.

Massimo
ing. Massimo De Marchi - +39 347 32 17 049 - www.studiodemarchi.net

jha
I have made 10-20 posts
I have made 10-20 posts
Posts: 11
Joined: Mon Aug 19, 2013 2:08 pm
Full Name: Jacques Harvent
Company Details: Noomeo
Company Position Title: Research Engineer
Country: France
Linkedin Profile: Yes

Re: meshlab xyzrgb import

Post by jha »

Rename the extension .xyz to .txt. Then choose the x y z r g b option when importing the file.
meshlabtxt.png
Greetings,

jh
You do not have the required permissions to view the files attached to this post.

max72
V.I.P Member
V.I.P Member
Posts: 715
Joined: Tue Feb 26, 2013 9:32 pm
Full Name: Massimo De Marchi
Company Details: Massimo De Marchi
Company Position Title: freelancer
Country: Italy
Skype Name: massimo_de_marchi
Has thanked: 1 time
Been thanked: 3 times
Contact:

Re: meshlab xyzrgb import

Post by max72 »

Nice one!
Thanks,
Massimo
ing. Massimo De Marchi - +39 347 32 17 049 - www.studiodemarchi.net

User avatar
nfaino
I have made <0 posts
I have made <0 posts
Posts: 9
Joined: Tue Jan 05, 2016 4:56 pm
Full Name: Nic Faino
Company Details: JENSEN HUGHES -previously CASE Forensics
Company Position Title: Mechanical Engineer
Country: United States
Skype Name: nfaino
Linkedin Profile: Yes

Re: meshlab xyzrgb import

Post by nfaino »

Hi all,

This is exactly what I need, but I can't figure out how to get the Pre-Open Options to come up in Meshlab. Can someone help sort me out?

Thanks.

-Nic

Post Reply

Return to “Meshing Software”