Skip to content
프로젝트

s0lly/Raytracer-In-Excel

GitHub에서 보기

소개

가장 좋아하는 스프레드시트 앱에서 레이 트레이싱을 구현합니다!

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

Raytracer-In-Excel

Raytracer in our favourite spreadsheet application!

Raytracer in Excel

ReadMe

NOTE: For this model to work, you need to copy Row 24 in the "Objects" tab, and paste it on to Row 25 to Row 14405. This takes a few moments to complete.

This excel file allows you to gain an intuitive understanding of how raytracing works in the basic setting of an excel workbook. The approach underpinning this model is largely based on that used in the book "The Ray Tracer Challenge" by Jamis Buck. It is an excelllent book that teaches the foundations of Raytracing in a fun and engaging way.

However, this model only implements a select number of concepts from the book, as oddly not everything is portable to our favourite application! I hope this is of help for those trying to learn the basics of raytracing!

Instructions:

First, you need to go to the sheet named "Screen". Next, you need to run the macro called "Play" - you can do this using the "PLAY" button.

This macro assigns new functionality to the following keys:

  • "w", "a", "s", "d": press these to move the camera forwards, backwards, and sideways
  • "r", "f": press these to move the camera up and down
  • "u", "i", "o", "j", "k", "l": press these to rotate the camera along the 3 different 3d axes
  • "esc": press this to end the game and reset all key functionality

NOTE: this macro overrides these key's normal functionality - you must press ESC at the end of your session to reenble these keys in excel to their original functionality

Alternatively, you can press the "ANIMATE" button which will move the camera along a predetermined path.

by s0lly https://www.youtube.com/c/s0lly https://www.instagram.com/s0lly.gaming/ https://twitter.com/s0lly https://https://www.twitch.tv/s0llygaming

THE MODEL IS PROVIDED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE MODEL OR THE USE OR OTHER DEALINGS IN THE MODEL.

관련 프로젝트 살펴보기

불러오는 중…