pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/vinibiavatti1/RayCastingTutorial/wiki

el="stylesheet" href="https://github.githubassets.com/assets/repository-3aa75d4cd2374bb7.css" /> Home · vinibiavatti1/RayCastingTutorial Wiki · GitHub
Skip to content
Vinicius Reif Biavatti edited this page Oct 3, 2019 · 3 revisions

Introduction

RayCasting is a technique to create a 3D projection based on 2D plane. This technique was used for old games when the computers didn't have a good performance like today computers. You can find this rendering method in Wolfstein 3D thats is consider the first 3D game ever. The game DOOM uses a similar technique known as binary space partitioning (BSP), but this tutorial is focused in the RayCasting implementation only.

Programming language

The programming language used for this tutorial is Javascript with HTML5. This was choosen because the ease of implementation and because this language is weak-typing, so this is fast to programming. The other rason to this language is that you will not need a lot of resources to execute you code, just a web browser. I recommend to use some IDE, like Visual Studio Code for codding.

Pre-requisites

The implementation is not so hard, but you have to know the basics of trigonometry, programming language and graphical programming (canvas). For more details of pre-requisites, check the list below:

  • Javascript (Programming language)
  • Basic of Trigonometry
  • HTML5 Canvas

Clone this wiki locally

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy