Home    Features    Download    Screenshots    Manual    Reference    Forums    License    Contact   
 
  Panda3D Manual: Texture wrap error.png

Texture_wrap_error.png (5KB, MIME type: image/png)

This image was generated with the following program:

import direct
from pandac.PandaModules import *

loadPrcFileData("data", "win-size 200 150")

from direct.directbase.DirectStart import *

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

cm = CardMaker('cm')
cm.setFrame(-0.25, 0.25, -0.5, 0.5)
card = aspect2d.attachNewNode(cm.generate())

tex = loader.loadTexture('black_r.png')
tex.setMinfilter(Texture.FTLinearMipmapLinear)
card.setTexture(tex)
tex.setWrapU(Texture.WMRepeat)
tex.setWrapV(Texture.WMRepeat)

base.graphicsEngine.renderFrame()
base.screenshot('texture_wrap_error.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
Flight Simulator, created by Carnegie-Mellon students
screenshot
Disney Pinball: real physics and cool settings
screenshot
Blackout: a game using high-end lighting for ambiance.