5 October 2018 at 18 h 27 min #12119
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!
Fei5 October 2018 at 19 h 02 min #12120HugoKeymaster
- SOFA Consortium
You should read carefully the error messages.
It explains that you can set the
bbox="-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.
Hugo8 October 2018 at 19 h 12 min #12126
Actually, I didn’t set any bounding box. I just followed the tutorial in :
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 :
Fei8 October 2018 at 20 h 56 min #12127
I rebuilt the newest master branch (date : Oct. 8, 2018) with the source code in this link :
The 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.
Fei10 October 2018 at 9 h 37 min #12134HugoKeymaster
- SOFA Consortium
Don’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.
Hugo28 December 2020 at 19 h 03 min #18082OlumideParticipant
- You must be logged in to reply to this topic.