natedawson.com Forum Index
RegisterSearchFAQMemberlistUsergroupsLog in
Prima

 
Reply to topic    natedawson.com Forum Index » Python View previous topic
View next topic
Prima
Author Message
chryso
Omni-usurper


Joined: 25 Sep 2006
Posts: 18
Location: Flar-eeee-da

Post Prima Reply with quote
I sometimes talk about the other project I am working on, but I think it would help if you could see what it is I'm talking about so I put up the current in-development version of "Prima."

You can get the zip here. To run it, just find "main.py" and double-click (I think that's how it works in Windows, let me know if it chokes). You'll need Python, PyGame, and PyOpenGL.

Basic premise is a roller-coaster (albeit a cheesy one) in the mountains (or whatever height map is specified). But the main idea is to create a world where I can test whatever random 3d concept/model/etc I want. It isn't really intended as a game engine, but maybe a really simple game could work.

Controls:
R: reset the camera position to 0,0,0
C: Add a new control point to the roller-coaster track
SPACE: Toggle between navigate mode and pick mode (pick mode is for dragging the control points around the scene)
L: Toggle Lighting
F: Toggle Fog
T: Toggle texture mapping method (Linear, Bi-Linear, Mip-mapped)
Z: Possess world objects
N: Go to the next possessable object (the only interesting object to possess is the "train")

Use the mouse to rotate the camera in a fairly typical FPS style
Scroll-wheel adjusts camera along Y-axis (up/down)
Holding right-button moves in and out of scene
Holding shift while mouse-wheel scrolling or right-button holding makes it go faster

There are a few other keys I am probably forgetting, just check the events() method of the Scene class for others.

-C.
Fri Oct 06, 2006 9:19 am View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number
npdawson
Site Admin


Joined: 14 Sep 2006
Posts: 32
Location: Illinois

Post Reply with quote
Awesome, I will check it out.

Is it just me or is the navigation of the PyOpenGL page horrible? I tried to click on "Downloading and Installation" 3 times before I realized it wasn't a link Very Happy
Sat Oct 07, 2006 9:19 am View user's profile Send private message Visit poster's website
chryso
Omni-usurper


Joined: 25 Sep 2006
Posts: 18
Location: Flar-eeee-da

Post Reply with quote
I agree, that text on the side definitely appears to be a navbar, but it is really only outlining the different sections of text on the right. But the reference pages are awesome, so I tend to forgive them for anything else.

-C.
Sun Oct 08, 2006 9:37 am View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:    
Reply to topic    natedawson.com Forum Index » Python All times are GMT - 6 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL.