Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
3D Programming
#1
I just read up on relsofts "Entering the 3d dimension" (http://qbnz.com/pages/tutorials/relsoft/Chapter1/) and i am pritty confuzzeled. i just read that first part and i dont really get the qbcode and was quite confused by the storing of the points. if somone would'nt mind explaining it to me in more depth it would help some and mabye i could get onto the next lesson.
his world has been connected...
Tied to the darkness.
Soon to be completely eclipsed.
There is so very much to learn...
You understand so little.
A meaningless effort.
One who knows nothing can understand nothing.
-Ansem Bringer of darkness and creator of the heartless
Reply
#2
Don't take this as an insult, ok?

Read it again. Then, read it again. Then, mess with the code while reading slowly. Then just mess with the code. Then read it again, slowly. Eventually, you should have a better understanding of the maths, and you can write your own routines. I read them all quite a few times. For most people, it's not something that will instantly make sense after just one reading. Wink
Reply
#3
Yeah, after looking at several different tutorials on this subject, the first of which was Rel's, I finally was able to get a cube working. I went through so many tutorials that I can't remember which one I used! I know that I used of the tutorials at http://www.petesqbsite.com/sections/tuto...tuts.shtml. Search the page for '3d graphics', click on one that comes up and start reading and coding. If it doesn't work, try a couple more times before moving onto the next tutorial. That's the best advice I can offer. Note that reading the descriptions of the document's contents will save you a lot of time because you won't be pressing your "Back" button on your browser so much after running into tutorials that are even more advanced.

A high school student can only do so much college-level math. Smile
As for my cube, I got a non-shaded, all lines visible cube with flashing lines and that's as far as I'll go with it for now. Plus, I'm learning C++ (pun not intended) on my own right now, so I'll definitely be busy!
974277320612072617420666C61696C21 (Hexadecimal for those who don't know)
Reply
#4
Well... First of all, a slight knowledge of trig is helpful (I'm learning it in highschool, so I like to use 3d to keep my self busy). I beleive that first tutorial is all about projection. I.E. it's about the 3d world. It's confusing I'll admit. Basically, its the 2d coordinate plane (You know, X, Y) But with an extra axis.

. . . . . . | . . . . . .
. . . . . . | . . . . . .
. . . . . . | . . . . . .
. . . . . . | . . . . . .
--------------------
. . . . . . | . . . . . .
. . . . . . | . . . . . .
. . . . . . | . . . . . .
. . . . . . | . . . . . .

This is your 2D coordinate plane. You have X going left to right, and Y going up and down.

The 3D plane, has an extra axis (line if you will), that goes into and out of the screen. Called the Z axis. The first tutorial is all about converting the coordinates from 3D to 2D. The farther away something is, the smaller it is. So the smaller the Z value, the smaller the object.

Just take Dr. Davensteins advice. It's good advice. I read those tutorials over and over and over and over and over and over and... *slaps face*. Ahem... sorry. But you get the idea. I still have trouble seeing how anyone can make a 3D world. *Sigh* Oh well. Good luck :wink:
quote="Deleter"]judging gameplay, you can adaquately compare quake 4 with pong[/quote]
Reply
#5
3D world? I am begging for somebody to look in my halted Island of Cheetahs project! Big Grin

With learning 3D i can only say: read it through carefully... It might be complex, but you can do it step by step. At first try to draw dots in equal distances from each other on a few lines leading to the horizon: that way you will see how your 3D engine performs and will see the nature of the things. Later you can connect them and try to make a 3D world...
fter 60 million years a civilization will search for a meteorite destroying most of the living creatures around this age...

There must be a better future for the Cheetahs!

http://rcs.fateback.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)