def draw(self): transparency(True) # should be True for vortex glBlendFunc(GL_SRC_ALPHA, GL_ONE); # the following 3 lines are necessary to get backs drawn on strips glDepthMask(GL_FALSE) glDisable(GL_CULL_FACE) glCullFace(GL_BACK) self.texture.bind() color(self.color) self.buffer.draw(style='solid') self.texture.unbind()
def draw(self): color(self.color) self.buffer.draw(style='solid')
def draw(self): color(self.color) self.texture.bind() self.dream.draw(style='solid') self.texture.unbind()
def draw(self): if self.age < self.history: return color(self.color) self.buffer.draw(style='solid')