Grasshopper

algorithmic modeling for Rhino

Hi,

I'm finding some inconsistencies in the viewAnalysis component when i check the percentage of a surface seen from a point.

The point happens to be the sun position. Usually it works fine, but for some specific cases it is giving viewing results for occluded surfaces.

You can see from the plan view (top-left) that the line of view can not see the surface, but from the top-right view you can see that some portion of the surface appear as "seen" (blue color). At the bottom-right you can see the view from the sun, just to confirm that the surface is occluded.

Attached the file i'm using. In general the results are fine, but just wonder what happens here.

For those of you interested in such kind of analysis i recommend to set the sunpath scale to a high value.

Thanks,

-A.

a

Views: 218

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

Abraham,

It took me a few re-readings of your question but I think that I have finally understood it and know the answer.

You can always get a glimpse into how the view component works by drawing lines in between the output testPts and the input points into the _viewTypeOrPts like so:

When you do this, you will see that the lines from the mesh faces you identify do not actually intersect any geometry, although this is largely because the _distFromBase is moving the points far enough away from the base surface so that the line clears any intersecting geometry. So, if you set the _distFromBase to be smaller in your file, you will see that those surfaces you have there get occluded.

Also, for this specific case of view to the sun, I would sooner recommend that someone use the "Ladybug_Sunlight Hours" component for a shadow study rather than setting the sunPath scale to be very large:

http://hydrashare.github.io/hydra/viewer?owner=mostaphaRoudsari&...

Sunlight hours will use the actual vector for intersections (instead of a line) and you therefore don't have to worry about how far away the sun position is.

-Chris

Attachments:

Thanks Chris,

As soon as i saw the lines i get the issue was with the _distFromSurface. Live and learn.

As for the LB_SunlightHours i'm not sure i get your suggestion. The view analysis and the sunlightHours give different outputs for my needs. I want to calculate the amount of area that is in light/shade, as we have here standard requirements for that. Is clear that for the shadow study the sunLight is the one to use.

Thanks again,

-A.

Abraham,

I am also not sure that I am understanding correctly.  I attached an example that uses the sunlight hours component.  Would this one satisfy your needs or is there a nuance to your analysis that I am missing?

-Chris

Attachments:

Ohhh!

Live and learn # 2.

Now i see what you mean. This is fine too. Always better to have options.

Thanks a lot!!

-A.

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