Grasshopper

generative modeling for Rhino

Jeff M
  • Portland, OR
  • United States
Share on Facebook
Share Twitter
  • Blog Posts
  • Discussions (1)
  • Events
  • Groups
  • Photos
  • Photo Albums
  • Videos

Jeff M's Discussions

Mesh Shadow Component Casts Backwards Shadows
9 Replies

 Hello, I'm putting together a script that calculates a percentage of a surface that is shaded at various times during the day.  The backbone of this script is the mesh component. However, I've run…Continue

Tags: Shadow, Mesh

Started this discussion. Last reply by Jissi Choi Jul 13, 2012.

 

Jeff M's Page

Latest Activity

Jissi Choi replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"  Here it is..   I modified the ray vector to be parametric in front direction..   "
Jul 13, 2012
Piotr replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"Hi Using fragment of your definition I have made mine, where you can cast shadows on multiple (flat) surface from multiple breps. It works, but it's messy (for the first time I have used path mapper) so any cleaning & simplifying actions…"
Jul 12, 2012
Jissi Choi replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
" Attached.."
Jul 10, 2012
Jissi Choi replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
" I used Solid Differnce.. Check it..   "
Jul 10, 2012
Serge Neuman replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"If I understand well, the double loop is working on a projection, so I don't see how to immediately find out if the mesh is between the projection and the source of light or if it's the projection that is between the source of light…"
Jul 10, 2012
Danny Boyes replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"Hi David, Maybe you can make something of this. Because of the null/paths bug it doesn't work all the time but I was trying to demonstrate it for one above one intersecting and one below."
Jul 10, 2012
Piotr replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"Hi Jissi I have been recently struggling with the same problem (self casting shadows on a large objects) and I ended up with slicing breps. I have tested your definition to see if this brings an answer but I must say with regret - it…"
Jul 10, 2012
David Rutten replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"Yeah I suppose that's a nasty side-effect of the code. I use the following logic to find those shadows: If you find a good solution let me know and I'll adjust the algorithm. -- David Rutten david@mcneel.com Poprad, Slovakia"
Jul 10, 2012
Jissi Choi replied to Jeff M's discussion Mesh Shadow Component Casts Backwards Shadows
"Here is a solution.. using Dot product and Dispatch Component..   "
Jul 10, 2012
Jeff M posted a discussion

Mesh Shadow Component Casts Backwards Shadows

 Hello, I'm putting together a script that calculates a percentage of a surface that is shaded at various times during the day.  The backbone of this script is the mesh component. However, I've run into major problems with the mesh shadow component becasue it cast shadows not only in the direction of the vector (away from the sun, like one would expect) but also opposite the direction of the vector (towards the sun, like one woule not expect).  This means I cannot use the script I've written if…See More
Jul 9, 2012
Jeff M is now a member of Grasshopper
Jul 9, 2012

Profile Information

Comment Wall

You need to be a member of Grasshopper to add comments!

Join Grasshopper

  • No comments yet!
 
 
 

Translate

Search Grasshopper

Photos

  • Add Photos
  • View All

© 2013   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service