mike (micma909)

micma909

Geek Repo

Location:Sweden

Home Page:https://cgprogramming.carbonmade.com/

Github PK Tool:Github PK Tool

mike's repositories

quadocttree

just a quick dump of code

Language:C++Stargazers:0Issues:0Issues:0
Language:C++Stargazers:0Issues:0Issues:0
Language:C++Stargazers:0Issues:0Issues:0
Language:C++Stargazers:0Issues:0Issues:0
Stargazers:0Issues:0Issues:0

MonteCarloRaytraycer

The famous rendering equation was first introduced in 1986 by James Kajiya and later refined to bidirectional path tracing by Lafortune. Its numerical solution is approximated by the path tracing algorithm, also referred to as Monte Carlo raytracing. Essentially, the algorithm integrates over all illuminance arriving at a surface point. All such paths in the scene are generated by recursion as with each ray-surface intersection the algorithm performs illuminance gathering over a hemispherical region. This sampling region is a construct of propabilistic generation of new rays in accordance with the Bidirectional Random Distribution Function (BRDF) provided by the surface. The BRDF can be thought of as a four dimensional function that has the ability to modify the hemispherical region to favour certain directions to simulate surfaces that are not fully opaque. As the level of recursion and number of samples increases the repeated sampling will eventually cause the average of samples to converge towards the analytic solution.

Language:C++License:MITStargazers:4Issues:0Issues:0

MemoryManager

An excercise in memory managment, based in IBM blogpost.

Language:C++License:MITStargazers:0Issues:0Issues:0

TGA-ImageResize

An excercise I did in reading and resizing .tga images without using any pre-existing frameworks or libraries. The main class 'TargaHandler.cpp' uses a MemoryManager to pre-allocate memory for multiple resize operations.

Language:C++License:MITStargazers:0Issues:0Issues:0

2D-NavierStokesSmoke

2D fluid simulation based on Navier-Stokes equations as part of a system-modelling course at Linköping Technical University.

Language:C++License:MITStargazers:0Issues:0Issues:0

CLFFT-TessendorfOcean

Real time Ocean Simulation based on Jerry Tessendorf’s paper ‘Simulating Ocean Waves’. The algorithm is based on a statistical model, in which wave height is a random variable of horizontal position and time. It decomposes the wave height field into a set of sine-waves with different amplitudes and phases. The model itself provides us with a method to generate these amplitudes and phases, and we use inverse Fast Fourier Transform as a means to quickly evaluate the sum of these sine-waves. Rendered using GLSL, OpenGL and OpenCL.

Language:C++License:MITStargazers:2Issues:0Issues:0