-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVF in ViewAnalysis component #229
Comments
Hi Chris, Sorry for describing this so vaguely, but i can't catch exactly why is this happening. Thanks, |
@ayezioro , The first was a very severe bug in the function that runs the view analysis, which was assigning incorrect point weights to the vectors after the first mesh (this is why you were getting view values of 100 next to the surface). This resulted from the fact that I wanted to have the same function handle both cases of view points and view vectors and the view points are meant to make use of the point weights while they should be absent from the view vectors (they were not). The second issue was that I was not accounting for the areas of the sky patches with the view vector calculations and I was treating each sky patch as if it had an equal area. This is not a huge error as the original intention of the Tregenza sky dome was to have as even a number of patches as possible. However, not accounting for the slight variations in area was causing errors of +/-2% that were not improving with higher view resolutions. I have since included weights for the vectors based on the patch area, which ensures that you can get very high accuracy simulations with high view resolutions. In the cases that I was trying with view resolutions of 3, all errors were below 1%. The third issue was just a misunderstanding with what the output of the viewVectors is meant to be. Namely, I only return one copy of the view vectors so that I do not make the output too heavy but the calculation is actually projecting all of these vectors from all of the points. So, if you want to see a visual of the view vectors projecting from all of the points, you have the graft the points as they go into the 'vector Display' component. Otherwise, Grasshopper tries to assign one vector to each point. All of this has been fixed with this github commit: -Chris |
Wow! |
Hi,
I'm dealing with the following error in the ViewAnalysis component when i try to do SVF analysis:
When i reinsert/reconnect all inputs it works. But when i save, close and open it complains again about the same.
I notice that when i connect any of the possible values to the viewTypeOrPoints input the clean component changes the name of the input viewPtsWeights to viewResolution.
When opening the file If i disconnect the _viewTypeOrPoints and reconnect it works.
Thanks,
-A.
The text was updated successfully, but these errors were encountered: