- This topic has 3 replies, 2 voices, and was last updated 3 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › Using Navigation Recorded Camera
Tagged: SOFA_2012, Windows_10
Hello,
I have been trying to use the following scene:
https://github.com/sofa-framework/sofa/blob/master/examples/Components/visualmodel/NavigationRecordedCamera.scn
But it does not appear to work.
The recorded camera node in the application shows a warning icon, with the following log on the console:
[WARNING] [RecordedCamera(recordedCamera0)] Too many missing parameters; taking default ...
SO, assuming the default parameters should work fine for the scene.
I referred to the documentation provided here: https://www.sofa-framework.org/community/doc/components/ui/recorded-camera/
Which says I need to record at least two viewpoints, and one can do that using Mouse Manager. I do that by assigning mouse controls to appropriate actions.
Left: For viewpoint recording
Right: To start navigation
However, I don’t see anything happening, when I run the Animation and use the left mouse to record viewpoint, at least two orientations, and then right-click to run the navigation.
Any input on how to use a navigated recorded camera will be of great help.
Also, how can I attach the camera navigation to a Haptic Device, that would be the next step I intend to do.
Hey @sukhraj
I tested it myself it indeed returns this warning at the beginning (apparently the camera considers that neither the position, orientation nor the lookAt are set by the user – even if they are indeed defined).
The components clearly appears to have a problem.
Could you please open an issue copying-pasting your post on GitHub please?
Best,
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.