Game Project – Three.js

20150913: Three.js

So, I got tired of spending too much time on my own WebGL-engine and decided to give three.js a try since it appears to be quite a complete library for WebGL and it´s already been a big inspiration.
Now when I need more materials, importing meshes from Blender, UV-mapping for textures, lookat-functions for the camera and so on – instead of writing all these new things, I started to link everything up with Three.js to focus more on designing 3D-objects.


Bye, old 3D-Engine


Always wierd results at first…


Rotation is wrong


Rotation OK, objects in air


Textures OK, bad lightning


Bad resolution


Better


Lookat…


Lookat from above, wierd aspect


Better


Matching 2D-3D


Scale OK


Lookat OK


Lookat OK


Lookat OK


Materials: Lambert


Materials: Phong


Materials Lambert+Phong

Leave a comment

Design a site like this with WordPress.com
Get started