From 3ee73860c420d476ed3fca2878f5b2b2124b0589 Mon Sep 17 00:00:00 2001 From: Dave Schuyler Date: Sat, 18 Dec 2004 06:02:12 +0000 Subject: [PATCH] *** empty log message *** --- direct/src/showbase/ThreeUpShow.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 direct/src/showbase/ThreeUpShow.py diff --git a/direct/src/showbase/ThreeUpShow.py b/direct/src/showbase/ThreeUpShow.py new file mode 100644 index 0000000000..d15722d242 --- /dev/null +++ b/direct/src/showbase/ThreeUpShow.py @@ -0,0 +1,18 @@ + +import ShowBase + +class ThreeUpShow(ShowBase.ShowBase): + def __init__(self): + ShowBase.ShowBase.__init__(self) + + def makeCamera(self, win, chan = None, layer = None, layerSort = 0, + scene = None, + displayRegion = (0, 1, 0, 1), aspectRatio = None): + self.camRS=ShowBase.ShowBase.makeCamera( + self, win, displayRegion = (.5, 1, 0, 1), aspectRatio=.67, camName='camRS') + self.camLL=ShowBase.ShowBase.makeCamera( + self, win, displayRegion = (0, .5, 0, .5), camName='camLL') + self.camUR=ShowBase.ShowBase.makeCamera( + self, win, displayRegion = (0, .5, .5, 1), camName='camUR') + return self.camUR +