finally, I found the cause, it is due to the initial positions of the three primitives(coil,cath,guide) not aligned which results in the debug vector access failure.
Finally solved, bary coefficient it is a relative local coordinates to a elemnts.
Hi,
@hugo and @epernod, the error of [ObjectFactory::addAlias()] is not disappear. and the other problem is, in the SofaPhysicsAPI example, when i use the source code of the main.cpp to load a liver.scn scene data, and render by the glut, the SofaphysicsOutputMesh instance object mesh is not null, but the points and normals of the mesh is null. Do you help me to find, where and which procedure during the api load or using has error? Thanks.
thks.
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.