Don't mind the mess!
We're currently in the process of migrating the Panda3D Manual to a new service. This is a temporary layout in the meantime.
QuadDR.jpg (200 × 150 pixels, file size: 12 KB, MIME type: image/jpeg)
This image was generated with the following code:
from direct.directbase.DirectStart import * from pandac.PandaModules import * from direct.actor.Actor import Actor import random # Turn off the default DisplayRegion base.camNode.getDisplayRegion(0).setActive(False) env = loader.loadModel('environment.egg') env.reparentTo(render) # Make four new DisplayRegions, in a quad. for coords in [(0, 0.5, 0, 0.5), (0.5, 1, 0, 0.5), (0, 0.5, 0.5, 1), (0.5, 1, 0.5, 1)]: dr = base.win.makeDisplayRegion(*coords) cam = camera.attachNewNode(Camera('cam')) dr.setCamera(cam) cam.setPos(random.uniform(-300, 300), random.uniform(-300, 300), random.uniform(20, 60)) cam.setHpr(random.uniform(0, 360), 0, 0)
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 11:07, 12 October 2008 | 200 × 150 (12 KB) | Drwr (Talk | contribs) |
- Edit this file using an external application (See the setup instructions for more information)
File usage
The following page links to this file: