Grasshopper

algorithmic modeling for Rhino

is it possible for an object to project its shadow on other objects, not only on a plane, as shown in the image below? 

Views: 6084

Replies to This Discussion

One fairly rough way would be to mesh your objects very densely and cast a ray from every mesh vertex to test for self-intersection. This will allow you to visualize it but won't give you the nice curve outlines that the mesh shadow component does. 

hey andrew!

thanks for your help.

however, I'm not able to make this definition work.

as you can see in the image below, the shadows are, well, wrong, and I have no idea how to fix this.

Hi Humberto, I'm getting exactly the same problem, did you manage to fix it?

best,

Francesca

hey francesca,

I haven't been able to fix it yet. 

Do you know if there's some other way to visualize the shadows?

best,

humberto

You've set it up properly, but it's important that the mesh be "Dense", meaning that it has many vertices. Try creating mesh boxes with 10x10x10 vertices to start. The resolution of the shadow is dependent on the resolution of the mesh.

If you're still unable to make this work, upload your definition and I will take a look.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service