Britannia Virtual's repositories
Jpeg_Reader_Writer
Extremely simple C++ program to read and write Jpeg image files. Library-free LibJpeg implementation.
HLSL_Line_Shader
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.
HLSL_Screenspace_Quad_Shader
DirectX11 HLSL shader that draws a textured quad in screenspace using coordinates specified in a Geometry Shader.
HLSL_Sky_Shader
A DirectX 11 sky shader. Based on the Preetham Model for rendering an atmosphere. Only requires a basic cube for rendering a realistic sky.
Line_Segment_Triangle_Distance_3D
Distance between triangle and line segment. Intersection and nearest distance computed. Line segment consists of 2 3D points. All cases computed.
TGA_Reader_Writer
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.
Vector_3D_Utilities
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 & spherical coordinates and more.