Replies: 2 comments
-
Hello @jdsika, It seems interesting indeed. We will give a look to check if it is possible and the impact of this. Thanks for the contribution. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Hi @aneuwald-ctw , I was now talking to a colleague who works a lot with 3D models. He says that the models shall always have the correct size and the scale shall be The data can be trusted as the bounding box is defined in the model metadata -> the scenario is loading and using the values from the model -> the simulator writes these values into the OSI message. Therefore keep my suggestion as a thought that seems to have no merrit. Thank you for your time! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The current model-primitive uses
pose
andscale
to position it. In order to figure out the scaling I would need to know the actual dimensions of the model. When considering a gLTF model I would need to open the model first, extract the size in order to calculate the correct scale for this primitive.My suggestion is to explore the option to add the parameter of size to e.g. automatically scale a model to a pre-set bounding box. If the size is not encoded in the
url
represeting the identifier to this model on e.g. a server a plugin is not easily able to do this scaling calculation.https://docs.foxglove.dev/docs/visualization/message-schemas/model-primitive
Beta Was this translation helpful? Give feedback.
All reactions