Closed Thread Icon

Preserved Topic: 3D dhtml, sort of ... Pages that link to <a href="https://ozoneasylum.com/backlink?for=18333" title="Pages that link to Preserved Topic: 3D dhtml, sort of ..." rel="nofollow" >Preserved Topic: 3D dhtml, sort of ...\

 
Author Thread
Hew
Neurotic (0) Inmate
Newly admitted
posted posted 02-28-2002 20:48

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.
I want to make something with dhtml, that would be basically something like the two shapes in the picture below rolling about , the Z axis would be represented by changing the images, small+dark to big+bright, being able to zoom in side would be cool too.

I know how to make spheres spin and I did make one script that had spheres spining in 3D(this can be seen in the old interfaces in my stuff+things section of icklepix.com, or click here ) but it wouldnt cater for what I want to do, with changing perspective and things, there is a lot I could learn to do , if I had the basic code for that sort of thing. it wouldnt be too hard to transform one shape into another either.

Below: A Cube and a Sphere or spheres.



Thanks,
-Hugh


icklepix

eyezaer
Lunatic (VI) Mad Scientist

From: the Psychiatric Ward
Insane since: Sep 2000

posted posted 02-28-2002 20:52

lok here. http://www.ozoneasylum.com/Forum2/HTML/001438.html

Hew
Neurotic (0) Inmate
Newly admitted
posted posted 02-28-2002 21:03

Yea, he he, I just found that right after I submitted this !!, but if anyone knows any other similars type things, please post , Also doesnt anyone know of any good tutorial type sites for Cross browser friendlines, or a list of all the commands for Netscape IE and Geckos, and I could make my own nice browser sniff program. Or Also any sites about Object Oriented Programming in Javascript ? and how compatable is it ?


icklepix

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 02-28-2002 22:57

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).





:[ Computers let you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila. ]:

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 02-28-2002 23:02

hasnt slime done such a 3d dhtml cube?

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 03-01-2002 00:52

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...

Ah, here we are: http://www.ozoneasylum.com/Forum2/HTML/001357.html

John H
Obsessive-Compulsive (I) Inmate

From: Preston, Lancashire, England
Insane since: May 2001

posted posted 03-20-2002 00:49

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.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 03-20-2002 08:58

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 03-20-2002 12:01

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 03-20-2002 14:44

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.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 03-20-2002 14:57

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 03-20-2002 15:25

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu