Grasshopper

algorithmic modeling for Rhino

Hi Mostapha,

I generated the shading mask for a very simple model, placing the test point in a window sill. What is bizzare (as you can see in the image) is the fact that this point can see behind the walls!

Also you have provided ain image with a transparent shading mask, is ti possible to explain me how you did it?

Thanks in advance,

Kostas

Views: 523

Attachments:

Replies are closed for this discussion.

Replies to This Discussion

Hi Kostas,

Didn't get well the "behind the walls" issue, but for the transparency you have 2 options:

1. Using the LB_shadingMask (as you are doing) there is no option in GH. Just to bake the resulting geometry and do the transparency directly in Rhino.

2. Use the LB_shadingMaskII (the one with the colors). Then you can play with the color and transparency if you conect the appropriate outputs to a CustomPrevie component. The pitfall is that is a kind of proof of concept version of the component and can take some time to do the calculation. This is the one Mostapha shows in the comments section a while ago.

-A.

Hi Abraham and thanks for your prompt response!

Yes, I didn't explain it very well.

I mean that the area where the arrow points out should be in shadow and the sky view factor hould be 50% ( I get a slightly larger value).

Thanks again,

Kostas

Attachments:

Now i get it,

Just checked this. There is an input _skyDensity, which is supposed to be 0 or 1 (For Tregenza sky patch subdivision, or 1 for Reinhart's). Default is supposed to be 0.

In anycase your isue is related to this resolution value. I was thinkung that the possible values are 0 or 1, but now i see that the default is 3. If you make this bigger, say 5, you'll see that it looks smoother ... taking more time to compute.

So, the question (another one) for Mostapha is what this value is supposed to be, or better, if the values are 0 or 1 only and there is a bug right now.

Abraham and Kostas,

Thank you for all of the questions.  I wrote that description to the shading mask before I really understood what the function inside the component was doing.  I have just replaced it with the following:

"An integer that is greater than or equal to 0, which to sets the number of times that the Tergenza sky patches are split.  Set to 0 to view a sky mask with the typical Tregenza sky, which will divide up the sky with a coarse density of 145 sky patches.  Set to 1 to view a sky mask of a Reinhart sky, which will divide up each of these Tergenza patches into 4 patches to make a sky with a total of 580 sky patches. Higher numbers input here will ensure a greater accuracy but will also take longer. The default is set to 3 to give you a high accuracy."

To answer the question of what the number is supposed to be, it is really whatever level of accuracy that you need the results to be.  You can put it as high of a number as you like until your system crashes :)

Hi all,

Abraham, All your comments are correct (as usual). As Chris mentioned sky can be as dense as you want. There is no limitation. The reason that I put limitation on genCumulativeSky is that it can take very long for denser skies and it won't do that much for accuracy of the results.

Also looking to Kostas image it might be a good idea to break the top surface also in pieces so it gives more accurate results.

Hi all,

Many thanks for your answers,

Kostas

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