lizhao21st / jsc3d

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

No display in IE, bad display in Safari #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
OS: Windows 8.1 (PC)
Browsers used:
  - Firefox 35.0.1
  - Chrome 40.0.2214.115 m
  - Safari 5.1.7
  - Internet Explorer 11.0.9600

jsc3d doesn't work flawless in all browsers. My main issues are with Safari nd 
IE. I'm using a .3ds file, maybe the problem lies herein.

- In IE, I can't get the model to show at all. The canvas shows the gradient as 
specified in the viewer's parameters, but no loading bar nor model. When 
including the IE script <script type="text/javascript" 
src="jsc3d-full-1.6.5/jsc3d_ie.js"></script>, jsc3d doesn't work in ANY 
browser, and the canvas is shown blank.
There is also no difference in IE when I remove the WebGL rendering or put it 
online.

- In Safari, the model is loaded but it's extremely slow/laggy and the model 
looks horrible. Probably the same issue as described here: 
code.google.com/p/jsc3d/issues/detail?id=8

- Everything works perfectly in Firefox. With WebGL rendering, it looks very 
smooth too.
- In Chrome I couldn't get it to work, until I read on one of the other issues 
here that Chrome has some special way of handling local file security. When I 
uploaded the files online, it displayed fine as well.

An additional note: In all four browsers the online samples provided work just 
fine. It may be the .3ds causing these issues.

Any ideas? Thanks!

Original issue reported on code.google.com by Tjardo.K...@gmail.com on 26 Feb 2015 at 7:15

GoogleCodeExporter commented 9 years ago
Hi, Tjardo:

Thanks a lot for reporting these!

It seems you have tried to launch pages directly from local file system. On 
most browsers this will encounter falures of the file requests for its 
potential security problems and will be prohibited. The recommended way is to 
set up a web server to run your tests.

As for the Safari issue, I thought I have fixed the defect on mac devices years 
before. I don't know why the same problem appears on windows this time. I'll 
look for test environment to see if it recurs each time.

Regards

Original comment by Humu2...@gmail.com on 28 Feb 2015 at 4:27

GoogleCodeExporter commented 9 years ago
Hey, thanks.

It seems that the IE implementation doesn't work online, either, sorry. 
Personally, I don't really mind about IE, yet this still is worth mentioning.

Testing everything again (online and local), it seems that the display actually 
isn't bad in Safari, with WebGL as the renderer. The laggyness maintains 
though. Dunno if it was different last time or my eyes were just tired or 
something :p

Thank you for the quick response!

Original comment by Tjardo.K...@gmail.com on 19 Mar 2015 at 9:23