pygame is
Python
Simple DirectMedia Layer
 
 
pygame.org is
Site Swing
3D Rotations

3D Rotations - 2.0.0

Ian Mallett (geometrian)

Tags:

Description

OK, before you start, you need to know a little math.
For starters, the 2D games most people make use 1 angle.
Spherical coordinates use 2.
This uses 3, and is comparable in complexity to a 4-dimensional coordianate system.
To solve this problem, I had to resort to matrices to do my trigonometry. Anyway, it was all very complicated, and I spent all day yesterday, working an hour into today to make it work. It doesn't look like much, but it was really, really, really, so hard.
Naturally, since I'm SUCH a nice person, I'm giving it here so you don't waste half your weekend staring into space trying to get this working.

Links

Home Page: http://geometrian.com/programming/index.php
Source: http://www.geometrian.com/data/programming/projects/3D%20Rotations/2.0.0/3D%20Rotations%202.zip

Screenshot


click to view original size

Releases

3D Rotations - 2.0.0 - Feb 10, 2008

Pygame.org account Comments

If you wish to leave a comment with your pygame.org account, please sign in first.

March 4, 2008 8:10pm - grace pow-sang - nickname: (sana) - 5/5
COOL!!!!!!!!!!!!!!!!!
February 10, 2008 4:18am - Ian Mallett - nickname: (geometrian)
Version 2.0.0 released! (Version 1.0.0 was pre-release work).
spotlight

 
our projects
pygame.org welcomes all python game, art, music, sound, video and multimedia projects. If they use pygame or not.
 
recent releases
Sep 29, 2014

Sep 19, 2014

Sep 17, 2014

Sep 9, 2014

Sep 8, 2014

Sep 7, 2014


Sep 5, 2014

Aug 26, 2014

Aug 21, 2014


Aug 18, 2014

... more!
 
for pygame related questions, comments, and suggestions, please see help (lists, irc)