Author Topic: How do 3d games work?  (Read 15037 times)

0 Members and 3 Guests are viewing this topic.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
How do 3d games work?
« on: August 29, 2011, 02:03:23 pm »
I was wondering about how 3d games work, so I can make one myself. I'd like to know how to make a 3d engine that can do 360 x,y, and z. I'd also like it to be done in luaFX when finished, but I only want to know the basics right now (the theory, formulas, etc.).



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: How do 3d games work?
« Reply #1 on: August 29, 2011, 02:06:29 pm »
What type of 3d graphics are you talking about? 3D wireframes? Wolfenstein? The jets in your signature? Also, do arbitrary viewpoints have to be supported? What about rotating frames? How high quality does the rendering need to be?

Basically, there's a huge field of stuff out there. It'd help others tremendously if you were a bit more specific about your eventual goals :P
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Ashbad

  • Guest
Re: How do 3d games work?
« Reply #2 on: August 29, 2011, 02:07:09 pm »
1) this is in "humor and jokes", which is the wrong place for anything besides funny jokes, obviously :P

2) they work in multiple ways.  Too many ways to sum up in a paragraph, a post, possibly even a thread.  What do you want to work with?  What language?  Low level or high level graphics interfacing?  What *specific* questions?  Did you look at any tutorials first, or do you need help finding some good ones?
« Last Edit: August 29, 2011, 02:09:24 pm by Ashbad »

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: How do 3d games work?
« Reply #3 on: August 29, 2011, 02:11:07 pm »
Graphics were soooo simple in the 2D days :P

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: How do 3d games work?
« Reply #4 on: August 29, 2011, 02:17:18 pm »
http://en.wikipedia.org/wiki/Video_game_graphics#3D
I know that wikipedia is unreliable, but it is a good place to get started.  It barely even scrapes the top, but you can get more of a feel of 3d games.
ld a, 0
ld a, a

Offline AngelFish

  • Is this my custom title?
  • Administrator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3242
  • Rating: +270/-27
  • I'm a Fishbot
    • View Profile
Re: How do 3d games work?
« Reply #5 on: August 29, 2011, 03:18:49 pm »
http://en.wikipedia.org/wiki/Video_game_graphics#3D
I know that wikipedia is unreliable, but it is a good place to get started.

Wikipedia is unreliable *for certain topics*. As far as technical materials go, it's generally an excellent resource.
∂²Ψ    -(2m(V(x)-E)Ψ
---  = -------------
∂x²        ℏ²Ψ

Offline ralphdspam

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 841
  • Rating: +38/-1
  • My name is actually Matt.
    • View Profile
Re: How do 3d games work?
« Reply #6 on: August 29, 2011, 06:58:30 pm »
Wikipedia is unreliable *for certain topics*. As far as technical materials go, it's generally an excellent resource.
* ralphdspam changes the x86 architecture page.  >:D
(Just kidding)
« Last Edit: August 29, 2011, 06:58:52 pm by ralphdspam »
ld a, 0
ld a, a

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #7 on: August 30, 2011, 09:34:12 am »
OK, what i was talking about is:

Language: LuaFX
Type: Wireframes, First person, Fixed 3d
Rendering: Dont know.


Thanks for that wikipedia article.



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Eiyeron

  • Urist McEiyolobster
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1430
  • Rating: +130/-10
  • (-_(//));
    • View Profile
    • Rétro-Actif : Rétro/Prog/Blog
Re: How do 3d games work?
« Reply #8 on: August 30, 2011, 09:45:11 am »
Here Rendering are the types!

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #9 on: August 30, 2011, 09:55:22 am »
What do you mean?



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: How do 3d games work?
« Reply #10 on: August 30, 2011, 10:23:19 am »
I got a whole course at school on 3D, there's a lot of stuff. Also involves matrices.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #11 on: August 30, 2011, 10:25:27 am »
Off-topic question: how do you get a spoiler title (Spoiler for...)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Ashbad

  • Guest
Re: How do 3d games work?
« Reply #12 on: August 30, 2011, 10:26:40 am »
[spoiler=topic]stuff[/spoiler]

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: How do 3d games work?
« Reply #13 on: August 30, 2011, 10:29:04 am »
thanks



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: How do 3d games work?
« Reply #14 on: August 30, 2011, 10:46:32 am »
Wait, do you want a wireframe first person game? Because fixed 3d means the camera does not move at all.