xxv / jsc3d

Automatically exported from code.google.com/p/jsc3d

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

full screen and limit view

GoogleCodeExporter opened this issue · comments

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

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

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

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