-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
24 lines (20 loc) · 826 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
projection.js is an implementation of the basic 3d orthogonal/perspective projection algorithms.
The purpose was to learn the basics of the computer graphics field , also to learn more about javascript.
Tested only on chrome , sorry for that.
Currently implemented :
-drawing points/lines/triangles.
-rotation and zoom.
-BSP to order the rastering of triangles.
-basic rendering which includes
--anti-aliasing
--simple lightening (diffuse shading , phong lightening , ambient lightening)
--shadows
--reflections (need more testing , disabled by default)
Licensed under :
- Creative commons Attribution 3.0
- http://creativecommons.org/licenses/by/3.0/
Credits:
sylvester.js Matrix and vector multiplication was used in this project.
link : http://sylvester.jcoglan.com/
Author : Ahmed Kotb
Email : kotbcorp [at] gmail.com