-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONFIG.ASM
24 lines (21 loc) · 826 Bytes
/
CONFIG.ASM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
IDEAL
P386
MODEL FLAT, C
ASSUME cs:_TEXT,ds:FLAT,es:FLAT,fs:FLAT,gs:FLAT
include "config.inc"
include "./RT/vec.inc"
;; The main configuration for the raytracer. GUI will change these values
;; and the raytracer component will use them.
DATASEG
config_video_img_width dd 800 ;
config_video_img_height dd 600 ;
config_video_img_focal_length dd 1.0
config_video_img_fov dd 60.0 ;
config_render_samples dd 16 ;
config_render_max_bounces dd 16 ;
config_render_background dd 0.5, 0.5, 0.8
config_render_hdri_path db 32 dup (0) ;
config_render_cam_pos dd 0.0, 0.0, -6.0 ;
config_render_cam_look_at dd 0.0, 0.0, 0.0
config_render_scene_file db 32 dup (0)
END