• Stars
    star
    367
  • Rank 116,257 (Top 3 %)
  • Language
  • Created over 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Raytracer in our favourite spreadsheet application!

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.

More Repositories

1

RayTracingInTheFragmentShaderGLSL

RayTracing In The Fragment Shader (OpenGL / GLSL)
GLSL
43
star
2

Real3DEngineInExcel

Real 3D Engine in Excel, following the logic presented in Chili's 3D Fundamentals YouTube series
37
star
3

Pseudo3DEngineInExcel

Pseudo 3D Engine, described using Excel
31
star
4

NBody-Physics

N-Body Physics Engine with Visualisation
C++
26
star
5

PacmanGame

My first game in C++: Pacman!
C++
16
star
6

Raytracer-In-Excel-GPU

Raytracer in our favourite spreadsheet application, using the GPU!
15
star
7

MazesInExcel

Generate Mazes - in Excel!
10
star
8

Steering-Behaviours

Emergent Behaviour Visualisation
C++
6
star
9

SCL_String

Public domain, header-only file to simplify the C programmer's life in their interaction with strings
C
5
star
10

GenericDataStructuresInC

Generic Data Structures In C
C
5
star
11

GameOfLifeInExcel

4
star
12

2DNormalMapsInExcel

2D Normal Maps - shown in Excel
4
star
13

Ray-Tracer-Challenge

Following the book Ray Tracer Challenge, implemented using CUDA
C++
3
star
14

TerrainGenerationOpenGLVertexShader

Terrain Generation in OpenGL's Vertex Shader
3
star
15

2DImageTransformsInExcel

2D Image Transforms in Excel - Translation, Rotation, and Scaling with Two Sampling Techniques
3
star
16

TexCells

A Game in Excel
3
star
17

NBody-Simulation-in-Excel

N-Body Simulation in Excel
2
star
18

Shadow-Casting-Excel

Shadow Casting in Excel
2
star
19

AstroVoids

An Asteroids Clone in C++ using the Chili Framework
C++
2
star
20

Elements

My take on an Entity Component System in C
C++
1
star
21

LoadBMPIntoExcel

Learn how to work with BMPs by loading in to Excel using easy VBA code
1
star
22

Gardeners-of-the-Galaxy

Game in C++ for Weekly Game Jam 97
C++
1
star
23

NBody_SIMD_Test

Testing SIMD in an NBody Simulation environment
C++
1
star