jackyoyyf / jsc3d

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

md2viewer.html #45

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run the md2viewer.html
2.
3.

What is the expected output? What do you see instead?
Failed to parse the file. It is not a valid MD2 file.

What version of the product are you using? On what operating system?
jsc3d-full-1.4.2/ Windows7

Please provide any additional information below.
kindly send me a working example of md2viewer? thank you

Original issue reported on code.google.com by myelst...@gmail.com on 27 Oct 2013 at 2:54

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Did you use IE10? Jsc3d 1.4.2 has a known bug in parsing binary data on IE10 
and above. This has been fixed now. Please fetch the working copy from the 
repository http://jsc3d.googlecode.com/svn/trunk/jsc3d/jsc3d.js and use it 
instead.

Original comment by Humu2...@gmail.com on 27 Oct 2013 at 4:01

GoogleCodeExporter commented 9 years ago
i'm using google chrome

Original comment by myelst...@gmail.com on 27 Oct 2013 at 4:07

GoogleCodeExporter commented 9 years ago
I also want to ask if how to make a model base in 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/avatar_ie_compatible.html 
thank you

Original comment by myelst...@gmail.com on 27 Oct 2013 at 4:19

GoogleCodeExporter commented 9 years ago
Then does the online example work on your browser: 
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/md2viewer.html?

http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/avatar_ie_compatible.html is 
just an example to demonstrate how to manually construct models by setting up a 
group of buffers. For practical applications, importing models from existing 
obj or 3ds files is much more convenient.

Original comment by Humu2...@gmail.com on 27 Oct 2013 at 5:06

GoogleCodeExporter commented 9 years ago
yes the online example works on my browser but the other one I download is not 
working.
http://jsc3d.googlecode.com/svn/trunk/jsc3d/demos/md2viewer.html is working on 
my browser.

Original comment by myelst...@gmail.com on 27 Oct 2013 at 5:19

GoogleCodeExporter commented 9 years ago
I see. This seems to be the same with 
http://code.google.com/p/jsc3d/issues/detail?id=6.

By default, Chrome denies any file request on loacal file system for security 
reason. You can either 1) setup a web server, deploy the demo on it and access 
it as a common web page or 2) start Chrome with a command line as "chrome 
--allow-file-access-from-files" to explicitly enable file sccess on local file 
system.

Original comment by Humu2...@gmail.com on 27 Oct 2013 at 6:05

GoogleCodeExporter commented 9 years ago
also it wont show on firefox. kindly send me a step so I can finally work it 
out? I've also link the md2 file via the direct link in your google still 
saying "Failed to parse the file. It is not a valid MD2 file." also on mozilla 
it says the same erro

Original comment by myelst...@gmail.com on 29 Oct 2013 at 7:46

GoogleCodeExporter commented 9 years ago
Did you start Chrome with '--allow-file-access-from-files' and it still didn't 
work?

Original comment by Humu2...@gmail.com on 31 Oct 2013 at 9:06