So I finally got some much needed free time thanks to the Easter holiday and got a few more 3D JavaScript demonstrations written and uploaded!
Checkout thisĀ demo which loads a rather cool looking Dino-Rider mesh and associated materials and renders it. Click the canvas and take it for a spin? Get it? Dino-Rider + take it for a spin + spinning 3D mesh!?! (ED: stick with your day job!)
ThisĀ demo does your basic perspective correct texture mapping. Yeah yeah yeah… booooring but good for benchmarks
*The commenting section under “It is done” didn’t seem to work, so I’m posting it here:
That’s insane and amazing! What the h*ll am I looking at?!? I feel like I’m in a virtual reality! I haven’t gone through all the code yet, but I guess I would have no idea how to get a grip of it until I saw the big picture. So I guess you’re using a ton of html5 canvas polygons, and making them move, morph etc accordingly?
But what I can’t get my mind around is where do you get the original object/picture etc? There’s no way you figure out every single frame ahead of time, or is there? Crazy, and awesome. Love it!
PS, this one is particularly amazing, so I won’t forget, but a subscribe to comments option is usually the only way I remember to come back to comments and replies. It helps increase your audience, not that you really need it. Thanks though!!
I’ve been watching this site for quite a time. It is referred to by quite a bunch of “AWESOME JAVASCRIPT SITES” directories.
That’s what I thought: amazing what can be done with JavaScript, canvas and some free time.
You should ask your boss for a holiday!
As a reply to David: I guess the 3D-models were done with Blender.
And in general: With some (perhaps a little bit more…) work spent on the implementation of basic 3D operations (e.g. translate an object per drag-and-drop, resize etc.), not only rotation, your Javascript-code surely could be transformed into a basic framework for CAD-solutions in architecture, home and kitchen planning and so on.
Great work!
Hey Frank,
I did ask my boss for a holiday and I ended up writing a Quake 3 Arena 3D map explorer
When I showed my boss… he said no more holidays for me otherwise next time I might end up writing SkyNet.js!!!!