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

Bounding Volume #171

Closed StjerneIdioten closed 9 months ago

StjerneIdioten commented 1 year ago

Discussed in https://github.com/StjerneIdioten/I3D-Blender-Addon/discussions/135

Originally posted by **kbrandwijk** June 12, 2021 I ran into a situation where I require to manually set the bounding volume properties on a shape. I have checked the sources and the property panels, but I can't find any reference to it. ```xml ``` I'm referring to the bvCenter and bvRadius properties on a shape. It would be very useful if these could be set directly in Blender. Main usecase: any shape where a shader affects it's position (such as with continuous tracks) needs manually adjusted bounding volume position and radius. ![image](https://user-images.githubusercontent.com/852069/121789593-7ff37180-cbd7-11eb-9c00-96650cfdd4ce.png) For example, white bv orb is where GE _thinks_ the BV is, while in fact is has to be around the track shape on the right, like this: ![image](https://user-images.githubusercontent.com/852069/121789621-ae714c80-cbd7-11eb-89cc-66cf146576e8.png) Setting this in Blender directly will help the workflow a lot. In Maya, I found out you can create a cube, and set in the properties that it defines the bounds for another object ![image](https://user-images.githubusercontent.com/852069/121789920-761f3d80-cbda-11eb-8d61-7a90e93da57b.png) That would be nice (it could set the display to wireframe when you select this in the options panel), but I'd take just manual input fields as well.
StjerneIdioten commented 1 year ago

@kbrandwijk I've moved your very old request into an issue. A feature has been implemented for it and is available in this prerelease. Do you want to test it with your original use case?