Home    Features    Download    Screenshots    Manual    Reference    Forums    License    Contact   
 
  Panda3D Manual: Texture smiley noise.png

Texture_smiley_noise.png (43KB, MIME type: image/png)

Smiley with noise.rgb applied

This image was generated with the following program:

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

base.setBackgroundColor(1, 1, 1, 1)

smiley = loader.loadModel('smiley.egg')
smiley.reparentTo(render)

dl = DirectionalLight('dl')
dlnp = base.camera.attachNewNode(dl)
smiley.setLight(dlnp)

tex = loader.loadTexture('maps/noise.rgb')
smiley.setTexture(tex, 1)

base.disableMouse()
camera.setPos(1, -5, 1)
camera.setHpr(12, -10, 0)

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

File history

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to see the file uploaded on that date.


The following pages link to this file:

Back to the Manual   
.
screenshot
Disney's Pirates of the Caribbean Online
screenshot
Code3D is a tool for creating virtual training scenarios.
screenshot
Disney Pinball: real physics and cool settings