skybrush-io / studio-blender

Skybrush Studio for Blender - a Blender addon for designing and validating drone shows
https://skybrush.io
GNU General Public License v3.0
43 stars 30 forks source link

[feature request] - "inside the mesh" Target and and "distance from mesh" Output X using 2 separate meshes #16

Open NelloF opened 5 months ago

NelloF commented 5 months ago

Sometimes I want to limit a Light effect to a specific mesh boundary and mapping it based on the distance from mesh , but at the moment they use the same mesh so I can't animate the "distance from mesh" object position because it compromise the boundary selection of drones

image

ntamas commented 5 months ago

Related to #17. I was wondering how the "Distance from mesh" option would be treated if we allowed multiple meshes in #17 as distance calculation is hard enough already with a single mesh.

Maybe if we added a separate "Mesh collection" property as proposed in #17 and kept the "Mesh" property as well, it woudl allow you to use one mesh for the distance calculation and a collection consisting of a single mesh for containment calculations.

NelloF commented 5 months ago

i think last point you wrote is a good idea