colored .ply appearing very red

Feel free to ask any question here
Post Reply
foobarbecue
Posts: 16
Joined: Thu Mar 13, 2014 7:20 pm

colored .ply appearing very red

Post by foobarbecue »

I've got .ply output files from VisualSFM / CMVS, and they import nicely into CloudCompare except for one thing: the point colors have a strong red cast. The .ply file is binary with a header that looks like:

ply
format binary_little_endian 1.0
comment VCGLIB generated
element vertex 2633629
property float x
property float y
property float z
property float nx
property float ny
property float nz
property uchar red
property uchar green
property uchar blue
property uchar alpha
element face 0
property list uchar int vertex_indices
end_header

The same .ply has the correct colors when viewed in VisualSFM or Meshlab. Any ideas?

Thanks,
Aaron
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: colored .ply appearing very red

Post by daniel »

Strange indeed. Can you send me the file? (cloudcompare [at] danielgm.net)
Daniel, CloudCompare admin
foobarbecue
Posts: 16
Joined: Thu Mar 13, 2014 7:20 pm

Re: colored .ply appearing very red

Post by foobarbecue »

Sorry this took a while, but I got around to uploading the .ply . It's at http://files.foobarbecue.com/unbeatable ... n-0000.zip . I've not got quite a few of these produced by VisualSFM, and all are loading red in CloudCompare. It must be some setting I've messed with in CC...?
foobarbecue
Posts: 16
Joined: Thu Mar 13, 2014 7:20 pm

Re: colored .ply appearing very red

Post by foobarbecue »

Duh, I had a Custom Light which was colored red.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: colored .ply appearing very red

Post by daniel »

Ah! This is why... I was about to answer that I couldn't reproduce the bug ;)
Daniel, CloudCompare admin
younell
Posts: 4
Joined: Tue May 20, 2014 12:38 pm

Re: colored .ply appearing very red

Post by younell »

Hello Daniel,
I face the same problem and I'm wondering how I could get rid of this Custom red Color in order to use this points with cloudcompare.
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: colored .ply appearing very red

Post by daniel »

If it's the same problem, then open the "Display settings" dialog (see the Display menu) and click on the 'Reset' button and eventually the 'Ok' button.
Daniel, CloudCompare admin
Post Reply