Forum Replies Created
-
AuthorPosts
-
pontasBlocked
Hi @Hugo
Thank you for your reply.
I got it!
However, I can’t have three collision modes(Point, Line, Triangle) in one node at the same time…And when I try to determine the collision,
I get a warning in MinProximityIntersection ↓
Null distance contact between contact detected
This causes the FPS to drop below 1…What is wrong?
Thank you very much.
pontas
pontasBlockedHi @Hugo
Thank you for your reply.
I found out that the following line was the cause.
`Particles1->x.setParent(driver1->d_posDevice.getData());It syncs with the initial position, but doesn’t work when animate.
I think because it is not updating the geomagic position.
What do I need to write to get the position of the geomagic after animate and adapt it to the coordinates of the object…?I read soure codes in Geomagic folder including geomagic.cpp, but I couldn’t find the answer…
Thank you very much.
pontas
pontasBlockedHi @Hugo
Sorry for the delay in replying.
For now, all my questions are solved.
Thank you very much!I will be happy to ask questions if I am not sure about anything else.
Thank you in that case.pontas
pontasBlockedHi @Hugo
I was able to solve this problem by specifying a path.
Thank you very much!I want to debug the sln file, but now I get a lot of errors in it.
Isn’t it correct that the way to run the cpp file(ex chainHybrid.cpp, oneTetrahedron.cpp) is to debug the sln file that was created by executing cmake…?Thank you very much.
pontas
pontasBlockedHi @Hugo
Sorry for the late reply.
I would like to simulate what I described in the first question.
Since Pybind is so slow, I decided to write the scene file in C++ only.I tried to run the tutorial (applications/tutorials), but I get the following error with CMake’s find_package.
By not providing “FindSofaFramework.cmake” in CMAKE_MODULE_PATH this
The project has asked CMake to find a package configuration file provided by
“SofaFramework”, but CMake did not find one.Could not find a package configuration file provided by “SofaFramework”.
with any of the following names:SofaFrameworkConfig.cmake
sofaframework-config.cmakeAdd the installation prefix of “SofaFramework” to CMAKE_PREFIX_PATH or set
“SofaFramework_DIR” to a directory containing one of the above files.
“SofaFramework” provides a separate development package or SDK, be sure it
It has been installed.I specified the path to the original CMakeLists.txt file with set(), but it doesn’t work. What should I do…?
Thank you very much.
pontas
pontasBlockedHi @Hugo
Thank you very much!
I could understand how to write it.But I can’t compile it…(Including the tutorial C++ file)
How do everyone compile their own C++ files?Do I have to rewrite Main.cpp of runSofa?
When this problem is solved, I’ll close this topic.
Thank you very much.
pontas
pontasBlockedThat’s a mistake in Main.cpp, sorry.
pontas
pontasBlockedHi @Hugo
Thank you for your reply.Thank you!
I’ll see.I’ve never written a scene file in C++ before…
Can I learn how to write it by looking at the tutorials (examples/Tutorials) like the site says?Thank you very much.
pontas
pontasBlockedHi @Hugo
Thank you for your reply.
I’m sorry for my bad questioning …
If I write a scene file in C++, can I write code that uses Geomagic to rotate an object…?Sorry to trouble you, but I’d appreciate it if you could help me out.
Thank you very much.
pontas
pontasBlockedHi @Hugo
Thank you for your reply.
It says on the site that I can write scene files in C++/python, but am I correct in understanding that I can write scene files in C++/python to represent things like object rotation using Geomagic…?
I’m sorry for the repeated questions, but
I’d appreciate it if you could help me out.Thank you for your cooperation.
pontas
-
AuthorPosts