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

linedemo does not run on localhost #53

Open
ZhugeLiang opened this issue Jan 5, 2012 · 2 comments
Open

linedemo does not run on localhost #53

ZhugeLiang opened this issue Jan 5, 2012 · 2 comments

Comments

@ZhugeLiang
Copy link

I downloaded the project zip file and unzip it to local Apache web server. I run the linedemo in /examples folder but it displays nothing. I am surprised because this demo in http://www.glge.org/demos/linedemo/ still OK.
In the code, I found that local linedemo includes glge-compiled.js but the online one uses glge_math.js and glge.js.

Is this a bug? Or I missed something to run?

Thanks.

@supereggbert
Copy link
Owner

Are you getting any errors in the console?

@ZhugeLiang
Copy link
Author

Nothing displayed in the console.

By the way, when I re-write the demo using the javascript-way it shows.
Here are what I did to view:

  • Create new Scene, Group, Material and Camera.
  • Remove 3-axes and use only the positions.
  • Remove setInterval() and use only renderer.render().

Above is just what I did just to prove that there is something wrong with the demo. Maybe it is the code of Document object.

Thanks for your quick reply.

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

No branches or pull requests

2 participants