Ray Tracing from Scratch — Advanced 3D Image Data Augmentation in Python

3D Image Data Augmentation with applied motion and shading effects, Source: https://pixabay.com/photos/cat-kitten-pet-striped-young-1192026/

Mathematical Background

Simplified illustration of ray tracing rendering technique
Simplified illustration of the screen plane
Parametric form of the screen plane E
Normal vector of the screen plane E
Coordinate form of the screen plane E
Parametric form of the ray line g

Implementation in Python

Grid of projected 3d vertices on screen
surface = True
Source: https://pixabay.com/photos/cat-kitten-pet-striped-young-1192026/

References

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store