directpython simple texture

...:::JA:::... vedrandekovic at
Tue Jul 17 20:26:46 CEST 2007


Is there any real easy example for loading an texture in your directpython 
For example this is my code:

# loading directpython modules
import d3dx
import d3d
from d3dc import *
import d3dgui
import time

#making a window
fr=d3dx.Frame(u"Bok kaj ima")

# trying to load an texture
t1 = d3d.Texture(u"textures/")
d3d.setTexture(t1, 0)

#starting the application

....after I run this example, all I got is blue,clear frame.Is there really 
any simple
texture example???   Please don't tell me to I look into directpython 
samples becose
it's not helpful!!!!!

__________________________________________________________________ Vedran 
veki ICQ#: 264412055 Current ICQ status: + More ways to contact me Get ICQ! 

More information about the Python-list mailing list