|
From: Lou H. <lh...@ia...> - 2002-03-26 05:44:57
|
So, I've decided to take the quantum leap into the realm of 3D =
graphics with OpenGL and glut. The only problem is that I HAVE NO =
FRIKKIN IDEA WHAT I'M DOING!!!! So, I was wondering if any of you 3D =
gurus had any words of wisdom for me. OK, now let me go into a little =
bit of detail about what I need help with.
I'm making a BMX game. My plan is to make it like Mat Hoffman's Pro =
BMX, with better gameplay (I'll let Hoffman beat me in the graphics =
department for right now). I'm working on the bike model. Right now, =
all I have is the wheel class, which stores the wheel's world =
coordinates. Ultimately, the wheel's world coordinates will be =
determined by the bike (since the wheel is connected to the bike), but =
for now it's just floating in space. Anyway, I have the points that =
constitute the wheel stored in a couple GL_LINES structures (basically, =
to enhance the 3D look, I made two identical circles, one on the =
positive side of the Z axis, and one on the negative side of the Z =
axis). I was looking through the redbook and it confuses the hell out =
of me. How do I set the program up for 3D viewing? All this =
glMatrixMode and other stuff is kinda strange to look at. And then, =
once I have that set up, how do I actually transform the points in the =
structure? I'll look at some code, too, but anyone who helps me out =
gets $5. (ok, maybe not, but if you have any suggestions, I'd really =
appreciate them.)
- Lou
P.S. Over break, I was cleaning out my old laptop and I found some of =
the stuff I made in QB45. If anyone wants to see it, I can bring it to =
the meeting on Thursday. I have some executables.
|