Javascript and canvas 3D model viewer -


i'm looking way make 3d model viewer site using javascript , canvas element. on page:

http://minecraftbr.com/novaskin/

you can see model (the minecraft guy) shown , can rotate , move him. needs happen particular skin applied model. example, each minecraft skins looks this:

http://i.stack.imgur.com/aibnl.png

and mapped onto minecraft guy, this:

http://minecraftbr.com/novaskin/#http://imgur.com/aibnl.png

to honest seems pretty easy pixel reading , applying correct colour. i'd need 3d aspect of this, polygons head, body, arms, legs etc.

is there decent javascript library doing kind of stuff? can make easy use 3d polygons , stuff in canvas element.

help appreciated, cheers.

i've made , it's on website, it's made canvas , css3 mainly. load in username of minecraft player , use skin. added basic ability view on ipad/iphone etc can turn device , model move, if moving camera. link is

mjstk.co.uk/dev/minechar/

or loading in skin of custom user (you upload/drag n drop new skins on if wanted add that)

mjstk.co.uk/dev/minechar/#minecraftusername

mjstk.co.uk/dev/minechar/#hugosslade (is mine)

if looking in canvas though, i'd recommend three.js; while have support webgl, can utilise canvas (as other things)

hope helpful


Comments