Tinykaboom

A brief computer graphics / rendering course
Alternatives To Tinykaboom
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Tinyrenderer16,118
4 months ago38otherC++
A brief computer graphics / rendering course
Filament15,8632421 hours ago93September 20, 202299apache-2.0C++
Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS, and WebGL2
Bgfx13,046
14 days ago1July 11, 2022287bsd-2-clauseC++
Cross-platform, graphics API agnostic, "Bring Your Own Engine/Framework" style rendering library.
Spritejs5,0716276 months ago430July 03, 202266mitJavaScript
A cross platform high-performance graphics system.
Tinyraytracer4,451
4 months ago15C++
A brief computer graphics / rendering course
Webglstudio.js4,064
3 years ago31mitJavaScript
A full open source 3D graphics editor in the browser, with scene editor, coding pad, graph editor, virtual file system, and many features more.
Gg3,8401062662 months ago7September 28, 202185mitGo
Go Graphics - 2D rendering in Go with a simple API.
Game Programmer Study Notes3,357
2 years ago1
:anchor: 我的游戏程序员生涯的读书笔记合辑。你可以把它看作一个加强版的Blog。涉及图形学、实时渲染、编程实践、GPU编程、设计模式、软件工程等内容。Keep Reading , Keep Writing , Keep Coding.
Diligentengine2,855
15 hours ago15apache-2.0Batchfile
A modern cross-platform low-level graphics library and rendering framework
Real Time Rendering 4th Bibliography Collection2,747
6 months ago101mitHTML
Real-Time Rendering 4th (RTR4) 参考文献合集典藏 | Collection of <Real-Time Rendering 4th (RTR4)> Bibliography / Reference
Alternatives To Tinykaboom
Select To Compare


Alternative Project Comparisons
Readme

KABOOM! in 180 lines of bare C++

This repository is a teaching aid for my computer graphics lectures. It is not meant to produce the ultimate or even physically realistic renders. It is meant to be simple. This project is distributed under the DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE.

Check the article that accompanies the source code.

This project is closely related to my software raytracer. If you are looking for a software rasterizer, check the other part of the lectures.

In my lectures I tend to avoid third party libraries as long as it is reasonable, because it forces to understand what is happening under the hood. So, the raytracing in 180 lines of plain C++ produces this result:

compilation

git clone https://github.com/ssloy/tinykaboom.git
cd tinykaboom
mkdir build
cd build
cmake ..
make

You can open the project in Gitpod, a free online dev evironment for GitHub:

Open in Gitpod

On open, the editor will compile & run the program as well as open the resulting image in the editor's preview. Just change the code in the editor and rerun the script (use the terminal's history) to see updated images.

Homework

The possibilities are infinte. For example, you can add the environment map and some transparency:

Add other objects and illuminate them:

Popular Rendering Projects
Popular Graphics Projects
Popular Graphics Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
C Plus Plus
Editor
Tutorials
3d Graphics
Rendering
Graphics
Shader
Computer Graphics
Ray Tracing
Graphics Programming
Rendering Engine