Grasshopper

algorithmic modeling for Rhino

I've been working on definition that simply tests several surfaces for exposure throughout a day. I use the Diva Sun Position component and HoopSnake to iterate and accumulate data over the course of a day.

 

After about 4-5 hours I had it all working as expected... then I broke it somehow, so that the tree of vertex colors did not match up with the tree of vertices. Then fixed it... now it works but the data trees are growing branches on every iteration of the loop. Simplifying them helps but it still concerns me. I would like to optimize this definition as much  as possible as it will be run hundreds, if not thousands of times with Galapagos.

 

Any thoughts on optimizing this?

Thanks all

GH Rev:51, DIVA, Hoopsnake

SolarAccess_NoEcotect_A_002.gh

Views: 1618

Replies to This Discussion

Hi Jonah, 

thanks for sharing the definition. The work is great, and for my purpose I was working on a much simpler definition that I attach. I guess I m not able to fully understand the concept of the exposure component, because even at a very very basic analysis of one single ray and one building, the result is wrong.

Could you give me some hints?

thanks

Lorenzo

Attachments:

It has been a very long time since this post!

Are your vectors reversed? 

The Exposure component tests if a ray intersects a mesh face. 

I think my process was to case rays from every vert and then give that vert a value equal to the average of the ray hits/misses. 

Does that help?

Yes quite a long time and I really thank you for your reply.

At the moment the rays are "realistic" meaning they are formed between a point on a curve (sun) and a single point on the ground. Do you mean that every vertex should have a parallel vector assigned to be tested with for intersection?

thanks

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service