## Ocamlpt (2020)

**Ocamlpt** is a path tracer live-coded in Youtube stream.
It is based on Peter Shirley's fantastic book series "Ray Tracing in a Weekend."

- Show all
- C++
- Elm
- Functional Programming
- Game
- Graphics
- GraphQL
- i18n
- Javascript
- Library
- Mathematics
- OCaml
- OpenGL
- Programming Languages
- React
- Ray tracing
- Typescript
- Web

Show 5 projects filtered by *Graphics*.

**Ocamlpt** is a path tracer live-coded in Youtube stream.
It is based on Peter Shirley's fantastic book series "Ray Tracing in a Weekend."

*beyond::core* is a library with a bunch of utilities that are associated with graphics. It serves as a supplementary of the C++ standard library and is shared in a lot of my graphics projects. The library implements an ECS, a math library built for 3d graphics, a thread pool, and some customized containers.

This project is my implementation of the paper Responsive Real-Time Grass Rendering for General 3D Scenes. It uses a combination of compute and tessellation shaders to implement grass simulation and rendering. Grass blades are represented by Bezier curves, and the tessellation shaders dynamically create the grass geometry from the Bezier curves. The compute shader performs Euler's method to simulate the physics of grass blades and then use various culling techniques to reduces the grass blades to draw each frame.

A Monte-Carlo Method based path tracing program for my own learning purpose. It is loosely based on Peter Shirley's Ray Tracing in One Weekend mini book and its sequels.

This is a toy ray tracer for the Edx's Computer Graphics Course. It is my first large scale personal coding project. It parses an ad-hoc scene description text format and then performs recursive ray-tracing. The ray tracer handles ray-sphere and ray-triangle intersection but is slow on large scenes because it does not implement any acceleration structures.