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

0 Members and 1 Guest are viewing this topic.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: How do 3d games work?
« Reply #30 on: September 05, 2011, 10:16:13 am »
Well, I'm the kind of person who likes to make things from scratch so I was thinking maybe information about how it all works, but if using a library to start with is better, then I could go with that. If that's the case though, then which one would be the best?

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: How do 3d games work?
« Reply #31 on: September 05, 2011, 02:08:24 pm »
Well, it depends on what platform and hardware you want to use. Making a hardware accelerated API that runs on PCs with modern graphics cards would be *very* hard, but a software rendering library is quite doable.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: How do 3d games work?
« Reply #32 on: September 05, 2011, 02:32:05 pm »
Well, if I did anything 3D by myself, it'd be in C# for now, and therefore .NET based. I guess I could use XNA, but that would just help me learn 3D in XNA, not how a renderer works (or would it?).

So I guess I'm asking if there's any good documentation on 3D rendering in general or, if it'd be easier, for XNA.

Offline fb39ca4

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1749
  • Rating: +60/-3
    • View Profile
Re: How do 3d games work?
« Reply #33 on: September 05, 2011, 02:45:05 pm »
Well, you want to read some DirectX tutorials (or OpenGL if you want to use that, but I don't know if XNA supports it). Basically, you will be calling functions which send the individual polygons to the video card for rendering.

Offline BlakPilar

  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 734
  • Rating: +44/-1
    • View Profile
Re: How do 3d games work?
« Reply #34 on: September 05, 2011, 02:49:58 pm »
Could you point me in the right direction? I haven't had much luck by myself.