forked from msoechting/mfsv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo-mitsuba.html
47 lines (45 loc) · 1.38 KB
/
demo-mitsuba.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
---
layout: default
categories: [demos]
status: success
title: 'Mitsuba'
---
<script type="text/javascript">
window.mfsvPresets = {
Overview: {
light: {
eye: new THREE.Vector3(-0.0750381608033444,3.42966830577549,4.90393322743207),
up: new THREE.Vector3(0,1,0),
target: new THREE.Vector3(-0.0750381608033444,3.42966830577549,5.90393322743207),
intensity: 1.3926362849468599
},
camera: {
eye: new THREE.Vector3(-2.4636900071717314,3.434613154150097,4.188392629651762),
up: new THREE.Vector3(0,1,0),
target: new THREE.Vector3(-2.0861867978769117,2.8496045441113176,3.470579120089875)
},
effects: {
depthOfField: false,
dofFocalDistance: 0.5
}
},
Alternative: {
light: {
eye: new THREE.Vector3(-0.5790604550173198,3.0921978690060543,6.696928181219686),
up: new THREE.Vector3(0,1,0),
target: new THREE.Vector3(-0.5790604550173198,3.0921978690060543,7.696928181219686),
intensity: 1.4566609853386034
},
camera: {
eye: new THREE.Vector3(3.0809769380719296,1.5803657119290742,2.7833094347991247),
up: new THREE.Vector3(0,1,0),
target: new THREE.Vector3(2.484389692749989,1.337572781429132,2.0183681115171908)
},
effects: {
depthOfField: false,
dofFocalDistance: 0.5
}
}
};
</script>
<div class="mfsviewer" objPath="obj/mitsuba.obj">