summaryrefslogtreecommitdiffstats
path: root/apps/samples/vrml/viewer.html
diff options
context:
space:
mode:
Diffstat (limited to 'apps/samples/vrml/viewer.html')
-rw-r--r--apps/samples/vrml/viewer.html43
1 files changed, 33 insertions, 10 deletions
diff --git a/apps/samples/vrml/viewer.html b/apps/samples/vrml/viewer.html
index 345ee56..50a2fef 100644
--- a/apps/samples/vrml/viewer.html
+++ b/apps/samples/vrml/viewer.html
@@ -60,7 +60,32 @@
<script type="text/javascript">
require(["dojo/domReady!", "dojo"], function(dom, dojo) {
- var viewer = new VRMLViewer("scene1", {
+ var viewer = new VRMLViewer("scene1", {
+ pose: {
+ pitch : 0,
+ roll : 0,
+ yaw : 0,
+ zoom : 1,
+ x : 0,
+ y : 0,
+ z : 0,
+ autorotate : true
+ },
+ height: 300,
+ width: 400,
+ enableMovies: false,
+ enableDND: false,
+ enableWebGL: true,
+ enableSceneshots: false,
+ enableDraggables: false,
+ listNavigationStyle: true,
+ treeNavigationStyle: true,
+ listDirectory: "/hard_mp",
+ imagePath: "/hard_mp/HARD_MP_VAL_000",
+ imageFormat: "png",
+ serverURL: "http://localhost:8082/vrml",
+ });
+ var viewer2 = new VRMLViewer("scene2", {
pose: {
pitch : 0,
roll : 0,
@@ -71,22 +96,20 @@
z : 0,
autorotate : true
},
- height: 600,
- width: 800,
- enableMovies: false,
+ height: 300,
+ width: 400,
+ enableMovies: true,
enableDND: false,
- enableWebGL: true,
- enableSceneshots: false,
- enableDraggables: false,
+ enableWebGL: false,
+ enableSceneshots: true,
+ enableDraggables: true,
listNavigationStyle: true,
treeNavigationStyle: true,
listDirectory: "/hard_mp",
imagePath: "/hard_mp/HARD_MP_VAL_000",
imageFormat: "png",
- serverURL: "http://localhost:8081/vrml",
+ serverURL: "http://localhost:8082/vrml"
});
- //var viewer2 = new VRMLViewer("scene2");
-// var annotations = new Annotations("annotations1", { 'viewer': viewer });
});
</script>
</head>