Shadow Analysis Approach

Hi @rivindub

Both Legacy Ladybug and LBT Ladybug have components that run relatively quick shadow studies using Rhino’s built in renderer and your GPU. In LBT, this is done with the LB Set Rhino Sun component. It’s much faster than than the LB Direct Sun Hours component as long as you don’t max out your GPU’s capabilities (you’ll see your screen start to freeze if you do). Also, here are a lot of improvements to the workflow in the LBT version compared to Legacy, including the ability to see multiple shadows at once. So that’s what you should use if you need something fast to just show you the shadows and you aren’t trying to do a custom analysis that is highly specific.

In your case, pulling out the shadow effect of a single building is highly-specific and it’s really challenging to do this with any type of GPU-based workflow, even if you have a CS degree. So you’ll need to go with the LB Direct Sun Hours component for this case.

By tweaking a couple of lines of code in the component, I can get to run a shadow study where only the context_ blocks the sun and not the _geometry:

If you combine this with a “normal” run of the component and postprocess the results, you can make something that’s aligned with what you’re after:


shadow_effect_of_one_building.gh (577.2 KB)

Hope that helps.

3 Likes