snout-o / jsc3d

Automatically exported from code.google.com/p/jsc3d
0 stars 0 forks source link

full screen and limit view #112

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Is it possible to have a full screen view?
2. Is it possible to limit the rotation (ie avoid to show the model from the 
top and allow only side views)?
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

THANKS

Original issue reported on code.google.com by gianluca...@gmail.com on 4 Sep 2014 at 3:41

GoogleCodeExporter commented 9 years ago
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 by Humu2...@gmail.com on 5 Sep 2014 at 2:34

GoogleCodeExporter commented 9 years ago
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 see the top of the object?

Original comment by gianluca...@gmail.com on 5 Sep 2014 at 5:40

GoogleCodeExporter commented 9 years ago
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 are 
documented here: 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/docs/symbols/JSC3D.Viewer.html.

Of course you can also modify the source code directly, changing the 
implementation of JSC3D.Viewer.prototype.mouseMoveHandler 
(http://code.google.com/p/jsc3d/source/browse/trunk/jsc3d/jsc3d.js#713) to 
create new branched edition with the required features.

Original comment by Humu2...@gmail.com on 6 Sep 2014 at 9:53