Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-12-2012, 11:55 PM   PM User | #1
VoiceOfInsanity
New to the CF scene

 
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
VoiceOfInsanity is an unknown quantity at this point
experiment - 3D on Canvas

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?
VoiceOfInsanity is offline   Reply With Quote
Old 07-13-2012, 04:52 PM   PM User | #2
c1lonewolf
Regular Coder

 
Join Date: Sep 2002
Posts: 230
Thanks: 0
Thanked 11 Times in 11 Posts
c1lonewolf is an unknown quantity at this point
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?
__________________
NO Limits!!
c1lonewolf is offline   Reply With Quote
Old 07-13-2012, 06:37 PM   PM User | #3
nomanic
Regular Coder

 
nomanic's Avatar
 
Join Date: Feb 2009
Location: United Kingdom
Posts: 252
Thanks: 9
Thanked 33 Times in 33 Posts
nomanic is an unknown quantity at this point
no
I went there, there were rotating boxes and stuff, its legit, or was when i tried it
__________________
<DmncAtrny> I will write on a huge cement block "BY ACCEPTING THIS BRICK THROUGH YOUR WINDOW, YOU ACCEPT IT AS IS AND AGREE TO MY DISCLAIMER OF ALL WARRANTIES, EXPRESS OR IMPLIED, AS WELL AS DISCLAIMERS OF ALL LIABILITY, DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL, THAT MAY ARISE FROM THE INSTALLATION OF THIS BRICK INTO YOUR BUILDING."
<DmncAtrny> And then hurl it through the window of a Sony officer
<DmncAtrny> and run like hell

Portfolio, Tutorials - http://www.nomanic.biz/
nomanic is offline   Reply With Quote
Old 07-14-2012, 06:25 AM   PM User | #4
VoiceOfInsanity
New to the CF scene

 
Join Date: Jul 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
VoiceOfInsanity is an unknown quantity at this point
Strange. My account was suspended for no reason. Sorry about that. Well, then I'll just upload it to ubuntu
http://ubuntuone.com/4mA02x1Mxr0R2SNApEUrrR
VoiceOfInsanity is offline   Reply With Quote
Old 07-15-2012, 04:10 PM   PM User | #5
c1lonewolf
Regular Coder

 
Join Date: Sep 2002
Posts: 230
Thanks: 0
Thanked 11 Times in 11 Posts
c1lonewolf is an unknown quantity at this point
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.
__________________
NO Limits!!
c1lonewolf is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:53 AM.


Advertisement
Log in to turn off these ads.