![]() Preserved Topic: 3D dhtml, sort of ... (Page 1 of 1) |
|
---|---|
Neurotic (0) Inmate Newly admitted |
![]() I was wondering , does anybody know where I could get sample code, of how to position objects(divs) or like draw in 3D , in any language, prefferably Javascript, I could decipher C,C++ or Java. |
Lunatic (VI) Mad Scientist From: the Psychiatric Ward |
![]() |
Neurotic (0) Inmate Newly admitted |
![]() Yea, he he, I just found that right after I submitted this !!, but if anyone knows any other similars type things, please post |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() Hmmm the OOP stuff is real easy and as far as I can tell has been implemented in all the current browsers (heck wouldn't try to code JS without it). |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() hasnt slime done such a 3d dhtml cube? |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Yes, and we had a discussion about it not too long ago in which I explained the basics of 3D coordinates on 2D viewing screens... let's see if I can find it... |
Obsessive-Compulsive (I) Inmate From: Preston, Lancashire, England |
![]() I've uploaded my slightly quirky 3D morpher here. I havn't got it morph while it's rotating on the axis yet. It just copies the X & Y co ordinates of the projection into some arrays and the move the layers based on those values. It also changes the z index of the layers according to their z axis position and hides any un needed layers when a shape is changed aswell as only moving the layers needed for that shape to speed things up a bit. It is very slow however, but it is something I've been cobling together for a while so it probably shows. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() This is cool, and well done... but be careful, I think you may be putting the spheres that are supposed to be further back in the front of the Z-Order, so it looks weird. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |