Skip to content
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

Sun Range Bitmap Daily R1/3 - Update 2018-06-17 #130

Open
theo-armour opened this issue Jun 9, 2018 · 2 comments
Open

Sun Range Bitmap Daily R1/3 - Update 2018-06-17 #130

theo-armour opened this issue Jun 9, 2018 · 2 comments

Comments

@theo-armour
Copy link
Member

@ladybug-tools/spiders

image

Shadows calculated as one position per minute for a total of 720 sun positions projected onto a 512 x 512 pixel bitmap applied to a Three.js mesh as a material with anistropy of 4

sun range bitmap daily R1

  • Givens:

    • a bunch of random boxes in 3D space and a ground plane
    • Any latitude and longitude
    • Any month and day of the year
    • Number of pixels per side of generated bitmap - from 16 to 512
    • Number of time slices per hour for twelve hours - from once an hour to once a minute
    • Anisotropy ( softness of shadow ) - from none to 16
  • Generates:

    • Data for shadows cast by the boxes on to the surface
    • Creates a bitmap to display the calculated data
    • Applies bitmap as a material texture to a Three.js mesh
    • Generates spheres to represent position of Sun
    • Completion time ranges from sub-second to several minutes depending on parameters

Wish list / To Do

  • 2018-06-08 ~ Theo ~ Add actual building data from gbXML or Radiance files
  • 2018-06-08 ~ Theo ~ Obtain further data from EPW files
  • 2018-06-08 ~ Theo ~ Add false colors capability
  • 2018-06-08 ~ Theo ~ Add add seasonal and annual output capability
  • 2018-06-08 ~ Theo ~ Make even faster
@theo-armour
Copy link
Member Author

theo-armour commented Jun 10, 2018

@bwelle

image

Sun Range Bitmap Yearly R1

  • Draws a Sun for every 1 to 60 minutes per 12 hour day for each of the twelve months
  • Select to draw for quarters or full year
  • Only draws a Sun that is above the horizon

@theo-armour
Copy link
Member Author

Starting to add the geometry for the number of shadow incidents per time period

Sun Range Bitmap Daily R3

image

  • Fifty randomly position planes with 2x2 vertices per plane
  • 128x128 pixel ground plane bitmap. 14 hours at 15 minute intervals
  • Light and darkness on plane/ green and red arrows at vertices: both indicate the number of shadow events at each vertex

image

Coming up next: shadow events on actual gbXML and RAD files

@theo-armour theo-armour changed the title Sun Range Bitmap Daily R1 Sun Range Bitmap Daily R1/3 - Update 2018-06-17 Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant