![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#31 |
|
Newbie
Join Date: Apr 2006
Posts: 18
Rep Power: 0
![]() |
Hmmm...
C++, GDI Algebra... That's all? |
|
|
|
|
|
#32 | |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,107
Rep Power: 5
![]() |
Quote:
I would recommend starting with a 2D engine first (like a tile-based game). Don't forget you can mix polygons with plain 2D stuff. In fact, a polygon is a 2D shape, so all 3D accelerators can be used in 2D engines (for example, to rapidly blit texture-mapped tiles to the screen). Then, when you're comfortable with that, move on to some pseudo-3D stuff, like a slivering engine. If you don't know what that is, it's an engine that builds up a 3D view from multiple verticle 'slivers' which are scaled in height according to how far they are from the camera location. Old games like Heretic, Hexen, and the original DOOM used this technique. This approach should yield satisfactory performance on modern machines, even if you're using GDI. After you've gotten that down, you can move on to DirectX and a pure-polygon 3D engine.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#33 |
|
Newbie
Join Date: Apr 2006
Posts: 18
Rep Power: 0
![]() |
Sure I 'll start from 2d.
The problem is how to descibe points (vertices) in a 3d world (basicaly, describe a 3d world) (in all this I mean the idea of how to discribe a 3d world).... |
|
|
|
|
|
#34 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 573
Rep Power: 5
![]() |
A vertex is just an xyz coordinate...
In OpenGl, if you wanted to draw an object, you could make every vertex yourself if you wanted to using glVertex(x,y,z)... glBegin(GL_TRIANGLES); glVertex3f(0.0,1.0,0.0); glVertex3f(-1.0,0.0,0.0); glVertex3f(1.0,0.0,0.0); glEnd();
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
#35 |
|
Newbie
Join Date: Apr 2006
Posts: 18
Rep Power: 0
![]() |
I know this...
The vertices are just points in the 3d world. |
|
|
|
|
|
#36 |
|
Newbie
Join Date: Apr 2006
Posts: 18
Rep Power: 0
![]() |
Also, I heard that with c++ and some ready libraries can let me "talk" through an (windows) interface to the graphics card / or just "play" with pixels....
|
|
|
|
|
|
#37 |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Ok. Congratulations.
|
|
|
|
|
|
#38 | |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 573
Rep Power: 5
![]() |
Quote:
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
|
|
|
#39 | |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,107
Rep Power: 5
![]() |
Quote:
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#40 |
|
Expert Programmer
Join Date: Sep 2004
Location: Ontario, Canada
Posts: 573
Rep Power: 5
![]() |
How is code for a GPU written anyway, do they have their own assembly languages?
__________________
Johnny was a chemist's son but Johnny is no more, for what Johnny thought was H2O was H2SO4 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|