代码搜索结果
找到约 5,548 项符合
Camera 的代码
testogre.py
import localogre as ogre
import sys
root = ogre.Root()
# setup resources
config = ogre.ConfigFile()
config.load( 'resources.cfg' )
for key, path in config.getSettingsIterator():
ogre.R
oasisgraphicssystem.cpp
/******************************************************************************
* This source file is part of Bad Camel Gaming
* Copyright (C) 2003 Zephie Greyvenstein
* See Readme.html for
boxstack.rb
# Set up a scene to demo the engine
###################
def random(x, y)
return (rand()*(y-x)+x)
end
## Function for adding things to the scene
def triggerScene( )
o = createBox( )
boxstack.lua
-- Set up a scene to demo the engine
------------------------------------
-- Function for adding things to the scene
function triggerScene( )
o = createBox( )
o:getPhysics( ):setLinearV
sampleframework.py
import localogre as ogre
# Big bug: Vector.ZERO is returned as a reference. If modified, then the static is modified !
class Application:
def __init__( self ):
self.frameListener =
bspdemo.py
# bspdemo.py
import localogre as ogre
import sampleframework
class BSPApplication(sampleframework.Application):
def _setUpResources( self ):
config = ogre.ConfigFile()
co
skydomedemo.py
import localogre as ogre
import sampleframework
class SkyDomeApplication(sampleframework.Application):
def _createScene( self ):
sceneManager = self.sceneManager
camera = se
envmapdemo.py
import localogre as ogre
import sampleframework
class EnvMapApplication(sampleframework.Application):
def _createScene( self ):
sceneManager = self.sceneManager
camera = sel
skeletonanimationdemo.py
import localogre as ogre
import sampleframework
NUM_ROBOTS = 10
class SkeletalApplication(sampleframework.Application):
def _createScene( self ):
sceneManager = self.sceneManage
cameratrackingdemo.py
# CameraTracking.py
import localogre as ogre
import sampleframework
class CameraTrackApplication(sampleframework.Application):
def _createScene( self ):
sceneManager = self.sceneMan