- This topic has 1 reply, 1 voice, and was last updated 2 years, 11 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] Rendering a scene in stereoscopic 3D
Tagged: 3D, SOFA_2006, sofastereo, stereo, stereoscopic, vision, Windows_10
Hello, everyone!
I’m trying to render a scene using stereoscopic 3D. A friend of mine recommended me the SofaStereo plugin for this purpose, so I downloaded and compiled SOFA version 20.06.01, since apparently it is the last version to include the plugin.
I had some trouble compiling this SOFA version with the plugin. For example, the CMakeLists file for the plugin still uses some deprecated functions, so I changed them manually. Then, during compilation, an error message saying that the SofaBase.lib, SofaGeneral.lib and SofaTest.lib couldn’t be opened, so I manually copied these missing DLL files from a version I had previously compiled successfully and then compiled this version again.
When I finally got this SOFA version running, I tried to run the .scn example files for the SofaStereo plugin, but they generated some warnings, so I also fixed them manually.
Now I can finally run the examples with no warnings on screen, but there isn’t a stereoscopic effect, just a normal render, as if the plugin wasn’t working, and I can’t find any documentation for the plugin anywhere.
What could be happening? Maybe one of my manual “fixes” broke something? Or perhaps there is a more modern approach to achieve a stereoscopic 3D rendering?
Thanks in advance!
I solved it! I found that I need to use QtViewer to use this plugin because it inherits from InteractiveCamera, so I just changed the viewer to Qt with the -gqt
flag and it worked.
I’m marking the issue as solved. Thank you!
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.