Skip to content

Instantly share code, notes, and snippets.

View abstractalgo's full-sized avatar

Dragan Okanovic abstractalgo

View GitHub Profile
fbo, tex, vbo, vao, shader
transform
fbo + shader = pass
vbo + vao = geometry
fbo + tex = rendertarget
shader = material
geoemtry + transform + material = mesh
@abstractalgo
abstractalgo / pathtrace.cpp
Last active March 18, 2017 18:19
pathtrace
#include "stdio.h"
#include <iostream>
#define SCREEN_WIDTH 640
#define SCREEN_HEIGHT 480
#define STEPS 10
#define BLACK Color(0, 0, 0)
struct Color
@abstractalgo
abstractalgo / predavanja
Last active August 29, 2015 14:12
predavanje
--------------------------------------------------------------------------------
-------------- sta je svetlo ---------------------------------------------------
--------------------------------------------------------------------------------
sta je, kako nastaje, kako ga mi primecujemo
EM, fotoni
--------------------------------------------------------------------------------
-------------- rasterizacija vs raytracing -------------------------------------