Code repository for Britannia Virtual graphics and physics engine. Here can be found a library of HLSL shaders used in the engine and C++ code mainly related to computer graphics, rendering, vectors and geometry.
Related Links
Code repository for Britannia Virtual graphics and physics engine. Here can be found a library of HLSL shaders used in the engine and C++ code mainly related to computer graphics, rendering, vectors and geometry.
Related Links
Extremely simple C++ program to read and write Jpeg image files. Library-free LibJpeg implementation.
C++ 5
A DirectX 11 sky shader. Based on the Preetham Model for rendering an atmosphere. Only requires a basic cube for rendering a realistic sky.
HLSL 2
DirectX 11 shader to draw solid 3D line based on two 3D points as the vertex input. Line width and fill color specified with a cbuffer. Uses geometry shader to render the billboard line.
DirectX11 HLSL shader that draws a textured quad in screenspace using coordinates specified in a Geometry Shader.
HLSL
C++ 3D Vector class and utilities for common vector operations such as euclidean distance, multiplication of vectors, dot, cross, vector-plane intersect, triangle distance, to/from cartesan & spher…
C++
Simplified read and write Targa format .tga image files in C++. Utility routines to rotate, flip horizontal and vertical, resample, draw rectangles on an image.
C++