reddag / jsc3d

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

Can't load obj files.. just infinite loading #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I downloaded the jsc3d-full-1.6.5.zip in 
https://code.google.com/p/jsc3d/downloads/list

2. open [jsc3d-full-1.6.5 \ demos \ bank.html] for example(what uses obj file)

3. I and other computers just show full progressed bar but no 3d image.

What is the expected output? What do you see instead?

I expected obj file(bank), but I can't see... (just loading progress bar..)

What version of the product are you using? On what operating system?

jsc3d-full-1.6.5
chrome 36.0.1985.125 m
Window 7, 8

Please provide any additional information below.

Original issue reported on code.google.com by elite111...@gmail.com on 29 Jul 2014 at 9:28

GoogleCodeExporter commented 9 years ago
Did other samples work correctly on your platform?

Original comment by Humu2...@gmail.com on 29 Jul 2014 at 10:09

GoogleCodeExporter commented 9 years ago
other samples that doesn't need obj files(outside html source) are working 
fine.. like avatar, house, etc...

Original comment by elite111...@gmail.com on 29 Jul 2014 at 10:46

GoogleCodeExporter commented 9 years ago
stop loading here...

Original comment by elite111...@gmail.com on 29 Jul 2014 at 10:48

Attachments:

GoogleCodeExporter commented 9 years ago
Did you launch these samples directly from desktop? In most cases, the browser 
will prohibit accessing local file system via XHR request for security reason, 
which is utilized by Jsc3d to load files.  To remove this issue, you can:

1. Deploy these samples onto a web server and access them from it. Or 

2. Launch Chrome with startup parameter --allow-file-access-from-files to 
explicitly enble file requests on local system without changing the browser's 
default security setting.  The following link 
http://stackoverflow.com/questions/18586921/how-to-launch-html-using-chrome-at-a
llow-file-access-from-files-mode provides more details on this issue.

Original comment by Humu2...@gmail.com on 29 Jul 2014 at 11:15

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Oh.. I solved that problem. Thanks a lot.

And I have one more question. I want to know how sample "avatar.html" works..

I hope to email this problem with you if you can

Original comment by elite111...@gmail.com on 29 Jul 2014 at 11:46

GoogleCodeExporter commented 9 years ago
Of course. Just drop a note to my gmail address if you have any problem.

The sample you mentioned uses manually constructed meshes rather than loading 
them from existing files. The textures are controlled by coding too. Each time 
the button is clicked, a small function is executed to change texture of the 
avatar mesh.

Original comment by Humu2...@gmail.com on 30 Jul 2014 at 1:35

GoogleCodeExporter commented 9 years ago
I want to send mail to you but I don't know how to see your email.. Hummu2...

Original comment by elite111...@gmail.com on 30 Jul 2014 at 1:45

GoogleCodeExporter commented 9 years ago
Click into that link please. Or you can get may email address from the source 
code.

Original comment by Humu2...@gmail.com on 30 Jul 2014 at 2:39