jackyoyyf / 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

GoogleCodeExporter commented 9 years ago
Hi,

It's nice, but it only works in Firefox (Windows 7).
Any solution, or support, for Opera and Chrome?

===========================

-- It works --

Firefox 38

38.0.1

===========================

-- It does not work --

Opera 29.0

29.0.1795.60
Stable
Windows 7 64-bit (WoW64)

Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) 
Chrome/42.0.2311.152 Safari/537.36 OPR/29.0.1795.60

===========================

-- It does not work --

Google Chrome

43.0.2357.81 m

===========================

Thanks,

Greetings.

Original comment by maquinar...@gmail.com on 28 May 2015 at 3:47