How to make zoom in the JSC3D viewer?

There is a page which displays, rotates the object obj. How to make increase and decrease of the object with the mouse wheel?
Scripts standard JSC3D
In the demo pages increase same does not occur (for example in the folder demo bmw.html). Maybe that's wrong doing. Written by holding shift and moving the mouse, it will zoom in.
Code page they need to fix:

 <title> Object </title>
 <meta name="Author" content="JSC3D">

 <div style="width:800px; margin:auto; position:relative; font-size: 9pt; ">
 <canvas id="cv" width="800" height="680" style="border: 2px solid #000;"></canvas>
 <script type="text/javascript" src="./js/jsc3d.js"></script>
 <script type="text/javascript" src="./js/jsc3d.touch.js"></script>
 <script type="text/javascript" src="./js/jsc3d.webgl.js"></script>
 <script type="text/javascript">
 var canvas = document.getElementById('cv');
var canvas2 = document.getElementById('cv2');
var viewer = new JSC3D.Viewer( canvas, {
 SceneUrl: 'statue/Myles makes.obj', 
 InitRotationX: 30, 
 BackgroundColor1: '#FFFFFF', 
 BackgroundColor2: '#FFFFFF', 
 RenderMode: 'texture', 
 Renderer: 'webgl'
 } );

In IE it works, increases the mouse wheel. But in chrome does not work.
June 10th 19 at 15:38
0 answer

Find more questions by tags JavaScript