From 8be1f5730ccf874253b1edee3a21dc674c8bceb9 Mon Sep 17 00:00:00 2001 From: Norbert Prokopiuk Date: Fri, 10 Apr 2026 13:20:16 +0200 Subject: [PATCH 1/2] Pointcloud Gem ported to 2605 Signed-off-by: Norbert Prokopiuk --- Gems/Pointcloud/Code/CMakeLists.txt | 1 + .../Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h | 3 ++- Gems/Pointcloud/gem.json | 2 +- README.md | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Gems/Pointcloud/Code/CMakeLists.txt b/Gems/Pointcloud/Code/CMakeLists.txt index c023c182..8f5b6fc2 100644 --- a/Gems/Pointcloud/Code/CMakeLists.txt +++ b/Gems/Pointcloud/Code/CMakeLists.txt @@ -61,6 +61,7 @@ ly_add_target( AZ::AzCore AZ::AzFramework Gem::Atom_RPI.Public + Gem::Atom_RHI.Public Gem::Atom_Utils.Static Gem::Atom_Feature_Common ) diff --git a/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h b/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h index 59f1b9a0..d18b9332 100644 --- a/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h +++ b/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h @@ -8,6 +8,7 @@ #pragma once +#include #include #include #include @@ -62,7 +63,7 @@ namespace Pointcloud PointcloudHandle m_index = 0; AZ::Data::Asset m_cloudVertexBufferAsset; AZ::Data::Instance m_cloudVertexBuffer = nullptr; - AZ::RHI::GeometryView m_geometryView; + AZ::RHI::GeometryView m_geometryView{AZ::RHI::MultiDevice::DeviceMask{AZ::RHI::MultiDevice::DefaultDevice}}; AZStd::array m_meshStreamBufferViews; AZStd::vector m_pointData; uint32_t m_vertices = 0; diff --git a/Gems/Pointcloud/gem.json b/Gems/Pointcloud/gem.json index 158769a8..5da02995 100644 --- a/Gems/Pointcloud/gem.json +++ b/Gems/Pointcloud/gem.json @@ -1,6 +1,6 @@ { "gem_name": "Pointcloud", - "version": "3.0.2", + "version": "4.0.0", "display_name": "Pointcloud", "license": "Apache-2.0", "license_url": "https://opensource.org/licenses/Apache-2.0", diff --git a/README.md b/README.md index acc6f850..a5a8bba5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Note that this is not a "Canonical" part of O3DE - those gems are third-party co | [**ImGuiProvider**](#imguiprovider) | not verified | | [**ImGuizmo**](#imguizmo) | not verified | | [**LevelModificationTools**](#levelmodificationtools) | not verified | -| [**Pointcloud**](#pointcloud) | not verified | +| [**Pointcloud**](#pointcloud) | compatible | | [**RandomizeUtils**](#randomizeutils) | not verified | | [**RobotecGeoJSONSpawner**](#groboteceojsonspawner) | not verified | | [**RobotecGeoJSONSpawnerROS2**](#robotecgeojsonspawnerros2) | not verified | From df0e2b94b29591d9cbc2463025ac9a152f92503f Mon Sep 17 00:00:00 2001 From: Norbert Prokopiuk Date: Fri, 10 Apr 2026 13:23:36 +0200 Subject: [PATCH 2/2] formatting Signed-off-by: Norbert Prokopiuk --- Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h b/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h index d18b9332..fc644de6 100644 --- a/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h +++ b/Gems/Pointcloud/Code/Source/Render/PointcloudFeatureProcessor.h @@ -63,7 +63,7 @@ namespace Pointcloud PointcloudHandle m_index = 0; AZ::Data::Asset m_cloudVertexBufferAsset; AZ::Data::Instance m_cloudVertexBuffer = nullptr; - AZ::RHI::GeometryView m_geometryView{AZ::RHI::MultiDevice::DeviceMask{AZ::RHI::MultiDevice::DefaultDevice}}; + AZ::RHI::GeometryView m_geometryView{ AZ::RHI::MultiDevice::DeviceMask{ AZ::RHI::MultiDevice::DefaultDevice } }; AZStd::array m_meshStreamBufferViews; AZStd::vector m_pointData; uint32_t m_vertices = 0;