-
Notifications
You must be signed in to change notification settings - Fork 316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[examples] Add proposition for a new default scene #5177
base: master
Are you sure you want to change the base?
[examples] Add proposition for a new default scene #5177
Conversation
I was thinking that we could inflate the center of the logo by inflating it using PresureChamberConstraint from SoftRobots plugin. But again, this would require to build it by default. I don't know if we want that. |
And if we agree to load SofaPython3 by default, we could even add a controller that would for instance control the length of a cable actuator that compresses the O to make it look like an ellipse --> more fun + more features |
examples/Demos/SofaDefaultScene.scn
Outdated
<BackgroundSetting color="0.8 0.8 0.8 1" /> | ||
|
||
<!-- Define Mouse left click as a Bilateral Lagrangian constraint --> | ||
<ConstraintAttachButtonSetting /> <!-- The presence of this component sets the mouse interaction to Lagrangian-based constraints at the GUI launch --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has not been tested on imgui. I guess this is why it does not work. A work has been started to support all kind of interactions: sofa-framework/SofaGLFW#129
Maybe we can also think about improving the visuals? For example, we can add a skybox (see #2678), shaders and shadows. |
Regarding comments in SOFA-dev meeting: let's add this scene in the Demo folder without changing the default scene for now. But let's keep in mind that we don't want to keep caduceus as the default scene. I'll revert some changes and change the name of the PR. As a recall, we intend to make it the default scene at one point but two issues are still pending : |
This pr adds a new scene in the Demo folder. This is a proposition for a new default scene.
This works has been started here : https://github.com/bakpaul/TestScenes/tree/main/Experimental and is a joint work between myself and @hugtalbot
The main idea behind this scene is to show a lot of features offered by SOFA:
Having this scene by default would force to build BeamAdapter by default.
The scene work fine when using Qt-based GUI, but mouse interaction crashes the scene when using ImGUI-based GUI.
--> an issue needs to be added in SofaGLFW as soon as this PR is accepted.
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if