FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
potree/examples/arena4d.html at develop · i4works/potree · GitHub
i4works
/
potree
Public
forked from
potree/potree
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
potree
/
examples
/
arena4d.html
Copy path
More file actions
More file actions
Latest commit
History
History
History
75 lines (59 loc) · 2.77 KB
Breadcrumbs
potree
/
examples
/
arena4d.html
Copy path
File metadata and controls
75 lines (59 loc) · 2.77 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<!DOCTYPE html
>
<
html
lang
="
en
"
>
<
head
>
<
meta
charset
="
utf-8
"
>
<
meta
name
="
description
"
content
=""
>
<
meta
name
="
author
"
content
=""
>
<
meta
name
="
viewport
"
content
="
width=device-width, initial-scale=1.0, user-scalable=no
"
>
<
title
>
Potree Viewer
</
title
>
<
link
rel
="
stylesheet
"
type
="
text/css
"
href
="
../build/potree/potree.css
"
>
<
link
rel
="
stylesheet
"
type
="
text/css
"
href
="
../libs/jquery-ui/jquery-ui.min.css
"
>
<
link
rel
="
stylesheet
"
type
="
text/css
"
href
="
../libs/openlayers3/ol.css
"
>
<
link
rel
="
stylesheet
"
type
="
text/css
"
href
="
../libs/spectrum/spectrum.css
"
>
<
link
rel
="
stylesheet
"
type
="
text/css
"
href
="
../libs/jstree/themes/mixed/style.css
"
>
</
head
>
<
body
>
<
script
src
="
../libs/jquery/jquery-3.1.1.min.js
"
>
</
script
>
<
script
src
="
../libs/spectrum/spectrum.js
"
>
</
script
>
<
script
src
="
../libs/jquery-ui/jquery-ui.min.js
"
>
</
script
>
<
script
src
="
../libs/other/BinaryHeap.js
"
>
</
script
>
<
script
src
="
../libs/tween/tween.min.js
"
>
</
script
>
<
script
src
="
../libs/d3/d3.js
"
>
</
script
>
<
script
src
="
../libs/proj4/proj4.js
"
>
</
script
>
<
script
src
="
../libs/openlayers3/ol.js
"
>
</
script
>
<
script
src
="
../libs/i18next/i18next.js
"
>
</
script
>
<
script
src
="
../libs/jstree/jstree.js
"
>
</
script
>
<
script
src
="
../build/potree/potree.js
"
>
</
script
>
<
script
src
="
../libs/plasio/js/laslaz.js
"
>
</
script
>
<!-- INCLUDE ADDITIONAL DEPENDENCIES HERE -->
<!-- INCLUDE SETTINGS HERE -->
<
div
class
="
potree_container
"
style
="
position: absolute; width: 100%; height: 100%; left: 0px; top: 0px;
"
>
<
div
id
="
potree_render_area
"
style
="
background-image: url('../build/potree/resources/images/background.jpg');
"
>
</
div
>
<
div
id
="
potree_sidebar_container
"
>
</
div
>
</
div
>
<
script
type
="
module
"
>
import
*
as
THREE
from
"../libs/three.js/build/three.module.js"
;
window
.
viewer
=
new
Potree
.
Viewer
(
document
.
getElementById
(
"potree_render_area"
)
)
;
viewer
.
setEDLEnabled
(
true
)
;
viewer
.
setFOV
(
60
)
;
viewer
.
setPointBudget
(
2_000_000
)
;
viewer
.
loadSettingsFromURL
(
)
;
viewer
.
setDescription
(
""
)
;
viewer
.
loadGUI
(
(
)
=>
{
viewer
.
setLanguage
(
'en'
)
;
$
(
"#menu_tools"
)
.
next
(
)
.
show
(
)
;
viewer
.
toggleSidebar
(
)
;
}
)
;
//Potree.loadPointCloud("http://arena4d.uksouth.cloudapp.azure.com:8080/0227c168-00bc-421c-99d7-5eb0ace3a1ff/Garage.vpc", "Arena4D", function(e){
Potree
.
loadPointCloud
(
"http://arena4d.uksouth.cloudapp.azure.com:8080/4e5059c4-f701-4a8f-8830-59e78a2c0816/BLK360 Sample.vpc"
,
"Arena4D"
,
function
(
e
)
{
viewer
.
scene
.
addPointCloud
(
e
.
pointcloud
)
;
e
.
pointcloud
.
material
.
size
=
2
;
e
.
pointcloud
.
material
.
pointSizeType
=
Potree
.
PointSizeType
.
FIXED
;
e
.
pointcloud
.
material
.
shape
=
Potree
.
PointShape
.
SQUARE
;
//viewer.fitToScreen();
viewer
.
scene
.
view
.
position
.
set
(
-
93.47
,
8.70
,
48.54
)
;
viewer
.
scene
.
view
.
lookAt
(
new
THREE
.
Vector3
(
-
10.27
,
4.97
,
7.20
)
)
;
}
)
;
</
script
>
</
body
>
</
html
>
Back
|
FazBrowse Home
|
New Git URL