Commit 125a43db by Kai Westerkamp

point cloud visible

parent ffd001c1
...@@ -364,6 +364,8 @@ void ATilesetActor::parsePointCloudTile(const TArray<uint8> data, FTile * tile) ...@@ -364,6 +364,8 @@ void ATilesetActor::parsePointCloudTile(const TArray<uint8> data, FTile * tile)
for (size_t i = 0; i < instances_length; i+=1) for (size_t i = 0; i < instances_length; i+=1)
{ {
Points->Add(FLinearColor(*((float*) pos), *((float*)(pos+4)), *((float*)(pos +8)), 1.0f)); Points->Add(FLinearColor(*((float*) pos), *((float*)(pos+4)), *((float*)(pos +8)), 1.0f));
//UE_LOG(TILES, Warning, TEXT("%s"),*Points->Last().ToString());
pos += 12; pos += 12;
} }
for (size_t i = 0; i < fill; i += 1) for (size_t i = 0; i < fill; i += 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment