-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
186 lines (157 loc) · 7.42 KB
/
index.html
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>reveal.js</title>
<!-- Google font -->
<link href='css/font/roboto.css' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="lib/reveal/css/reset.css">
<link rel="stylesheet" href="lib/reveal/css/reveal.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/reveal/lib/css/monokai.css">
<!-- Theme: choose either from lib/reveal/css/theme or take custom -->
<link rel="stylesheet" href="css/theme/avg.css">
<!-- <link rel="stylesheet" href="lib/reveal/css/theme/black.css"> -->
<!-- Layout based on flex boxes -->
<link rel="stylesheet" href="css/flex-layout.css">
<!-- Custom style sheet -->
<link rel="stylesheet" href="css/custom.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi )
? 'lib/reveal/css/print/pdf.css'
: 'lib/reveal/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<!-- Add your slides here -->
<section data-markdown="slides/title.html"></section>
<section data-markdown="slides/people.html"></section>
<section data-markdown="slides/motivation.html"></section>
<section data-markdown="slides/cis/motivation.html"></section>
<!-- <section data-markdown="slides/cis/related.html"></section> -->
<section data-markdown="slides/cis/method.html"></section>
<section data-markdown="slides/cis/experiments.html"></section>
<section>
<section data-markdown="slides/cis/conclusion.html"></section>
<section data-markdown="slides/cis/3d_representation.html"></section>
</section>
<!-- <section data-markdown="slides/graf/title.html"></section> -->
<!-- Motivation -->
<!-- <section data-markdown="slides/graf/motivation/vision_pipeline.html"></section> -->
<!-- <section data-markdown="slides/graf/motivation/carla_simulator.html"></section> -->
<!-- <section data-markdown="slides/graf/motivation/learned_simulator.html"></section> -->
<!-- Related -->
<section data-markdown="slides/graf/related/hologan.html"></section>
<section data-markdown="slides/graf/related/platonicgan.html"></section>
<section data-markdown="slides/graf/related/ours.html"></section>
<!-- Method -->
<section data-markdown="slides/graf/method/method_video.html"></section>
<!-- Experiments -->
<section data-markdown="slides/graf/experiments/comparison_baselines.html"></section>
<section data-markdown="slides/graf/experiments/scalability_to_highres.html"></section>
<section>
<section data-markdown="slides/graf/experiments/depth_cars.html"></section>
<section data-markdown="slides/graf/experiments/depth_faces.html"></section>
</section>
<section data-markdown="slides/graf/experiments/shape_appearance.html"></section>
<section data-markdown="slides/graf/experiments/real_datasets.html"></section>
<section data-markdown="slides/graf/experiments/failure.html"></section>
<!-- Back to Title -->
<section data-markdown="slides/kitti360/kitti360.html"></section>
<section data-markdown="slides/graf/end.html"></section>
</div>
</div>
<script src="lib/reveal/js/reveal.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
width: 1920,
height: 1080,
margin: 0,
minScale: 0.1,
maxScale: 10,
center: false,
display: "grid",
transition: "fade",
controlsTutorial: false,
hash: true,
dependencies: [
{ src: 'lib/reveal/plugin/markdown/marked.js' },
{ src: 'lib/reveal/plugin/markdown/markdown.js' },
{ src: 'lib/reveal/plugin/notes/notes.js', async: true },
{ src: 'lib/reveal/plugin/highlight/highlight.js', async: true },
{ src: 'lib/reveal/plugin/math/math.js', async: true },
{ src: 'lib/reveal/plugin/zoom-js/zoom.js', async: true },
]
});
</script>
<script src="js/reveal.js"></script>
<script>
Reveal.addEventListener('slidechanged', function(event) {
if ($(event.currentSlide).hasClass('video-stepper')) {
// When we enter a slide with a step-by-step video, we stop reveal.js
// from doing anything. Below, we define our own keystroke handler.
Reveal.removeEventListeners();
// Set the width and height of the video so that it fills the slide.
var stretcher = $(event.currentSlide).find('video.placeholder').get(0);
var video = $(event.currentSlide).find('video.video-step').get(0);
video.setAttribute('width', stretcher.getAttribute('width'));
video.setAttribute('height', stretcher.getAttribute('height'));
// Convert the data-sources attribute to an array of strings. We will
// iterate through the array with current_video_index.
var sources = JSON.parse(video.getAttribute('data-sources'));
var current_video_index = 0;
// Add a <source> element to the video and set the 'src' to
// the first video.
var source = document.createElement('source');
source.setAttribute('src', sources[0]);
video.appendChild(source);
document.addEventListener('keydown', function step_through_videos(event) {
if (event.which == 39) {
// right arrow key: show next video
// For the next video, create a new <video> element
// and place it on top of the old <video> element.
// Then load and play the new. This avoids flickering.
var new_video = $(video).clone().get(0);
var new_video_source = $(new_video).children('source').get(0);
new_video_source.src = sources[current_video_index];
new_video.load();
$(new_video).addClass('front video-step');
$(new_video).insertAfter(video);
new_video.play();
// Wait a little before removing the old video.
new Promise((resolve) => setTimeout(resolve, 500)).then(function() {
video.remove();
video = new_video;
$(video).removeClass('front');
});
current_video_index = current_video_index + 1;
event.preventDefault();
} else if (event.which == 37) {
// left arrow key: return the counter to previous video
current_video_index = current_video_index - 1;
event.preventDefault();
}
if (0 > current_video_index || current_video_index >= sources.length) {
// Reinstall reveal.js handlers.
document.removeEventListener('keydown', step_through_videos, true);
</script>
Reveal.addEventListeners();
console.log('Added reveal.js event listeners.');
}
}, true);
}
});
</script>
</body>
</html>