Skip to content

Commit

Permalink
Merge branch 'ign-rendering3' into Crola1702/3_to_6-2023-07-30
Browse files Browse the repository at this point in the history
  • Loading branch information
Crola1702 committed Jul 30, 2024
2 parents 95e66c7 + 4d00433 commit d2dec85
Show file tree
Hide file tree
Showing 19 changed files with 158 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ArrowVisual_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ class ArrowVisualTest : public testing::Test,
/////////////////////////////////////////////////
void ArrowVisualTest::ArrowVisual(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif

RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
4 changes: 4 additions & 0 deletions src/AxisVisual_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ class AxisVisualTest : public testing::Test,
/////////////////////////////////////////////////
void AxisVisualTest::AxisVisual(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
16 changes: 16 additions & 0 deletions src/Camera_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class CameraTest : public testing::Test,
/////////////////////////////////////////////////
void CameraTest::ViewProjectionMatrix(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down Expand Up @@ -159,6 +163,10 @@ void CameraTest::ViewProjectionMatrix(const std::string &_renderEngine)
/////////////////////////////////////////////////
void CameraTest::RenderTexture(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down Expand Up @@ -213,6 +221,10 @@ void CameraTest::RenderTexture(const std::string &_renderEngine)
/////////////////////////////////////////////////
void CameraTest::TrackFollow(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down Expand Up @@ -285,6 +297,10 @@ void CameraTest::TrackFollow(const std::string &_renderEngine)
/////////////////////////////////////////////////
void CameraTest::AddRemoveRenderPass(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down
4 changes: 4 additions & 0 deletions src/Grid_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ class GridTest : public testing::Test,
/////////////////////////////////////////////////
void GridTest::Grid(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
if (_renderEngine != "ogre" && _renderEngine != "ogre2")
{
igndbg << "Grid not supported yet in rendering engine: "
Expand Down
4 changes: 4 additions & 0 deletions src/Light_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class LightTest : public testing::Test,
/////////////////////////////////////////////////
void LightTest::Light(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down
4 changes: 4 additions & 0 deletions src/Marker_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ class MarkerTest : public testing::Test,
/////////////////////////////////////////////////
void MarkerTest::Marker(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
if (_renderEngine == "optix")
{
igndbg << "Marker not supported yet in rendering engine: "
Expand Down
8 changes: 8 additions & 0 deletions src/Material_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ class MaterialTest : public testing::Test,
/////////////////////////////////////////////////
void MaterialTest::MaterialProperties(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -290,6 +294,10 @@ void MaterialTest::MaterialProperties(const std::string &_renderEngine)
/////////////////////////////////////////////////
void MaterialTest::Copy(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
8 changes: 8 additions & 0 deletions src/Mesh_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ class MeshTest : public testing::Test,
/////////////////////////////////////////////////
void MeshTest::MeshSubMesh(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -123,6 +127,10 @@ void MeshTest::MeshSubMesh(const std::string &_renderEngine)
/////////////////////////////////////////////////
void MeshTest::MeshSkeleton(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
4 changes: 4 additions & 0 deletions src/MoveToHelper_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ void MoveToHelperTest::checkIsCompleted(double timeout)

void MoveToHelperTest::MoveTo(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down
4 changes: 4 additions & 0 deletions src/Node_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ class NodeTest : public testing::Test,
/////////////////////////////////////////////////
void NodeTest::Pose(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
12 changes: 12 additions & 0 deletions src/OrbitViewController_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ class OrbitViewControllerTest : public testing::Test,
/////////////////////////////////////////////////
void OrbitViewControllerTest::OrbitViewControl(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -91,6 +95,10 @@ void OrbitViewControllerTest::OrbitViewControl(const std::string &_renderEngine)
void OrbitViewControllerTest::OrbitViewControlCameraConstructor(
const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -127,6 +135,10 @@ void OrbitViewControllerTest::OrbitViewControlCameraConstructor(
/////////////////////////////////////////////////
void OrbitViewControllerTest::Control(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
4 changes: 4 additions & 0 deletions src/RayQuery_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ class RayQueryTest : public testing::Test,
/////////////////////////////////////////////////
void RayQueryTest::RayQuery(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
if (_renderEngine == "optix")
{
igndbg << "RayQuery not supported yet in rendering engine: "
Expand Down
4 changes: 4 additions & 0 deletions src/RenderTarget_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ class RenderTargetTest : public testing::Test,
/////////////////////////////////////////////////
void RenderTargetTest::RenderTexture(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down
4 changes: 4 additions & 0 deletions src/RenderingIface_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ unsigned int defaultEnginesForTest()
/////////////////////////////////////////////////
TEST(RenderingIfaceTest, GetEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
common::Console::SetVerbosity(4);

unsigned int count = defaultEnginesForTest();
Expand Down
24 changes: 24 additions & 0 deletions src/Scene_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ class SceneTest : public testing::Test,
/////////////////////////////////////////////////
void SceneTest::Scene(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down Expand Up @@ -135,6 +139,10 @@ void SceneTest::Scene(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::Nodes(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -219,6 +227,10 @@ void SceneTest::Nodes(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::RemoveNodes(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -321,6 +333,10 @@ void SceneTest::RemoveNodes(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::DestroyNodes(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -544,6 +560,10 @@ void SceneTest::DestroyNodes(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::NodeCycle(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -610,6 +630,10 @@ void SceneTest::NodeCycle(const std::string &_renderEngine)
/////////////////////////////////////////////////
void SceneTest::Materials(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
auto engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
4 changes: 4 additions & 0 deletions src/ThermalCamera_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ class ThermalCameraTest : public testing::Test,
/////////////////////////////////////////////////
void ThermalCameraTest::ThermalCamera(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
// create and populate scene
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
Expand Down
16 changes: 16 additions & 0 deletions src/TransformController_TEST.cc
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ class TransformControllerTest : public testing::Test,
/////////////////////////////////////////////////
void TransformControllerTest::TransformControl(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -136,6 +140,10 @@ void TransformControllerTest::TransformControl(const std::string &_renderEngine)
/////////////////////////////////////////////////
void TransformControllerTest::WorldSpace(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -199,6 +207,10 @@ void TransformControllerTest::WorldSpace(const std::string &_renderEngine)
/////////////////////////////////////////////////
void TransformControllerTest::LocalSpace(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down Expand Up @@ -313,6 +325,10 @@ void TransformControllerTest::LocalSpace(const std::string &_renderEngine)
/////////////////////////////////////////////////
void TransformControllerTest::Control2d(const std::string &_renderEngine)
{
#ifdef __APPLE__
std::cerr << "Skipping test for apple, see issue #847." << std::endl;
return;
#endif
RenderEngine *engine = rendering::engine(_renderEngine);
if (!engine)
{
Expand Down
Loading

0 comments on commit d2dec85

Please sign in to comment.