StjerneIdioten / I3D-Blender-Addon

Rewriting the I3D blender addon from scratch and adding long-sought community features
GNU General Public License v3.0
66 stars 18 forks source link

Feature: Option to export Bounding Volumes #164

Closed ssnd292 closed 1 year ago

ssnd292 commented 1 year ago

As described in this Discussion thread https://github.com/StjerneIdioten/I3D-Blender-Addon/discussions/135 the exporter can now export meshes as Bounding Volumes.

You can select via Object Picker an Object that serves as the Bounding Volume. When exporting, the exporter will automatically calculate the bv_center and bc_radius values. For the values it uses the largest dimension of the object divided by two (to make sure that even box-type bounding volumes could be used)

Here is a picture of the UI: 2023-04-08 17_10_47-Blender  C__Users_ssnd2_Desktop_BoundingBox_BoundingBox blend

Here is a test scene. BoundingBox.zip

ssnd292 commented 1 year ago

Updated Branch and Implemented Feedback