Google Code Exporter
Google Code Exporter
``` ok ,thanks,how to replace a mesh with the old one? ``` Original comment by `[email protected]` on 31 Jul 2014 at 11:21
``` None at this moment. I'll add support for fullscreen in next release (need to monitor the size change of the canvas and reallocate the framebuffers according). ``` Original comment...
``` I see. Perhaps there is a way to avoid the use of the mouse? So if I put bottons to turn left or right there is no way to...
``` You can involk viewer.enableDefaultInputHandler(false) to disable the default mouse behaviour and utilize the series of viewer.onmousexxx callbacks to implement your own mouse control. The functin and the callback entries...
``` The png file must be corrupted with incorrect transparent pixels. Use other file formats which do not contain alpha channel instead. Or you can add the following snippet to...
``` [deleted comment] ```
``` thanks very much for the reply, great author, anyway after testing the script,seems the script didn't work as expected to remove transparecy,besides I don't not know how many file...
``` Is it because the materials also have transparency defined? Then try this one: viewer.onloadingcomplete = function() { var scene = viewer.getScene(); if (scene) { scene.forEachChild( function(mesh) { // turn...
``` No. Jsc3d event does not make use of any light source. The illumination is simulated based on palettes which are calculated from material colors. It is equivalent to that...
``` This is a startup parameter http://code.google.com/p/jsc3d/wiki/StartupParameters#Background which should be assigned before initialization of the viewer. It has no effect to change its value at runtime. ``` Original comment by...