-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
444 lines (395 loc) · 19.6 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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script>
<script src="/js/video_comparison.js"></script>
<title>Text-To-4D Dynamic Scene Generation</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- <script type="text/javascript">-->
<!-- document.addEventListener("DOMContentLoaded", () => {-->
<!-- // Get the user-agent string-->
<!-- let userAgentString =-->
<!-- navigator.userAgent;-->
<!-- // Detect Chrome-->
<!-- let chromeAgent =-->
<!-- userAgentString.indexOf("Chrome") > -1;-->
<!-- // Detect Internet Explorer-->
<!-- let IExplorerAgent =-->
<!-- userAgentString.indexOf("MSIE") > -1 ||-->
<!-- userAgentString.indexOf("rv:") > -1;-->
<!-- // Detect Firefox-->
<!-- let firefoxAgent =-->
<!-- userAgentString.indexOf("Firefox") > -1;-->
<!-- // Detect Safari-->
<!-- let safariAgent =-->
<!-- userAgentString.indexOf("Safari") > -1;-->
<!-- // Discard Safari since it also matches Chrome-->
<!-- if ((chromeAgent) && (safariAgent))-->
<!-- safariAgent = false;-->
<!-- // Detect Opera-->
<!-- let operaAgent =-->
<!-- userAgentString.indexOf("OP") > -1;-->
<!-- // Discard Chrome since it also matches Opera-->
<!-- if ((chromeAgent) && (operaAgent))-->
<!-- chromeAgent = false;-->
<!-- // if (chromeAgent && screen.width > 1000) {-->
<!-- // let mobileElements = document.getElementsByClassName('div-only-mobile');-->
<!-- // for (var i = 0; i < mobileElements.length; i++) {-->
<!-- // mobileElements[i].style.display = 'none';-->
<!-- // }-->
<!-- // } else {-->
<!-- // let deskElements = document.getElementsByClassName('div-only-desk');-->
<!-- // for (var i = 0; i < deskElements.length; i++) {-->
<!-- // deskElements[i].style.display = 'none';-->
<!-- // }-->
<!-- // }-->
<!-- });-->
<!-- </script>-->
<style type="text/css">
.meshViewer {
height: 256px;
width: 256px;
border: none;
overflow: hidden;
display: none;
}
.video {
width: 100%;
height: auto;
position: relative;
top: 0;
left: 0;
}
.videoMerge {
position: relative;
top: 0;
left: 0;
z-index: 10;
width: 100%;
display: block;
margin: 0 auto;
background-size: cover;
}
.viewerToggle {
display: block;
text-align: center;
overflow: hidden;
border: none;
margin-top: 10px;
}
.viewerToggle:hover {
text-decoration: none;
}
#load_more {
text-decoration: none;
}
.largeContainer {
display: flex;
flex-wrap: wrap;
align-items: flex-end;
row-gap: 30px;
}
.emptydiv {
height: 59px;
}
.div-only-desk {
}
.div-only-mobile {
}
@media screen and (min-width: 1240px) and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
.div-only-desk {
visibility: visible;
}
.div-only-mobile {
visibility: hidden;
display: none;
}
}
@media screen and (max-width: 1239px) {
.div-only-desk {
visibility: hidden;
display: none;
}
.div-only-mobile {
visibility: visible;
}
}
@keyframes placeHolderShimmer {
0% {
background-position: -800px 0
}
100% {
background-position: 800px 0
}
}
.animated-background {
animation-duration: 2s;
animation-fill-mode: forwards;
animation-iteration-count: infinite;
animation-name: placeHolderShimmer;
animation-timing-function: linear;
background-color: #f6f7f8;
background: linear-gradient(to right, #eeeeee 8%, #bbbbbb 18%, #eeeeee 33%);
background-size: 800px 104px;
height: 256px;
width: 256px;
position: relative;
}
</style>
<link rel="apple-touch-icon" sizes="180x180" href="assets/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicon-16x16.png">
<meta property="og:site_name" content="Text-To-4D Dynamic Scene Generation"/>
<meta property="og:type" content="website"/>
<meta property="og:title" content="Text-To-4D Dynamic Scene Generation"/>
<meta property="og:description" content="Text-To-4D Dynamic Scene Generation, 2023."/>
<meta property="og:image" content="https://make-a-video3d.github.io/assets/images/teaser.png"/>
<meta name="twitter:title" content="Text-To-4D Dynamic Scene Generation"/>
<meta name="twitter:description"
content="In this paper we combine the benefits of video and 3D generative models and propose a system for text-to-4D (3D+time) generation."/>
<meta name="twitter:image" content="https://make-a-video3d.github.io/assets/images/teaser.png"/>
</head>
<style type="text/css">
body {
font-family: "Verdana"
}
</style>
<body>
<div class="w3-container w3-padding-32">
<h1 class=" " style="text-align: center;">Text-To-4D Dynamic Scene Generation</h1>
</div>
<div class="container" style="max-width: 780px;">
<div class="row authors" style="padding-bottom: 15px;">
<div class="col-sm-4">
<h5 class="text-center">Uriel Singer*</h5>
</div>
<div class="col-sm-4">
<h5 class="text-center">Shelly Sheynin*</h5>
</div>
<div class="col-sm-4">
<h5 class="text-center">Adam Polyak*</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Oron Ashual</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Iurii Makarov</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Filippos Kokkinos</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Naman Goyal</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Andrea Vedaldi</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Devi Parikh</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Justin Johnson</h5>
</div>
<div class="col-sm-3">
<h5 class="text-center">Yaniv Taigman</h5>
</div>
</div>
<div class="w3-display-container w3-content" style="max-width: 780px; padding-bottom: 20px;">
<h6 class="text-center" style="text-align: center;"><sup>*</sup>Equal Contribution</h6>
</div>
<div class="w3-display-container w3-content" style="max-width: 780px; padding-bottom: 20px;">
<h5 class="text-center" style="text-align: center;">Meta AI</h5>
</div>
<div class="w3-display-container w3-content" style="max-width: 780px; padding-bottom: 20px;">
<h4 class="text-center" style="text-align: center;"><a href="https://arxiv.org/abs/2301.11280">[Paper]</a></h4>
</div>
</div>
<!-- Header -->
<header class="w3-display-container w3-content w3-wide" style="max-width:500px;" id="home">
<video loop autoplay muted playsinline src="assets/rotating_grid.mp4" style="width:100%; "
poster="assets/images/teaser.png"></video>
</header>
<!-- Page content -->
<div class="w3-content w3-padding" style="max-width:1200px">
<!-- Abstract Section -->
<div class="w3-container w3-padding-32">
<h2 class="w3-border-bottom w3-border-light-grey w3-padding-16">Abstract</h2>
<p>
We present MAV3D (<b>M</b>ake-<b>A</b>-<b>V</b>ideo<b>3D</b>), a method for generating three-dimensional
dynamic scenes from text descriptions. Our approach uses a 4D dynamic Neural Radiance Field (NeRF),
which is optimized for scene appearance, density, and motion consistency by querying a Text-to-Video (T2V)
diffusion-based model. The dynamic video output generated from the provided text can be viewed from any
camera location and angle, and can be composited into any 3D environment. MAV3D does not require any 3D
or 4D data and the T2V model is trained only on Text-Image pairs and unlabeled videos. We demonstrate the
effectiveness of our approach using comprehensive quantitative and qualitative experiments and show an
improvement over previously established internal baselines. To the best of our knowledge, our method is
the first to generate 3D dynamic scenes given a text description.
</p>
</div>
<!-- text-to-4d Section -->
<div class="w3-container w3-padding-32">
<h2 class="w3-border-bottom w3-border-light-grey w3-padding-16">Text-to-4D</h2>
</div>
<div id='textToVideos' class="w3-row-padding largeContainer">
</div>
<a href="#" id='load_more' onclick="add_videos(); return false;" class="w3-button w3-pale-red w3-block" style="margin-top: 15px;">Load more samples</a>
<!-- Image to 4d Section -->
<div class="w3-container w3-padding-32" id="about">
<h2 class="w3-border-bottom w3-border-light-grey w3-padding-16">Image-to-4D</h2>
</div>
<table class="div-only-desk div-only-desk" align="center">
<tr style="border-bottom:5px solid black">
<td width="256" valign="middle" halign="middle" align="center"
style="padding-left: 10px; padding-bottom: 10px;">Input Image
</td>
<td></td>
<td width="256" valign="middle" halign="middle" align="center"
style="padding-left: 10px; padding-bottom: 10px;">Generate Video
</td>
<td style="padding-left: 10px; padding-bottom: 10px; border-left:5px solid black" width="256"
valign="middle" halign="middle" align="center">Input Image
</td>
<td></td>
<td width="256" valign="middle" halign="middle" align="center"
style="padding-left: 10px; padding-bottom: 10px;">Generate Video
</td>
</tr>
<tr style="border-bottom:5px solid black">
<td align="left" style="padding-left: 10px;"><img class="center" width="256" height="256"
src="assets/image_to_4D/a%20cat%20shaped%20kite%20sits%20in%20the%20grass..png">
</td>
<td align="center"><font size="+10"> → </font></td>
<td align="left" style="padding-left: 10px;">
<video preload="none" class="video" id="video61" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_cat_shaped_kite_sits_in_the_grass.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video61Merge"></canvas>
</td>
<td style="border-left:5px solid black; padding-left: 10px;" align="left"><img class="center" width="256"
height="256"
src="assets/image_to_4D/a%20large%20blue%20bird%20standing%20next%20to%20a%20painting%20of%20flowers..png">
</td>
<td align="center"><font size="+10"> → </font></td>
<td align="left" style="padding-left: 10px;">
<video preload="none" class="video" id="video62" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_large_blue_bird_standing_next_to_a_painting_of_flowers.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video62Merge"></canvas>
</td>
</tr>
<tr>
<td align="left" style="padding-left: 10px;"><img class="center" width="256" height="256"
src="assets/image_to_4D/a%20picture%20of%20a%20flamingo%20scratching%20its%20neck..png">
</td>
<td align="center"><font size="+10"> → </font></td>
<td align="left" style="padding-left: 10px;">
<video preload="none" class="video" id="video71" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_picture_of_a_flamingo_scratching_its_neck.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video71Merge"></canvas>
</td>
<td style="border-left:5px solid black; padding-left: 10px;" align="left"><img class="center" width="256"
height="256"
src="assets/image_to_4D/a%20small%20green%20vase%20displays%20some%20small%20yellow%20blooms..png">
</td>
<td align="center"><font size="+10"> → </font></td>
<td align="left" style="padding-left: 10px">
<video preload="none" class="video" id="video72" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_small_green_vase_displays_some_small_yellow_blooms.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video72Merge"></canvas>
</td>
</tr>
</table>
<div class="w3-row-padding div-only-mobile">
<div class="w3-col l3 m6">
<p valign="middle" halign="middle" align="center">Input Image</p>
<img class="center" width="256" height="256"
src="assets/image_to_4D/a%20cat%20shaped%20kite%20sits%20in%20the%20grass..png" xml="" alt=""/>
<p valign="middle" halign="middle" align="center">Generated Video</p>
<video preload="none" class="video" id="video610" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_cat_shaped_kite_sits_in_the_grass.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video610Merge"></canvas>
</div>
<div class="w3-col l3 m6">
<p valign="middle" halign="middle" align="center">Input Image</p>
<img class="center" width="256" height="256"
src="assets/image_to_4D/a%20large%20blue%20bird%20standing%20next%20to%20a%20painting%20of%20flowers..png"
xml=""/>
<p valign="middle" halign="middle" align="center">Generated Video</p>
<video preload="none" class="video" id="video620" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_large_blue_bird_standing_next_to_a_painting_of_flowers.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video620Merge"></canvas>
</div>
<div class="w3-col l3 m6">
<p valign="middle" halign="middle" align="center">Input Image</p>
<img class="center" width="256" height="256"
src="assets/image_to_4D/a%20picture%20of%20a%20flamingo%20scratching%20its%20neck..png" alt=""/>
<p valign="middle" halign="middle" align="center">Generated Video</p>
<video preload="none" class="video" id="video710" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_picture_of_a_flamingo_scratching_its_neck.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video710Merge"></canvas>
</div>
<div class="w3-col l3 m6">
<p valign="middle" halign="middle" align="center">Input Image</p>
<img class="center" width="256" height="256"
src="assets/image_to_4D/a%20small%20green%20vase%20displays%20some%20small%20yellow%20blooms..png"
alt=""/>
<p valign="middle" halign="middle" align="center">Generated Video</p>
<video preload="none" class="video" id="video720" loop autoplay muted playsinline
src="assets/image_to_4D/rotating_with_stopping3_a_small_green_vase_displays_some_small_yellow_blooms.mp4"
onplay="resizeAndPlay(this)"></video>
<canvas height=0 class="videoMerge" id="video720Merge"></canvas>
</div>
</div>
<!-- Citation -->
<div class="w3-row-padding largeContainer">
<h2 class="w3-border-bottom w3-border-light-grey w3-padding-16">Citation</h2>
</div>
<div class="w3-row-padding largeContainer">
<div class="w3-col w3-margin-bottom">
<code>
@article{singer2023text4d,<br>
author = {Singer, Uriel and Sheynin, Shelly and Polyak, Adam and Ashual, Oron and <br/>
Makarov, Iurii and Kokkinos, Filippos and Goyal, Naman and Vedaldi, Andrea and <br/>
Parikh, Devi and Johnson, Justin and Taigman, Yaniv},<br>
title = {Text-To-4D Dynamic Scene Generation},<br>
journal = {arXiv:2301.11280},<br>
year = {2023},<br>
}</code>
</div>
</div>
<!-- End page content -->
</div>
<!-- Footer -->
<!--<footer class="w3-center w3-black w3-padding-16 div-only-mobile">-->
<!-- <p>For optimal viewing of dynamic 3D videos, please access our website from a desktop using Chrome.</p>-->
<!--</footer>-->
<footer class="w3-center w3-black w3-padding-16">
</footer>
<script type="text/javascript">
vid_button = document.getElementsByClassName("mesh-button");
for (var i = 0; i < vid_button.length; i++) {
let id = vid_button[i].id;
let id_base = id.substring(0, id.length - 7);
let button = document.getElementById(id);
let canvas = document.getElementById(id_base + "Merge");
let model = document.getElementById(id_base + "-model");
button.onclick = function () {
canvas.style.display = "none";
button.style.display = "none";
model.style.display = "block";
}
}
</script>
<script src="/js/scripts.js"></script>
</body>
</html>