Georg Hopp
edd1185c1c
resize geometric objects
6 years ago
Georg Hopp
6539d87e67
fix construction of tetrahedron
6 years ago
Georg Hopp
7900e2ff6a
First working z-buffer.
6 years ago
Georg Hopp
56b9b96aa6
fix edge detection
6 years ago
Georg Hopp
e5a7533fad
Start fixing vertex order
6 years ago
Georg Hopp
e531838921
First not fully correct filled polygons
6 years ago
Georg Hopp
df1eb1c028
Pass 1/z into rasterizer and already interpolate on polygon edges
6 years ago
Georg Hopp
9911ab0166
Add homogenous point.
A homogenous point, that is (x, y, z, w) is needed for some
transdormations and calculations. Right now i need it to get
correct 1/z values after 2D projection which in turn will be
needed for z-buffer and texture mapping.
6 years ago
Georg Hopp
6fd0ac65e9
Make TMatrix constructors part of the implementation
6 years ago
Georg Hopp
b2f9d492c1
first very simple shading
Add a very simple shader with a direct light source. The shader
modifies the color of a polygon just by the angle between the face
normal and the light source. This has no physical resemblance at
all but let me check if the normal calculation works so far...
6 years ago
Georg Hopp
2052a7a843
user projection matrix
6 years ago
Georg Hopp
b06ee13bf7
display both f64 and Fractional based polygons
6 years ago
Georg Hopp
561f75cd4a
Vector code now works with Fractions .. but slower
6 years ago
Georg Hopp
1e6d133ffe
Add geometric primitives
6 years ago
Georg Hopp
1cfd791833
display remaining sleep time for next frame in window
6 years ago
Georg Hopp
d8cd5ed970
more accurate timing
6 years ago
Georg Hopp
6743cf2985
Move drawing to separate thread
6 years ago
Georg Hopp
f06b625998
Add first simple triable animation based on fractionals
6 years ago
Georg Hopp
45d1af9c59
Add first transformed Polygon
6 years ago
Georg Hopp
b36e20a2a0
Add Drawable primitives
6 years ago
Georg Hopp
4edbecaf81
Add a way to merge an iterator of transformation matrices
6 years ago
Georg Hopp
c99cc1eea0
Add tail recursice bresenham line
6 years ago
Georg Hopp
8108c69c55
Fix reduce code
6 years ago
Georg Hopp
725ece9a4a
Generics for Vector and Transform
6 years ago
Georg Hopp
41d4d98bae
More Vector tests
6 years ago
Georg Hopp
8274976de6
Add basic geometric transformations
6 years ago
Georg Hopp
18b0a54202
Add Display trait for Vector
6 years ago
Georg Hopp
31aa7b729c
Add first vector math stuff
6 years ago
Georg Hopp
93df7adadf
Add recursion example
6 years ago
Georg Hopp
15ea57a24b
Add continued fraction and use them to get a better sqrt approximation
6 years ago
Georg Hopp
5cd265a6f0
Add sqrt approximation for fractionals
6 years ago
Georg Hopp
fef116697a
add trigon functions sin and cos as static tables of Fractional
6 years ago