...

View Full Version : experiment - 3D on Canvas



VoiceOfInsanity
07-12-2012, 11:55 PM
Hi,
I found some equations for calculating perspective transformations and so I thought I'd test how fast modern JS engines really are. I created a very simple 3D engine that uses pixel manipulation to project textures onto rotating 3D cubes. It doesn't use any WebGL so it should run on any browser.
http://ponycubes.html-5.me
(controls are w,s,a,d, space/c for up/down, q,e for rotation, and clicking and dragging the mouse to look around)
It seems to run fine, at least in chrome.
Do you think there is any point in playing around with 3d software renderers? Should I instead go with WebGL and hope that it will eventually be supported on all browsers?

c1lonewolf
07-13-2012, 04:52 PM
I'd be interested in seeing your 3d engine but your link goes to http://securesignupoffers.net/d/ So what, you just being a moron and scammin people for page hits or do you actually have the engine?

nomanic
07-13-2012, 06:37 PM
no
I went there, there were rotating boxes and stuff, its legit, or was when i tried it

VoiceOfInsanity
07-14-2012, 06:25 AM
Strange. My account was suspended for no reason. Sorry about that. Well, then I'll just upload it to ubuntu
http://ubuntuone.com/4mA02x1Mxr0R2SNApEUrrR

c1lonewolf
07-15-2012, 04:10 PM
Would be nice to work with, but when I tried the page with my firefox plugin it downloaded '3DCanvas.zip' maybe that's what was supposed to happen. Does it use the Canvas tag? I wanted to build a project kinda like that, but couldn't find a rendering engine I understood. Js math isn't my thing. Would still like to take a crack at it though.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum