File:Car red.png

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.

Top
Python C++
Car_red.png(267 × 200 pixels, file size: 24 KB, MIME type: image/png)

carnsx.egg with red texture

This image was generated by the following program:

from direct.directbase.DirectStart import *
from pandac.PandaModules import *

car = loader.loadModel('bvw-f2004--carnsx/carnsx.egg')
car.reparentTo(render)

base.setBackgroundColor(1, 1, 1, 1)
base.disableMouse()
camera.setHpr(0, -11, 0)
camera.setPos(0, -7, 2)

car.setX(-0.5)
car.setH(50)
base.graphicsEngine.renderFrame()
base.screenshot('car_red.png', defaultFilename = 0)

blue = loader.loadTexture('bvw-f2004--carnsx/carnsx-blue.png')
car.find('**/body/body').setTexture(blue, 1)
car.find('**/body/polySurface1').setTexture(blue, 1)
car.find('**/body/polySurface2').setTexture(blue, 1)

base.graphicsEngine.renderFrame()
base.screenshot('car_with_blue.png', defaultFilename = 0)

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current16:48, 4 October 2005Thumbnail for version as of 16:48, 4 October 2005267 × 200 (24 KB)Drwr (Talk | contribs)
16:44, 4 October 2005Thumbnail for version as of 16:44, 4 October 2005267 × 200 (24 KB)Drwr (Talk | contribs)carnsx.egg with red texture

The following 2 pages link to this file:

Top