-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjscTest.html~
More file actions
20 lines (20 loc) · 904 Bytes
/
jscTest.html~
File metadata and controls
20 lines (20 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<html>
<body>
<div>
<canvas id="firstfacecv" width=600 height=600 title="Click and Drag to rotate, hold down ctrl to pan. Scroll to Zoom.">
</canvas>
<script type="text/javascript" src="https://ebimodeling.github.io/patch-1/js/jsc3d.js"></script>
<script type="text/javascript">
var viewer = new JSC3D.Viewer(document.getElementById('firstfacecv'));
viewer.setParameter('SceneUrl', 'agave1.obj');
viewer.setParameter('ModelColor', '#CAA618');
viewer.setParameter('BackgroundColor1', '#FFFFFF');
viewer.setParameter('BackgroundColor2', '#FFFFFF');
viewer.setParameter('RenderMode', 'texture');
viewer.init();
viewer.update();
</script>
<p> David's model of an Agave plant, captured with Catch123D, cleaned up by Colten in Blender. 5/22/2014 </p>
</div>
</body>
</html>