34 |
Enable TEXTURE_GEN_T |
Enable TEXTURE_GEN_T |
35 |
ActiveTexture TEXTURE0 |
ActiveTexture TEXTURE0 |
36 |
Begin LINE_LOOP |
Begin LINE_LOOP |
37 |
Vertex -%(w)sr -1 |
Vertex -%(w)s -1 |
38 |
Vertex -%(w)s +1 |
Vertex -%(w)s +1 |
39 |
Vertex +%(w)s +1 |
Vertex +%(w)s +1 |
40 |
Vertex +%(w)s -1 |
Vertex +%(w)s -1 |
41 |
End |
End |
42 |
""" % locals()) |
""" % locals()) |
43 |
|
|
44 |
self.iq = GZZGL.createIrregularQuad(-1, -1, 1, 1, .5, """ |
self.iq = GZZGL.createIrregularQuad(.2, """ |
45 |
PushAttrib ENABLE_BIT TEXTURE_BIT CURRENT_BIT |
PushAttrib ENABLE_BIT TEXTURE_BIT CURRENT_BIT |
46 |
Enable ALPHA_TEST |
Enable ALPHA_TEST |
47 |
AlphaFunc GREATER 0.0 |
AlphaFunc GREATER 0.0 |
94 |
putnoc(vs, background((0.1,0.4,0.5))) |
putnoc(vs, background((0.1,0.4,0.5))) |
95 |
|
|
96 |
|
|
97 |
cs1 = vs.coords.affineCoordsys(0, "1", 10, self.x1, self.y1, 100, 0, 0, 100) |
cs1 = vs.coords.affineCoordsys(0, "1", 10, self.x1, self.y1, 200, 0, 0, 100) |
98 |
cs2 = vs.coords.affineCoordsys(0, "2", 10, 600, 450, 150, 32.3, -14.2, 150) |
cs2 = vs.coords.affineCoordsys(0, "2", 10, 600, 450, 150, 32.3, -14.2, 150) |
99 |
vs.map.put(self.mask, cs2) |
vs.map.put(self.mask, cs2) |
100 |
vs.map.put(self.iq, cs1, cs2) |
vs.map.put(self.iq, cs1, cs2) |