Jump to content
  • Advertisement
Sign in to follow this  
greentiger

OpenGL my "homework" for this weekend

This topic is 2561 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm not sure if this is the right forum to post this or not but I figured I'd give it a shot ....

I've assigned myself homework this weekend: to draw a 3d "tile" and then draw a series of tiles according to a 3d dimensional array (and then to draw textures on these tiles).

Step one to draw a tile that is 1 "meter" by 1 meter by 1/2 meter high. this is the hardest part to wrap my head around, conceptually i understand the x, y, z coordinate system and understand matrix math but most of the openGl tutorials are all about drawing cubes and rotating them. icon_smile.gif since I learn by doing I was hoping someone knew of a good resource to start with or maybe provide an example.

Step two to draw these tiles in accordance to a 3-dimensional array--I've got a pretty good idea how to do this already once I can draw the tiles.

I understand programming concepts but I am an absolute Python neophyte.
Dev: python 25, pygame, numpy, numarray, twisted, pyopengl

Share this post


Link to post
Share on other sites
Advertisement
In regard to Opengl, the tile creation is much like the spinning cube, only you're cutting one of its dimensions in half.

Also, I wouldn't force it upon myself to work with a 3d array until I knew why I needed it.

Share this post


Link to post
Share on other sites
<br />What do you mean with 3D tiles? Something like Minecraft?<br />
<br /><br /><br />
Well specifically something like final fantasy tactics.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!