| 1 | # PySoy's scenes.Space class |
|---|
| 2 | # |
|---|
| 3 | # Copyright (C) 2006,2007,2008,2009 PySoy Group |
|---|
| 4 | # |
|---|
| 5 | # This program is free software; you can redistribute it and/or modify |
|---|
| 6 | # it under the terms of the GNU Affero General Public License as published |
|---|
| 7 | # by the Free Software Foundation, either version 3 of the License, or |
|---|
| 8 | # (at your option) any later version. |
|---|
| 9 | # |
|---|
| 10 | # This program is distributed in the hope that it will be useful, |
|---|
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 13 | # GNU Affero General Public License for more details. |
|---|
| 14 | # |
|---|
| 15 | # You should have received a copy of the GNU Affero General Public License |
|---|
| 16 | # along with this program; if not, see http://www.gnu.org/licenses |
|---|
| 17 | # |
|---|
| 18 | # $Id$ |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | cdef class Space (Scene) : |
|---|
| 22 | '''soy.scenes.Space |
|---|
| 23 | |
|---|
| 24 | ''Space is big. Really, really big. You just won't believe how vastly, |
|---|
| 25 | mind-boggling big it is. I mean you think it's a long way down the |
|---|
| 26 | street to the chemist's, but that's just peanuts to Space.'' |
|---|
| 27 | ~ Douglas Adams |
|---|
| 28 | |
|---|
| 29 | Space is a specialized scene class for astronomical environments. |
|---|
| 30 | Planetary/stellar bodies and a starfield background are implemented |
|---|
| 31 | through multi-stage rendering and an optimized octtree for collision are a |
|---|
| 32 | few of this classes enhancements. |
|---|
| 33 | |
|---|
| 34 | If a game includes multiple star systems each system should be implemented |
|---|
| 35 | as an instance of this class. |
|---|
| 36 | |
|---|
| 37 | It is currently incomplete. |
|---|
| 38 | ''' |
|---|