Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 6388 → Rev 6506

/programs/demos/ray/dataray.inc
1,29 → 1,35
 
non_rot_light:
;light:
dd 0.9, 0.9, 1.0
dd 0.5, 0.5, 1.9
;light2:
dd 0.1, 0.05, 0.5
dd 1.1, 1.05, 0.5
;light3:
dd 0.9, 0.1, 0.3
dd 1.9, 0.1, 3.3
 
dd 0.5, 0.5, -4.0
;light2:
dd 0.2, 0.2, -5.0
;light3:
dd 0.1, 0.9, -3.93
 
;sph_max dd 2
non_rot_sphere:
dd 0.7
dd 0.3
dd 0.4 ;, 0.0
dd 0.05
dd 0.05
dd 0.05 ;, 0.0
 
dd 0.2
dd 0.7
dd 0.3 ;, 0.0
dd 0.7
dd 0.7 ;, 0.0
 
dd 0.1
dd 0.1
dd 0.1 ;, 0.0
dd 0.5
dd 0.5
dd 0.41 ;, 0.0
 
dd 0.7
dd 0.7
dd 0.1 ;, 0.0
dd -4.1 ;, 0.0
 
dd 0.5
dd 0.2
30,18 → 36,41
dd 0.1 ;, 0.0
 
 
 
dd 0.3
dd 0.2
dd 0.1 ;, 0.0
 
dd 0.4
dd 0.7
dd 0.5 ;, 0.0
 
dd 0.05
dd 0.25
dd 0.8 ;, 0.0
 
sph_radius:
R dd 0.25
R dd 0.09
R2 dd 0.22
r3 dd 0.1
r4 dd 0.25
r5 dd 0.1
 
r6 dd 0.19
r7 dd 0.1
dd 0.17
 
 
align 16
surface:
dd 0.1, -1.0, 0.0 ; A B C constans in Ax+BY+Cz+D=0 surface equation
; make sure if normalized
dd 0.4 ; D element of equation above
 
camera:
x0 dd 0.5
y0 dd 0.5
z0 dd - 12.0 , 0.0
z0 dd - 6.0 , 0.0
 
;x1 dd
;y1 dd
52,6 → 81,8
dd 4.0, 4.0, 4.0, 4.0
float255:
dd 255.0, 255.0, 255.0, 255.0
zero:
dd 0.0, 0.0, 0.0, 0.0
;correct_tex:
;dd 64.0, 64.0, 64.0, 64.0
;light:
61,12 → 92,21
;light3:
;dd 0.9, 0.1, 0.3, 0.0
lights_color:
dd 250.0, 255.0, 155.0, 0.0
dd 200.0, 254.0, 0.0, 0.0
dd 255.0,37.0, 247.0, 0.0
 
dd 250.0, 255.0, 255.0, 0.0
dd 232.0, 254.0, 220.0, 0.0
dd 225.0,37.0, 247.0, 0.0
 
light_factor dd 0.33
tex_x dd 128
dd 120.0, 54.0, 199.0, 0.0
dd 25.0,137.0, 247.0, 0.0
shadow_factor:
dd 50.0, 50.0, 50.0, 50.0
positive_mask:
dd 0x7fffffff, 0x7fffffff, 0x7fffffff, 0.0
ambient_col:
db 30, 20, 25, 20
;light_factor dd 0.33
;tex_x dd 128
align 16
nearest_sphere:
rd 4
73,6 → 113,8
nearest_radius dd ?
smalest_t dd ?
align 16
surface_without_d:
rd 4
light:
rd 4 * MAX_LIGHTS
sphere: