Jenelia Posted June 17, 2013 Share Posted June 17, 2013 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.jsI 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. Quote Link to comment Share on other sites More sharing options...
benny! Posted June 17, 2013 Share Posted June 17, 2013 Well, a Three.js project would be the same as a normal HTML5/Web project. So, google gives me link like these for example: http://www.htmlgoodies.com/html5/tutorials/working-with-html5-in-eclipse-juno.html#fbid=k578QzmyAu2http://www.htmlgoodies.com/html5/other/create-an-static-html5-web-project-in-eclipse.html#fbid=k578QzmyAu2 Maybe those help! Jenelia 1 Quote Link to comment Share on other sites More sharing options...
Jenelia Posted June 18, 2013 Author Share Posted June 18, 2013 Thank you! Quote Link to comment Share on other sites More sharing options...
Jenelia Posted June 18, 2013 Author Share Posted June 18, 2013 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? Quote Link to comment Share on other sites More sharing options...
benny! Posted June 18, 2013 Share Posted June 18, 2013 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.