Home › Forum › SOFA › Getting Started › [SOLVED] some objects are invisible in run sofa window
- This topic has 1 reply, 2 voices, and was last updated 9 years, 1 month ago by Guillaume.
-
AuthorPosts
-
21 October 2015 at 13:59 #3809ZahraBlocked
Hi,
Some of the scenes in tutorial such as all the “Pendulum” scenes, “1_TopoMapping”, “5_TopoMapping” and “1_Visual” does not appear in run sofa window. I checked different views and also used different approaches by mouse in the run sofa window but the results were the same.
Also in “1_FullObject” and “2_FullObject” just the dragon and not any other things appear. Anybody have any idea what is the problem?Zahra
20 November 2015 at 15:02 #4334GuillaumeKeymasterHi Zahra,
My answer is based on a recent version of SOFA (commit 374ac24e3f5979f3ba9daf3debf52e4eac40fc94, branch master, 2015/11/10 16:33).
Pendulum scenes seem OK. Starting from step 4 (4_Pendulum.scn), the StiffSpringForceField component appears in graph and visualization.
For 1_TopoMapping, I can see the visualization of TetrahedronSetGeometryAlgorithms (in yellow).
5_TopoMapping is indeed wrong. We will fix it.With all this scenes above, the camera controls are not behaving normally but I don’t know why. Someone ?
1_FullObject and 2_FullObject are working well. It is normal to see the dragon only. If you want to see the SparseGridTopology or the PlaneForceField, you can do it by double-clicking them in runSofa (Graph tab) and playing in the Visualization tab.
You can also edit this properties directly in the .scn files as follows.
<Node name="root" gravity="0 0 -9.81" dt="0.001"> <VisualStyle displayFlags="showVisual showBehavior" /> <OglModel template="ExtVec3f" name="Objective" fileMesh="mesh/dragon.obj" /> <DefaultPipeline name="DefaultCollisionPipeline" verbose="0" draw="0" depth="6" /> <BruteForceDetection name="Detection" /> <MinProximityIntersection name="Proximity" alarmDistance="3" contactDistance="2" /> <DefaultContactManager name="Response" response="default" /> <Node name="Object" gravity="0 -9.81 0"> <EulerImplicitSolver name="Implicit Euler Solver" /> <CGLinearSolver template="GraphScattered" name="Conjugate Gradient" iterations="25" tolerance="1e-5" threshold="1e-5"/> <SparseGridTopology name="Embedded Sparse Grid" fileTopology="mesh/dragon.obj" n="7 6 5" drawHexahedra="1" /> <MechanicalObject template="Vec3d" name="Particles" restScale="1" position="0 0 0" /> <UniformMass template="Vec3d" name="Mass" /> <PlaneForceField template="Vec3d" name="Plane" normal="0 0 1" d="-10" draw="1" /> </Node> </Node>
Hope it helps a bit 🙂
Regards,
Guillaume. -
AuthorPosts
- You must be logged in to reply to this topic.