vb-workshop-harvard-gsd-woojsung-com1.pdfVIP

  • 10
  • 0
  • 约4.46万字
  • 约 16页
  • 2016-03-12 发布于山西
  • 举报
vb-workshop-harvard-gsd-woojsung-com1

COMPONENT ORIENTED SCRIPTING IN GRASSHOPPER VB RHINO GRASSHOPPER VISUAL BASIC WORKSHOP Intermediate Landscape as Digital Media by David Mah at GSD, HAVARD, 2011.11.18 GH version 0.8.0052 . . by woojae sung woojae.sung@ IDEA The goal of the definition is to simulate the way how water flows downwards on a hilly terrain. Let’s start by dividing the process into three parts; Part 1 - Define a drain slope vector at an arbitrary point, called ‘input point’ in our definition, on a give surface, then decide possible position of an ‘output point’ on the surface. When we are given a vector at a specific time and position, by multiplying a factor, we can predict what next position would be. In our case, we call the factor ‘distance_factor’ and this number will decide how precise the process would be. Part 2 - In Part 1, we got an ‘output point’ from an initial ‘input point’. If we use the ‘output point’ as another ‘input point’, we can get another ‘output point’. By repeating this until we cannot get a valid ‘output point’, we can get a water flow curve from the series of points. Part 3 - By supplying multiple ‘input points’ to the process explained in the previous steps, we can simulate water flow from multiple source on a given surface. Z VECTOR Z VECTOR NORMAL VECTOR SURFACE VECTOR INPUT POINT INPUT POINT CROSS PRODUCT VECTOR CROSS PRODUCT VECTOR (UNITIZED) (UNITIZED) DRAIN VECTOR

文档评论(0)

1亿VIP精品文档

相关文档