Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant display stl files in ie 9 #19

Open
GoogleCodeExporter opened this issue Jul 29, 2015 · 13 comments
Open

Cant display stl files in ie 9 #19

GoogleCodeExporter opened this issue Jul 29, 2015 · 13 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Load your stl demo file in ie 9 


What is the expected output? What do you see instead?
I see a blank square where the image should be

What version of the product are you using? On what operating system?
ie 9. Your demo works when you use the Flash version, but not the standard 
javascript version.

Please provide any additional information below.
I have tried it on 3 computers and neither  your demo or our files display. Any 
advise please?

Original issue reported on code.google.com by [email protected] on 19 Mar 2013 at 12:00

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

The STL loading procedure simply does not work in IE9. The modified edition 
that utilizes emulated canvas used to support loading STL data in IE. But it 
depends on a snippet of vbscript to parse the binary content which is proved 
very inefficient. So it is not merged to current release.

This is a known issue. Please see here 
http://code.google.com/p/jsc3d/issues/detail?id=12 for a detailed explanation.

Original comment by [email protected] on 19 Mar 2013 at 6:55

@GoogleCodeExporter
Copy link
Author

Thanks for that. Is this something that will ever work for ie9 in a future 
release?
In that link in the post above, the guy reckons he has a solution. Have you 
tried it?

Original comment by [email protected] on 19 Mar 2013 at 7:13

@GoogleCodeExporter
Copy link
Author

That doesn't work in IE9 but performs amazingly efficient in IE10.

If you really need a solution for IE9, you can merge this code snippet 
http://code.google.com/p/jsc3d/source/browse/trunk/jsc3d/jsc3d_ie.js#4208 from 
jsc3d_ie.js to the latest releaseed jsc3d.js and select which method should be 
used by detecting if current browser is IE.

Original comment by [email protected] on 20 Mar 2013 at 7:24

@GoogleCodeExporter
Copy link
Author

Thanks for that. As I am not a coding expert, how many lines should be inserted 
i.e line 4208 to ?.
And where in the code should I insert it. Also, where do I select a method?
Many thanks
Simon

Original comment by [email protected] on 20 Mar 2013 at 9:45

@GoogleCodeExporter
Copy link
Author

Hi, Simon:

I made a modified copy that works for IE9 as well as a simple demo. Check it in 
the attachment of this issue.

However, it only works fine with very small STL models(hundred kbs). As the 
file size goes larger, it tends to take too long to parse the binary stuff and 
may lead to temporary no-response of the whole page.  Be sure to use it with 
care.

Original comment by [email protected] on 20 Mar 2013 at 2:43

Attachments:

@GoogleCodeExporter
Copy link
Author

I need it for larger files unfortunately. Your demo comes out as just a shaded 
box on its own on my ie9 also.

Original comment by [email protected] on 20 Mar 2013 at 4:08

@GoogleCodeExporter
Copy link
Author

It seems no problem in my own test. Did you open the demo on desktop? It won't 
work that way because IE blocks requests on local host. You should upload the 
demo to a server and access it as usual web pages.

Original comment by [email protected] on 20 Mar 2013 at 4:44

@GoogleCodeExporter
Copy link
Author

ah right yes, I did it local. So to summarise for larger STL models, there is 
no solution for ie9 or older? 

That is a shame as most people have ie9 or less at the moment so I wont be able 
to use it for stl

Original comment by [email protected] on 20 Mar 2013 at 6:10

@GoogleCodeExporter
Copy link
Author

I'm afraid so. IE's implementation of XHR is not standard. It treats binary 
response as blob which demands for lengthy unpacking through old vbscript. This 
is the bottleneck and unfortunately there seems to be no native solution at 
this moment :-(

Original comment by [email protected] on 21 Mar 2013 at 3:46

@GoogleCodeExporter
Copy link
Author

I read in another post that you can use a flash based system for ie. Would that 
approach work?

Original comment by [email protected] on 24 Mar 2013 at 8:54

@GoogleCodeExporter
Copy link
Author

In that way Flash is utilized to emulate an HTML5 compatible canvas for old 
IEs. It makes no benefit to file loading.

Original comment by [email protected] on 25 Mar 2013 at 11:52

@GoogleCodeExporter
Copy link
Author

The latest edition already solves this problem. Please get it from the 
repository and take a try.

Original comment by [email protected] on 31 Jul 2013 at 2:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant