179 |
def putThings(): |
def putThings(): |
180 |
vs.map.clear() |
vs.map.clear() |
181 |
vs.map.put(gzz.vob.vobs.SolidBgVob(Color.red)) |
vs.map.put(gzz.vob.vobs.SolidBgVob(Color.red)) |
182 |
vs.map.put(renderable, cs_cull) |
vs.map.put(renderable, cs_cull, 0) |
183 |
render(vs) |
render(vs) |
184 |
|
|
185 |
#test cull-clip interface |
#test cull-clip interface |
186 |
font = GL.createFont("gfx/fonts/a010013l.pfb", 16) |
font = GL.createFont("gfx/fonts/a010013l.pfb", 16) |
187 |
renderable = GLRen.createHorizText2(font, "FOO", 1, 1, 1, 1) |
renderable = GLRen.createHorizText2(font, "FOO", 1, 1, 1, 1) |
188 |
|
|
189 |
|
|
190 |
cs = c.affineCoordsys(0, 0, 10, 10, 100, 0, 0, 100) |
cs = c.affineCoordsys(0, 0, 10, 10, 100, 0, 0, 100) |
191 |
cs_clip = c.affineCoordsys(0, 0, 0, 0, 200, 0, 0, 200) |
cs_clip = c.affineCoordsys(0, 0, 0, 0, 200, 0, 0, 200) |