4 Copyright (c) 2013 The Chromium Authors. All rights reserved.
5 Use of this source code is governed by a BSD-style license that can be
6 found in the LICENSE file.
11 <title>Multi-Threaded Raycasted Earth
</title>
13 <link rel=
"stylesheet" href=
"//fonts.googleapis.com/css?family=Open+Sans:300,700">
14 <link href=
"/static/css/out/site.css" rel=
"stylesheet">
16 <script type=
"text/javascript" src=
"example.js"></script>
23 <h1>Multi-Threaded Raycasted Earth
</h1>
30 An example of using multiple threads to render the globe through ray-tracing.
33 Note: the C++ source code of this demo is available in the Native Client SDK (
<tt>examples/demo/earth
</tt>).
36 FPS:
<span id=
"fps">0</span>
39 <div class=
"panel panel-info">
43 <div class=
"panel-body">
44 <table id=
"config" cellspacing=
"0" cellpadding=
"0">
47 <td class=
"name">Thread Count:
</td>
50 <select id=
"threadCount">
51 <option value=
"0">Main Thread only
</option>
52 <option value=
"1">1 Thread
</option>
53 <option value=
"2" selected=
"selected">2 Threads
</option>
54 <option value=
"4">4 Threads
</option>
55 <option value=
"6">6 Threads
</option>
56 <option value=
"8">8 Threads
</option>
57 <option value=
"12">12 Threads
</option>
58 <option value=
"24">24 Threads
</option>
59 <option value=
"32">32 Threads
</option>
64 <td class=
"name">Zoom:
</td>
66 <input type=
"range" id=
"zoomRange"
67 min=
"1.0" max=
"50.0" step=
"0.5" value=
"14.0">
71 <td class=
"name">Light:
</td>
73 <input type=
"range" id=
"lightRange"
74 min=
"0.2" max=
"2.0" step=
".01" value=
"1.0">
84 NASA Goddard Space Flight Center Image by Reto Stöckli (land
85 surface, shallow water, clouds). Enhancements by Robert Simmon
86 (ocean color, compositing,
3D globes, animation).
88 <b>Data and technical support:
</b> MODIS Land Group; MODIS Science Data,
89 Support Team; MODIS Atmosphere Group; MODIS Ocean Group Additional
90 data: USGS EROS Data Center (topography); USGS Terrestrial Remote
91 Sensing Flagstaff Field Center (Antarctica); Defense Meteorological
92 Satellite Program (city lights).
96 <div class=
"Demo-body">
98 <div id=
"listener" class=
"Demo-content"></div>
101 <div id=
"loading-cover">
103 <div id=
"statusField"></div>
104 <div id=
"progress" class=
"progress progress-striped active">
105 <div id=
"progress-bar" class=
"progress-bar" role=
"progressbar" aria-valuenow=
"0" aria-valuemin=
"0" aria-valuemax=
"100" style=
"width: 0%">