Closed Thread Icon

Preserved Topic: Rotating cube Pages that link to <a href="https://ozoneasylum.com/backlink?for=8687" title="Pages that link to Preserved Topic: Rotating cube" rel="nofollow" >Preserved Topic: Rotating cube\

 
Author Thread
wrayal
Bipolar (III) Inmate

From: Cranleigh, Surrey, England
Insane since: May 2003

posted posted 06-02-2003 19:50

I seem to remember seeing on one of the 5k contests (I think...) a 3d cube, but one that was solidly shaded, not wireframe or anything, that rotated. Sorry, I really want to have another look at it, but I never bookmarked it, and I cant find it again. Does anybody happen to know the site? Any help would be much appreciated!

Thanks

Wrayal

Go to kimber-ja.demon.co.uk and click on the link to the raytracer! It's mine!

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 06-03-2003 00:13

Wrayal: I remember of an entry at the5k 2002 which showed a flat color 3D cube in DHTML. It was rather blocky and IE only, but I can't find the URL. Whatever I found some months ago the great site http://www.2roqsmuseum.net featuring ( in the second page of the Animation gallery ) 3 flat shaded rotating 3D objects in DHTML. It's still IE only but it's not so blocky.

Doing some 3D calculations in JavaScript is not that hard nor cpu time consumming ( By 'some' I mean enough to handle a CUBE in 3D ). Indeed you can't really optimize the very basic stuffs like rotations/translations/projections. The most tricky part is to find the most appropriate way to render the objects as fast as JavaScript can. Thus you'll have to find the easiest ( and often most obious ) method and average the amount of work for the browser.

If you look for some documentation on 3D calculations ( and more ), check the following urls:
http://www.flipcode.com/portal/
http://www.gamedev.net/reference/list.asp?categoryid=28

Cheers,

Mathieu "POÏ" HENRI

[This message has been edited by poi (edited 06-03-2003).]

« BackwardsOnwards »

Show Forum Drop Down Menu