Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(50)  |  Call(25)  |  Derive(1)  |  Import(24)

src/s/h/shedskin-HEAD/examples/pylot/SimpleGeometry.py   shedskin(Download)
# along with Foobar.  If not, see <http://www.gnu.org/licenses/>.import math
 
from Camera import Camera
from Shape import *
from Vector4 import Vector4, Point, Offset
def getCamera(world):
  return Camera(world, EYE, TARGET, UP, DISTANCE, W, H, COLS, ROWS)
 
def getCamera2(world, factor=1):
  return Camera(world, EYE2, TARGET, UP2, DISTANCE, W, H,

src/s/u/supper-resolution-HEAD/SampleCreator.py   supper-resolution(Download)
        os.mkdir(output_folder)
 
    camera = Camera.Camera(myconfig.config['psf'])
    downscale = 1.0 / myconfig.config['scale']
 

src/s/h/shedskin-HEAD/examples/pylot/Pool.py   shedskin(Download)
import Queue
import multiprocessing
from Camera import Camera
from sys import stdout
 

src/i/n/incantus-HEAD/src/ui/Incantus.py   incantus(Download)
import soundfx
 
from Camera import Camera
from card_view import HandView, StackView
from play_view import PlayView, Table
    def init(self):
        self.camera = Camera(euclid.Point3(0,15, 0))
        self.mainplayer_status = StatusView()
        self.otherplayer_status = StatusView(is_opponent=True)
        self.mana_controller = ManaController(self.mainplayer_status.manapool, self.otherplayer_status.manapool, self)

src/s/u/supper-resolution-HEAD/SRRestorer.py   supper-resolution(Download)
 
    scale = config['scale']
    camera = Camera.Camera(config['psf'])
 
    print "Restore SR Image"

src/p/y/py-sphviewer-0.136/sphviewer/Scene.py   py-sphviewer(Download)
        #I use the autocamera by default
        if(Camera==None):
            from Camera import Camera
            self.Camera = Camera()
            self.Camera.set_autocamera(Particles)
                    print "You must use a valid Camera class..."
                    print "I will try to set an autocamera..."
                    from Camera import Camera
                    self.Camera = Camera()
                    self.Camera.set_autocamera(Particles)
                print "You must use a valid Camera class..."
                print "I will try to set an autocamera..."
                from Camera import Camera
                self.Camera = Camera()
                self.Camera.set_autocamera(Particles)

src/p/y/py-sphviewer-0.136/sphviewer/__init__.py   py-sphviewer(Download)
 
from Particles import Particles
from Camera import Camera
from Scene import Scene
from Render import Render

src/u/l/UlDunAd-HEAD/src/sysobj.py   UlDunAd(Download)
w, h = 0, 0                     #width and height of the window
 
from Camera import Camera
from ImgObj import ImgObj
from WinObj import WinObj