not://files v3.0
  • All Posts
  • Archives
  • Categories
  • Tags
1 < 9 10 11 > 21

    Day 8, Making a scene

    Saturday, 2018-12-08 in devlog about #devember, #devember2018, #hourofcode, #raytracerchallenge, #ruby
    Further steps toward more pixels, teaching the world to tell what color a ray will see, and creating the necessary transforms for positioning the world in front of the camera. Then have the camera cast a ray, for each pixel in the resulting image, into the world.

    Day 7, Casting rays through the whole world

    Friday, 2018-12-07 in devlog about #devember, #devember2018, #hourofcode, #raytracerchallenge
    Lots of refactoring today, because old assumptions were smashed, and some cleanup of annoying duplications was needed. No new pixels yet, but maybe tomorrow? These where the previous two days pixel results, with the black background made transparent while converting them from ppm to png.

    Day 6, Shadows, Light and Magic

    Thursday, 2018-12-06 in devlog about #devember, #devember2018, #hourofcode, #raytracerchallenge, #ruby
    More than just hit detection, we’ve moved into the realm of reflection, lighting and shading. This is mainly about projecting vectors on other vectors, using dot products \(\overrightarrow{v1} \cdot \overrightarrow{v2}\) to measure the length of the projection. For that we need to find normal vectors of surfaces, and a light source.

    Day 5, Assume nothing

    Wednesday, 2018-12-05 in devlog about #devember, #devember2018, #hourofcode, #raytracerchallenge, #ruby
    Today I Learned that I shouldn’t have assumed the sphere would ever need to change from being a unit sphere, so intersecting gets even simpler:

    Day 4, Intersections

    Tuesday, 2018-12-04 in devlog about #devember, #devember2018, #hourofcode, #raytracerchallenge
    More math heavy stuff, calculating the positions along a ray, where it intersects a sphere. Turns out this is as simple as solving a quadratic equation, with some special coefficients.
1 < 9 10 11 > 21
  • Calle Englund
  • [email protected]
  • notCalle
  • @[email protected]
Random development ramblings, maybe.