예제 #1
0
파일: scene.cpp 프로젝트: mircolosi/HW3_FCG
Scene* load_json_scene(const string& filename) {
    json_texture_cache.clear();
    json_texture_paths = { "" };
    auto scene = json_parse_scene(load_json(filename));
    json_texture_cache.clear();
    json_texture_paths = { "" };
    return scene;
}
예제 #2
0
파일: scene.cpp 프로젝트: okate/Raytrace
Scene* load_json_scene(const string& filename) {
    auto scene = json_parse_scene(load_json(filename));
    return scene;
}