-
Notifications
You must be signed in to change notification settings - Fork 26
/
config.m
25 lines (20 loc) · 934 Bytes
/
config.m
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
root_path = '.';
cd(root_path);
root_path = [pwd '/']; % set root path as full path
% mitsuba_path = [root_path '/mitsuba-af602c6fd98a/dist/'];
mitsuba_path = []; % assume path has been added in system path
suncg_path = [root_path '/planner5d/'];
gaps_path = [root_path '/gaps/'];
output_path = [root_path '/rendering/'];
% load([root_path '/util_data/projects_list.mat']); % for all scenes
load([root_path '/util_data/projects_list_short.mat']); % for demo
mapping_file = [root_path '/util_data/ModelCategoryMappingNewActive.csv'];
badroom_file = [root_path '/util_data/bad_room.txt'];
lighting_file = [root_path '/util_data/light_geometry_compact.mat'];
script_path = [root_path '/rendering/'];
xfov_half = 0.5534;
%%%%%%%%%%%%%
scn2cam_path = [gaps_path '/bin/x86_64/scn2cam'];
scn2img_path = [gaps_path '/bin/x86_64/scn2img'];
mtsimport_path = [mitsuba_path 'mtsimport'];
python_render_path = [root_path 'mitsuba_render.py'];