Click here to Skip to main content
16,015,177 members
Home / Discussions / Article Writing
   

Article Writing

 
GeneralRe: Syntax Coloring Editor Pin
James T. Johnson7-Jun-02 21:23
James T. Johnson7-Jun-02 21:23 
GeneralRe: Syntax Coloring Editor Pin
10-Jun-02 6:18
suss10-Jun-02 6:18 
GeneralSimple 3D stuff Pin
Jarek G4-Jun-02 10:30
Jarek G4-Jun-02 10:30 
GeneralRe: Simple 3D stuff Pin
Kevnar4-Jun-02 10:38
Kevnar4-Jun-02 10:38 
GeneralRe: Simple 3D stuff Pin
Jarek G4-Jun-02 10:42
Jarek G4-Jun-02 10:42 
GeneralRe: Simple 3D stuff Pin
Kevnar4-Jun-02 10:47
Kevnar4-Jun-02 10:47 
GeneralRe: Simple 3D stuff Pin
Jeremy Falcon4-Jun-02 10:55
professionalJeremy Falcon4-Jun-02 10:55 
GeneralRe: Simple 3D stuff Pin
Kevnar5-Jun-02 7:53
Kevnar5-Jun-02 7:53 
Disclaimer: I don't claim that any of this is correct. I'm just telling you what I understand from some books I've read on 3D graphics.

There are several factors to consider in writing 3D stuff. But in the simplest terms I can think of you would have an object and a camera. Say the object is a mere 2 dimensional line, like a thread stretched through space. The object would consist of 6 coordinates. x1, y1, z1, x2, y2, and z2. defining the points in 3D space of it's two ends. The other aspect of it is the camera, or point of view, in relation to the object. Without the eyes to see the object, it is simply not there. (Tree falling in the woods stuff). the camera in theory has x, y, and z coordinates and a directional vector, pointing at the object in most cases. I'm not sure what coordinates the vector is defined in. I'm not a math guy. But I'm pretty sure it would be some point in space relative to the camera itself. so if the camera were at 0,0,0 the direction could be defined as -1, 2, 0 to be looking down and to the right. (I'm sure to be corrected on this, as I said, I'm not a math guy).

So once you have these two objects established the third element would be motion, if any. Is the line moving, is the camera moving? If so how are they moving. That is, over time, how do the coordinates of each vertex change? Perhaps after ten seconds x1 has increased by 2, x2 has increased by 3.5, camera direction has rotated in it's angle, and revolved in it's position relative to the object.

The question is, how to translate these elements into a 2D image on a computer screen. In all honesty I have no idea. I can draw lines that look like they are moving, but they'll never be a good rendering of an actuall 3D object moving through hypothetical space. I'm not much help in this regard, but hopefully these other detail can get you started. It's probably pretty easy high-school math stuff. So hopefully someone with more experience can enlighten us both.

Unsure | :~ Wink | ;)

PS. I watched a show on Astronomy one time that said the constellations we see from earth are totally differnt shapes when viewed from another solar system somewhere else in the galaxy. We see them as 2D connect the dots patterns when they're actually 3D. Weird, man. Perhaps little Xyblorg Zontinar sees our "Big Dipper" as a seven pointed flower shape when viewed from his angle...

Why not throw away a dime?
I throw away ten pennies all the time.
GeneralRe: Simple 3D stuff Pin
LongRange.Shooter29-Oct-02 9:15
LongRange.Shooter29-Oct-02 9:15 
GeneralISAPI Extension Tutorial/Code Pin
Domenic Denicola31-May-02 16:02
Domenic Denicola31-May-02 16:02 
GeneralRe: ISAPI Extension Tutorial/Code Pin
Rama Krishna Vavilala31-May-02 17:09
Rama Krishna Vavilala31-May-02 17:09 
GeneralRe: ISAPI Extension Tutorial/Code Pin
Domenic Denicola31-May-02 17:28
Domenic Denicola31-May-02 17:28 
QuestionUNICODE? Pin
Rene De La Garza31-May-02 7:10
Rene De La Garza31-May-02 7:10 
GeneralAnimation Pin
30-May-02 16:47
suss30-May-02 16:47 
GeneralRe: Animation Pin
3-Jun-02 11:11
suss3-Jun-02 11:11 
GeneralRe: Animation Pin
Jarek G4-Jun-02 10:41
Jarek G4-Jun-02 10:41 
GeneralIdea: VS.NET IDE For VS6 users Pin
Rama Krishna Vavilala30-May-02 7:33
Rama Krishna Vavilala30-May-02 7:33 
GeneralRe: Idea: VS.NET IDE For VS6 users Pin
Paul Watson30-May-02 8:48
sitebuilderPaul Watson30-May-02 8:48 
GeneralRe: Idea: VS.NET IDE For VS6 users Pin
Rama Krishna Vavilala30-May-02 8:58
Rama Krishna Vavilala30-May-02 8:58 
GeneralArticle Idea: Website from start to finish Pin
Paul Watson27-May-02 23:40
sitebuilderPaul Watson27-May-02 23:40 
GeneralRe: Article Idea: Website from start to finish Pin
Hans Ruck28-May-02 8:24
Hans Ruck28-May-02 8:24 
GeneralRe: Article Idea: Website from start to finish Pin
Michael P Butler30-May-02 7:36
Michael P Butler30-May-02 7:36 
GeneralRe: Article Idea: Website from start to finish Pin
James T. Johnson30-May-02 17:10
James T. Johnson30-May-02 17:10 
GeneralRe: Article Idea: Website from start to finish Pin
Ramon Casellas30-May-02 8:49
Ramon Casellas30-May-02 8:49 
GeneralRe: Article Idea: Website from start to finish Pin
James T. Johnson30-May-02 17:14
James T. Johnson30-May-02 17:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.