Unreal Engine 5 - messed colours

Post any marterial related the future technology of laser scanning.
Post Reply
Seweryn
I have made <0 posts
I have made <0 posts
Posts: 5
Joined: Sun Jan 06, 2019 1:00 pm
4
Full Name: Seweryn Urbanski
Company Details: Lubim
Company Position Title: Owner
Country: Poland
Linkedin Profile: Yes
Been thanked: 1 time

Unreal Engine 5 - messed colours

Post by Seweryn »

Hello,

I imported the point cloud into Unreal Engine, but the colours are messed as if the columns were read wrongly. According to this topic on the Unreal Engine forum: https://forums.unrealengine.com/t/lidar ... ors/903981
I am not the only one with this problem.

Does anybody know how to solve this issue? I noticed that the unreal point cloud plugin forum looks quite abandoned: https://forums.unrealengine.com/t/lidar ... oud/157264

Image
nyda
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Wed Jul 11, 2018 8:08 pm
4
Full Name: Giovanni Scocchera
Company Details: New York Design Architects
Company Position Title: New York Design Architects
Country: United States
Has thanked: 18 times

Re: Unreal Engine 5 - messed colours

Post by nyda »

Seweryn wrote: Wed May 03, 2023 11:22 am Hello,

I imported the point cloud into Unreal Engine, but the colours are messed as if the columns were read wrongly. According to this topic on the Unreal Engine forum: https://forums.unrealengine.com/t/lidar ... ors/903981
I am not the only one with this problem.

Does anybody know how to solve this issue? I noticed that the unreal point cloud plugin forum looks quite abandoned: https://forums.unrealengine.com/t/lidar ... oud/157264

Image
I didn't try yet, but I would say that blue and red are inverted.
Did you reach out Unreal support?

Gio
User avatar
smacl
Global Moderator
Global Moderator
Posts: 1206
Joined: Tue Jan 25, 2011 5:12 pm
12
Full Name: Shane MacLaughlin
Company Details: Atlas Computers Ltd
Company Position Title: Managing Director
Country: Ireland
Linkedin Profile: Yes
Location: Ireland
Has thanked: 517 times
Been thanked: 542 times
Contact:

Re: Unreal Engine 5 - messed colours

Post by smacl »

nyda wrote: Wed May 03, 2023 6:08 pmI didn't try yet, but I would say that blue and red are inverted.
Looks very likely to be the issue. In scanning and photogrammetry we typically see colour as RGB, in many computing SDKs it is BGR, e.g. in OpenCV
Seweryn
I have made <0 posts
I have made <0 posts
Posts: 5
Joined: Sun Jan 06, 2019 1:00 pm
4
Full Name: Seweryn Urbanski
Company Details: Lubim
Company Position Title: Owner
Country: Poland
Linkedin Profile: Yes
Been thanked: 1 time

Re: Unreal Engine 5 - messed colours

Post by Seweryn »

Thank you @nyda and @smacl for your answers.

As fas as I know, there is no Unreal support except for the forums which are abandoned / nobody cares since my post there is 3 weeks old.
Looks very likely to be the issue. In scanning and photogrammetry we typically see colour as RGB, in many computing SDKs it is BGR, e.g. in OpenCV
I suspected something similar: that Unreal doesn't know about the intensity, and therefore skips one column. Is it possible to check that in Cloud Compare?
badam
V.I.P Member
V.I.P Member
Posts: 718
Joined: Tue May 11, 2021 5:36 pm
2
Full Name: Adam Berta
Company Details: InnoScan 3D Hungary Kft
Company Position Title: unknown
Country: Hungary
Linkedin Profile: No
Has thanked: 36 times
Been thanked: 221 times
Contact:

Re: Unreal Engine 5 - messed colours

Post by badam »

Well you could try to flip rgb to bgr in cloud compare. Just export colors as scalar field flip them and then create colors based on the flipped scalar fields.
Seweryn
I have made <0 posts
I have made <0 posts
Posts: 5
Joined: Sun Jan 06, 2019 1:00 pm
4
Full Name: Seweryn Urbanski
Company Details: Lubim
Company Position Title: Owner
Country: Poland
Linkedin Profile: Yes
Been thanked: 1 time

Re: Unreal Engine 5 - messed colours

Post by Seweryn »

Thank you @badam for your suggestion.

I was trying to do what you said but had some trouble doing it properly in Cloud Compare. While going around the obstacles, I discovered that Unreal Engine probably has a problem with SOME e57 files.

The e57 file imported directly into UE --> wrong colours
The same file brought to CC and exported as txt file -->correct colours.

All that happened automatically, without me changing any columns.

At that point it would be easy to say that UE has troubles with all e57 files, but I imported a different point cloud and that one was read without issues.
You do not have the required permissions to view the files attached to this post.
gnuiorc_mda
I have made 60-70 posts
I have made 60-70 posts
Posts: 60
Joined: Thu Mar 07, 2019 2:55 pm
4
Full Name: Giovanni Scocchera
Company Details: Meridian Design Associates
Company Position Title: Designer
Country: United States
Has thanked: 38 times
Been thanked: 4 times

Re: Unreal Engine 5 - messed colours

Post by gnuiorc_mda »

Seweryn wrote: Sun May 07, 2023 3:47 pm Thank you @badam for your suggestion.

I was trying to do what you said but had some trouble doing it properly in Cloud Compare. While going around the obstacles, I discovered that Unreal Engine probably has a problem with SOME e57 files.

The e57 file imported directly into UE --> wrong colours
The same file brought to CC and exported as txt file -->correct colours.

All that happened automatically, without me changing any columns.

At that point it would be easy to say that UE has troubles with all e57 files, but I imported a different point cloud and that one was read without issues.
Thank you Seweryn!
I tried yesterday and I had the same problem as you.
I will try tomorrow with your solution ;)

Gio
nyda
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Wed Jul 11, 2018 8:08 pm
4
Full Name: Giovanni Scocchera
Company Details: New York Design Architects
Company Position Title: New York Design Architects
Country: United States
Has thanked: 18 times

Re: Unreal Engine 5 - messed colours

Post by nyda »

gnuiorc_mda wrote: Mon May 08, 2023 1:46 am ...
I will try tomorrow with your solution ;)
It works!
The only issue is that the txt file is 3 times larger than the .e57 :roll:

Gio
badam
V.I.P Member
V.I.P Member
Posts: 718
Joined: Tue May 11, 2021 5:36 pm
2
Full Name: Adam Berta
Company Details: InnoScan 3D Hungary Kft
Company Position Title: unknown
Country: Hungary
Linkedin Profile: No
Has thanked: 36 times
Been thanked: 221 times
Contact:

Re: Unreal Engine 5 - messed colours

Post by badam »

if i recall correctly i used once unreal engine with laz point clouds and it was usable. And that is the most storage efficient file format but keep in mind that it can be a lossy compression it depends on your precision set during conversion/saving.
Post Reply

Return to “Future Technology”