Smiley with noise.rgb applied as multitexture
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')
ts = TextureStage('ts')
smiley.setTexture(ts, tex)
base.disableMouse()
camera.setPos(1, -5, 1)
camera.setHpr(12, -10, 0)
base.graphicsEngine.renderFrame()
base.screenshot('multitex_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.
Links
The following pages link to this file:
|