Home › Forum › SOFA › Using SOFA › [SOLVED] Global Bounding Box Error
Tagged: 64_bits, Linux_ubuntu, SOFA_1806
- This topic has 6 replies, 3 voices, and was last updated 3 years, 10 months ago by Olumide.
-
AuthorPosts
-
5 October 2018 at 18:27 #12119lnnx2006Blocked
Dear All,
I always encounted with the problem of Bbox, whatever the scenes I loaded.
Here’s the error :
[WARNING] [RealGUI] Global Bounding Box seems very small; Your viewer settings (based on the bbox) are likely invalid, switching to default value of [-1,-1,-1,1,1,1].This is caused by using component which does not implement properly the updateBBox function.You can remove this warning by manually forcing a value in the parameter bbox="minX minY minZ maxX maxY maxZ" in your root node
I followed the tips on this post. However, the problem is still existing.
My questions are :
– how to choose the values of minX minY minZ maxX maxY maxZ ?? could they can be calculated automatically ?
– how to enable the bounding functions in XML files ??——————-
Everything seems so complex in SOFA without a clear tutorial (different versions will also give different results….)!Anybody can help me ? Thanks a lot!
Best regards,
Fei5 October 2018 at 19:02 #12120HugoKeymasterHi Fei
You should read carefully the error messages.
It explains that you can set thebbox="-1 -1 -1 1 1 1"
in the root node to specify the bounding box. Bounding box is usually computed by visual model (OglModel), in this case the bbox is automatically computed. I guess you do not have an OglModel in your scene. That’s why you have this warning.Let me know if this fixes your issue.
BestHugo
8 October 2018 at 19:12 #12126lnnx2006BlockedHi Hugo,
Actually, I didn’t set any bounding box. I just followed the tutorial in :
https://www.sofa-framework.org/wp-content/uploads/2016/08/2-Tutorial.pdf
These tutorials are not working at all. Nothing is shown in the Software.
It’s the same errors no matter which tutorial I launched in this link :
https://github.com/SofaDefrost/SoftRobots/tree/master/docs/tutorialsThanks!
Best regards,
Fei8 October 2018 at 20:56 #12127lnnx2006BlockedHi all,
I rebuilt the newest master branch (date : Oct. 8, 2018) with the source code in this link :
https://github.com/SofaDefrost/sofaThe errors are disappeared. Thus the stable version of v18.06 may still have some unexpected errors (in particular regarding different PCs).
I am really confused about these.
Best regards,
Fei10 October 2018 at 09:37 #12134HugoKeymasterDon’t be confused.
I close the topic then.If you face the issue again, please just follow my instructions above, by specifying a bbox value to your root node.
Hugo
28 December 2020 at 19:03 #18082OlumideBlocked -
AuthorPosts
- You must be logged in to reply to this topic.