From abd78f2b1dd69ebd1aabfda8ae45800e4c7322bb Mon Sep 17 00:00:00 2001 From: "Dmitry V. Sokolov" Date: Sun, 20 Jan 2019 18:54:28 +0100 Subject: [PATCH] Updated Home (markdown) --- Home.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Home.md b/Home.md index 217c879..b877bcb 100644 --- a/Home.md +++ b/Home.md @@ -56,7 +56,7 @@ So, the goal of this step is to make sure that we can a) create an image in memo

Step 2, the crucial one: ray tracing

-This is the most important and difficult step of the whole chain. I want to define one sphere in my code and show it on the screen without being obsessed with materials or lighting. This is how our result should look like: +This is the most important and difficult step of the whole chain. I want to define one sphere in my code and draw it without being obsessed with materials or lighting. This is how our result should look like: For the sake of convenience, I have one commit per step in my repository; Github makes it very easy to view the changes made. Here, for instance, what was changed by the second commit. @@ -122,13 +122,13 @@ void render(const Sphere &sphere) { } ``` -На этом месте рекомендую взять карандаш и проверить на бумаге все вычисления, как пересечение луча со сферой, так и заметание картинки лучами. На всякий случай, наша камера определяется следующими вещами: +At this point, I recommend you to take a pencil and check on paper all the calculations (the ray-sphere intersection and the sweeping of the picture with the rays). Just in case, our camera is determined by the following things:

Этап третий: добавляем ещё сфер