Skip to content
mounirLbathPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

Raytracer

A raytracer built from scratch in Python.
It renders simple 3D scenes with diffuse and specular materials.

Overview

The project implements a minimal raytracing engine that supports:

  • Ray–sphere intersection
  • Diffuse and specular reflections
  • Adjustable camera (resolution and field of view)

Learned and inspired by this course.

Example Renders

Specular Example Animation Example

Usage

  1. Define your scene in main.py.
  2. Change resolution or field of view in this line.
  3. To perform multiple renders, create a /renders/ directory and add an ImageID.txt file inside.
  4. Run the main file:
python main.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages