Skip to content

foxinuni/siliconray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Siliconray

The following proyect was made as a homework for my Embeded System's Design class. It is supposed to be a molecule of silicon- fully rendered using Raytracing and with no external libraries.

The only library used was stb image, which is only used to write the image buffer directly to PNG. The resulting GIF can be created using ffmpeg:

$ ffmpeg -framerate 30 -i %d.png -i palette.png -lavfi "paletteuse" output.gif

Building

  1. Having cmake installed, create a build directory and configure the project.
$ mkdir build
$ cd build
$ cmake ..
  1. Use make to build the project.
$ make
  1. Enjoy! You can execute the program using:
$ ./siliconray

NOTE: The following project was only tested on Linux (x86_64). However it could possibly run on Windows and OS-X given the correct tools are installed.

Example GIF

silicio

About

Taller de Diseño de Sistemas Embebidos - Molecula 3D de silicio utilizando Raytracing

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors