Grasshopper

algorithmic modeling for Rhino

I made a definition that obtains cast shadows from point light sources (the rays aren't parallel but start from a certain point). File is attached.

1. any simpler way to obtain this?

2. any idea why the Region Union component at the end doesn't work?

Thanks!

later edit: If the object doesn't have convex parts or holes, you can also project the vertices and qhull them (which is lighter)

Views: 3511

Attachments:

Replies to This Discussion

Hi Andrei, this works inversly, by culling the vertices of the base plane, so the next step is fix the facet boundaries, this works fine and with holes too, but slooow if you want good results.

Attachments:

Hey, interesting approach!

I made another version, based on your idea. It is still slow, but uses the actual vertices of the mesh. Take a look if curious:

Attachments:

construct mesh... good point! so fast with GetOutlines from viewport, this is the original script. click to animate

This looks like a great approach, but the definition would be really helpful.. could you upload it? Thanks anyway about the tip!

can you input the views parametrically or you need to build them in rhino beforehand?

I would be nice if someone improve this script for work with planes or vectors for work parametrically not with viewport, this is a call to the scripting community haha!
the advantage of using this script is to obtain the boundaries of a dirty mesh. see attachment

Attachments:

So let's back to my first slooow definition.

Attachments:

hey, thanks for those options! sorry for the late reply, just got to check them out now. The first two (in the 140617_PtShadow_ev.gh file) don't think are geometrically correct though..

Hello!

Is there a way to update the last script (where it includes projecting unto nearby surfaces (as when the bunny is in the corner of the room) to include a shadow project for axonometric, isometric, plan oblique, one-point perspective, two-point perspective?

Thank you,
Rebecca

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service