Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libRendering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
STORM
repos
Radium
libRendering
Commits
14dc353f
Commit
14dc353f
authored
4 years ago
by
Mathias Paulin
Browse files
Options
Downloads
Patches
Plain Diff
use experimental Radium
parent
0b3f780a
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/CMakeLists.txt
+2
-2
2 additions, 2 deletions
src/CMakeLists.txt
src/Mara/CMakeLists.txt
+6
-0
6 additions, 0 deletions
src/Mara/CMakeLists.txt
src/Mara/Gui/MainWindow.cpp
+2
-2
2 additions, 2 deletions
src/Mara/Gui/MainWindow.cpp
with
10 additions
and
4 deletions
src/CMakeLists.txt
+
2
−
2
View file @
14dc353f
...
@@ -4,8 +4,8 @@ if (WITH_H3D_SUPPORT)
...
@@ -4,8 +4,8 @@ if (WITH_H3D_SUPPORT)
endif
(
WITH_H3D_SUPPORT
)
endif
(
WITH_H3D_SUPPORT
)
add_subdirectory
(
Plugin
)
add_subdirectory
(
Plugin
)
set
(
MARA_IN_BUILD_TREE True
)
set
(
MARA_IN_BUILD_TREE True
)
add_subdirectory
(
Mara EXCLUDE_FROM_ALL
)
#
add_subdirectory(Mara EXCLUDE_FROM_ALL)
set
(
VIEWER_IN_BUILD_TREE True
)
set
(
VIEWER_IN_BUILD_TREE True
)
add_subdirectory
(
DemoApp EXCLUDE_FROM_ALL
)
add_subdirectory
(
DemoApp EXCLUDE_FROM_ALL
)
#
add_subdirectory(Mara)
add_subdirectory
(
Mara
)
This diff is collapsed.
Click to expand it.
src/Mara/CMakeLists.txt
+
6
−
0
View file @
14dc353f
...
@@ -29,6 +29,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
...
@@ -29,6 +29,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
option
(
SHOWTREEVIEW
"Compile with scene tree view widget"
ON
)
option
(
SHOWTREEVIEW
"Compile with scene tree view widget"
ON
)
option
(
WITH_H3D_SUPPORT
"Compile with H3D loader support"
OFF
)
option
(
WITH_H3D_SUPPORT
"Compile with H3D loader support"
OFF
)
option
(
RADIUM_EXPERIMENTAL
"Compile with non merged Radium features."
OFF
)
# ///////////////////////////////
# ///////////////////////////////
find_package
(
Qt5 COMPONENTS Core Widgets REQUIRED
)
find_package
(
Qt5 COMPONENTS Core Widgets REQUIRED
)
...
@@ -113,6 +114,11 @@ if (WITH_H3D_SUPPORT)
...
@@ -113,6 +114,11 @@ if (WITH_H3D_SUPPORT)
)
)
endif
(
WITH_H3D_SUPPORT
)
endif
(
WITH_H3D_SUPPORT
)
if
(
RADIUM_EXPERIMENTAL
)
message
(
STATUS
" ***
${
PROJECT_NAME
}
*** Compiling with Radium experimental features activated."
)
target_compile_definitions
(
${
PROJECT_NAME
}
PRIVATE RADIUM_EXPERIMENTAL
)
endif
()
configure_radium_app
(
configure_radium_app
(
NAME
${
PROJECT_NAME
}
NAME
${
PROJECT_NAME
}
USE_PLUGINS
USE_PLUGINS
...
...
This diff is collapsed.
Click to expand it.
src/Mara/Gui/MainWindow.cpp
+
2
−
2
View file @
14dc353f
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
#include
<RadiumPlayer.hpp>
#include
<RadiumPlayer.hpp>
#ifdef RADIUM_
HAS_SKELETON_ANIM
#ifdef RADIUM_
EXPERIMENTAL
#include
<Engine/Scene/SkeletonBasedAnimationSystem.hpp>
#include
<Engine/Scene/SkeletonBasedAnimationSystem.hpp>
#include
<Gui/SkeletonBasedAnimation/SkeletonBasedAnimationUI.hpp>
#include
<Gui/SkeletonBasedAnimation/SkeletonBasedAnimationUI.hpp>
#endif
#endif
...
@@ -543,7 +543,7 @@ void MainWindow::timelineSetPingPong( bool status ) {
...
@@ -543,7 +543,7 @@ void MainWindow::timelineSetPingPong( bool status ) {
}
}
void
MainWindow
::
addRadiumSystemsUI
()
{
void
MainWindow
::
addRadiumSystemsUI
()
{
#ifdef RADIUM_
HAS_SKELETON_ANIM
#ifdef RADIUM_
EXPERIMENTAL
// Register the Skeleton-based animation UI
// Register the Skeleton-based animation UI
auto
animSystem
=
static_cast
<
Ra
::
Engine
::
Scene
::
SkeletonBasedAnimationSystem
*>
(
auto
animSystem
=
static_cast
<
Ra
::
Engine
::
Scene
::
SkeletonBasedAnimationSystem
*>
(
Ra
::
Engine
::
RadiumEngine
::
getInstance
()
->
getSystem
(
"SkeletonBasedAnimationSystem"
)
);
Ra
::
Engine
::
RadiumEngine
::
getInstance
()
->
getSystem
(
"SkeletonBasedAnimationSystem"
)
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment