Jump to content

Three.js: How to create new project in Eclipse for "Three.js" based development


Jenelia
 Share

Recommended Posts

Hi,


I am new to Three.js development, but i know Java development. I am learning Three.js for a 3d Web app development. I have learnt basic concepts of WebGL,Three.JS and want to start a new project now. I downloaded Three.JS sources fromhttps://github.com/mrdoob/three.js


I want to use Eclipse as development environment. I couldn't find a starting place how i can create new project and start adding my new classes using Three.js on Eclipse environment. Could someone please guide me, how can i now create new project and add Three.js files and start adding my new classes on my Eclipse workspace?


Thank you.

Link to comment
Share on other sites

Link to comment
Share on other sites

I created a Dynamic Web project in Eclipse, and it provided the project source structure. I added Three.JS-dev folder(and all three.js files) into "WebContent" of web my project. Well, as Three.js documentation says, i need to add "<script src="js/three.min.js"></script>" this script. But, i don't know where to add this in my project? Could you advise, where should i add this script line in my project file? Should i add this line in WEB-INF "web.xml" file?

Link to comment
Share on other sites

Create a normal index.html file and add it there.

 

Note:

Forget about any jsp (java server pages) and/or servlets which are also supported by Eclipse. What you are aiming at is a pure HTML project I guess. So keep it simple.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...