2016-08-30 23:42:00 +02:00
|
|
|
|
2016-04-02 13:23:16 +02:00
|
|
|
non_rot_light:
|
|
|
|
;light:
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 0.5, 0.5, 1.9
|
2016-04-02 13:23:16 +02:00
|
|
|
;light2:
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 1.1, 1.05, 0.5
|
2016-04-02 13:23:16 +02:00
|
|
|
;light3:
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 1.9, 0.1, 3.3
|
2016-04-02 13:23:16 +02:00
|
|
|
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 0.5, 0.5, -4.0
|
|
|
|
;light2:
|
|
|
|
dd 0.2, 0.2, -5.0
|
|
|
|
;light3:
|
|
|
|
dd 0.1, 0.9, -3.93
|
2016-04-02 13:23:16 +02:00
|
|
|
|
|
|
|
;sph_max dd 2
|
|
|
|
non_rot_sphere:
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 0.05
|
|
|
|
dd 0.05
|
|
|
|
dd 0.05 ;, 0.0
|
2016-04-02 13:23:16 +02:00
|
|
|
|
|
|
|
dd 0.7
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 0.7
|
|
|
|
dd 0.7 ;, 0.0
|
2016-04-02 13:23:16 +02:00
|
|
|
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 0.5
|
|
|
|
dd 0.5
|
|
|
|
dd 0.41 ;, 0.0
|
2016-04-02 13:23:16 +02:00
|
|
|
|
|
|
|
dd 0.7
|
|
|
|
dd 0.7
|
2016-08-30 23:42:00 +02:00
|
|
|
dd -4.1 ;, 0.0
|
2016-04-02 13:23:16 +02:00
|
|
|
|
|
|
|
dd 0.5
|
|
|
|
dd 0.2
|
|
|
|
dd 0.1 ;, 0.0
|
|
|
|
|
|
|
|
|
2016-08-30 23:42:00 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2016-04-02 13:23:16 +02:00
|
|
|
sph_radius:
|
2016-08-30 23:42:00 +02:00
|
|
|
R dd 0.09
|
2016-04-02 13:23:16 +02:00
|
|
|
R2 dd 0.22
|
|
|
|
r3 dd 0.1
|
|
|
|
r4 dd 0.25
|
|
|
|
r5 dd 0.1
|
|
|
|
|
2016-08-30 23:42:00 +02:00
|
|
|
r6 dd 0.19
|
|
|
|
r7 dd 0.1
|
|
|
|
dd 0.17
|
|
|
|
|
|
|
|
|
2016-04-02 13:23:16 +02:00
|
|
|
align 16
|
2016-08-30 23:42:00 +02:00
|
|
|
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
|
|
|
|
|
2016-04-02 13:23:16 +02:00
|
|
|
camera:
|
|
|
|
x0 dd 0.5
|
|
|
|
y0 dd 0.5
|
2016-08-30 23:42:00 +02:00
|
|
|
z0 dd - 6.0 , 0.0
|
2016-04-02 13:23:16 +02:00
|
|
|
|
|
|
|
;x1 dd
|
|
|
|
;y1 dd
|
|
|
|
;z1 dd
|
|
|
|
float2:
|
|
|
|
dd 2.0, 2.0, 2.0, 2.0
|
|
|
|
float4:
|
|
|
|
dd 4.0, 4.0, 4.0, 4.0
|
|
|
|
float255:
|
|
|
|
dd 255.0, 255.0, 255.0, 255.0
|
2016-08-30 23:42:00 +02:00
|
|
|
zero:
|
|
|
|
dd 0.0, 0.0, 0.0, 0.0
|
2016-04-02 13:23:16 +02:00
|
|
|
;correct_tex:
|
|
|
|
;dd 64.0, 64.0, 64.0, 64.0
|
|
|
|
;light:
|
|
|
|
;dd 0.9, 0.9, 1.0, 0.0
|
|
|
|
;light2:
|
|
|
|
;dd 0.1, 0.05, 0.5, 0.0
|
|
|
|
;light3:
|
|
|
|
;dd 0.9, 0.1, 0.3, 0.0
|
|
|
|
lights_color:
|
2016-08-30 23:42:00 +02:00
|
|
|
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
|
2016-04-02 13:23:16 +02:00
|
|
|
|
2016-08-30 23:42:00 +02:00
|
|
|
dd 250.0, 255.0, 255.0, 0.0
|
|
|
|
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
|
2016-04-02 13:23:16 +02:00
|
|
|
align 16
|
|
|
|
nearest_sphere:
|
|
|
|
rd 4
|
|
|
|
nearest_radius dd ?
|
|
|
|
smalest_t dd ?
|
|
|
|
align 16
|
2016-08-30 23:42:00 +02:00
|
|
|
surface_without_d:
|
|
|
|
rd 4
|
2016-04-02 13:23:16 +02:00
|
|
|
light:
|
|
|
|
rd 4 * MAX_LIGHTS
|
|
|
|
sphere:
|
|
|
|
rd 4 * MAX_SPHERES
|
|
|
|
;bitmap file '128x128.raw'
|