- This topic has 2 replies, 2 voices, and was last updated 5 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Using SOFA › [SOLVED] How to save the topology of component SparseGridRamification?
Tagged: 64_bits, Plugin_other, slow, SOFA_1712, SparseGridRamification, Windows_10
Hello everyone,
I see that a scene will take quite a lot time when it initializes if it includes the component SparseGridRamification. I guess the reason is that this component requires a certain period of time to compute the topology.
So I want to save the topology to prevent slowness next time the scene is launched.
How can I do?
Wong
Hello
This topic can be ignored. I have solved the problem.
Dear @outtt
For others, I give the hint:
all you need to do is to add a MeshVTKExporter with the option exportAtBegin="true"
so that your mesh can be exported after initialization (including the initialization of the sparse grid).
You can find an example in examples/Components/misc/VTKExporter.scn
Once exported, you could change your scene file and load directly the VTK file using a MeshVTKLoader and providing the filename
data (where your mesh is located)
Best
Hugo
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.