Coder Social home page Coder Social logo

mike's Projects

2d-navierstokessmoke icon 2d-navierstokessmoke

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

clfft-tessendorfocean icon 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.

montecarloraytraycer icon 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.

tga-imageresize icon 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.