File:Texture wrap error.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++
Texture_wrap_error.png(200 × 150 pixels, file size: 4 KB, 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

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

Date/TimeThumbnailDimensionsUserComment
current08:31, 11 October 2005Thumbnail for version as of 08:31, 11 October 2005200 × 150 (4 KB)Drwr (Talk | contribs)

The following page links to this file:

Top