-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathTODO.txt
51 lines (36 loc) · 1.03 KB
/
TODO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
-eclairage frontal
-eclairage lampe => cosinus(normal,lamp)/d^2
-reflexion speculaire : miroir
-gamma : SRGB=encodedRGB=f(x)=x^(1/2.2)*255
-linearRGB=g(x)=(x/255)^2.2
-rgbe => HDR, non-normalized double, super RAW
(-reflexion diffuse : lambertian, inversion de matrice, 1 / (1 - A))
TODO:
-support more objects (facet, etc..)
-support colored lamps
-support object as lamp
-support focal view (lens ?)
-support parameterized normals
-support refraction
Stats: spyr.json, linux
(see here for interesting post about C, Rust, Go, .. :
http://www.viva64.com/en/b/0324/)
-1000x1000:
raypy : 0:55.11 = 56 = 56x
raygo : 0:02.38 = 3 = 3x
raycpp: 0:00.72 = 1
-10000x1000:
raypy :
raygo :
raycpp:
Stats: spyr.json, windows, write to rayXX.ppm
-1000x1000:
raypy : 1:05.46 = 72 => 90.92x
raygo : 0:01.58 = 2 => 2.19x
raycpp: 0:00.88 = 1 => 1.22x
rayc : 0:00.72 = 1 => 1x
-1000x10000:
raypy :10:52.79 = 657 => 126.75x code: 101
raygo : 0:14.32 = 16 => 2.78x code: 173
raycpp: 0:06.86 = 7 => 1.33x code: 706
rayc : 0:05.15 = 5 => 1x code: 190