Did I find the right examples for you? yes no

All Samples(18)  |  Call(9)  |  Derive(0)  |  Import(9)

src/c/h/chemshapes-HEAD/host/gletools/examples/waves.py   chemshapes(Download)
"""
from __future__ import with_statement
from util import quad, nested, ChangeValue, gl_init, Processor, Sun
import random
 
    glClampColorARB(GL_CLAMP_FRAGMENT_COLOR_ARB, GL_FALSE)
    glClampColorARB(GL_CLAMP_READ_COLOR_ARB, GL_FALSE)
    gl_init(light=False)
    pyglet.app.run()
 

src/c/h/chemshapes-HEAD/host/gletools/examples/r2vb.py   chemshapes(Download)
from __future__ import with_statement
 
import pyglet
from util import gl_init, ChangeValue, nested, quad, Sun
from gletools.gl import *
        heightmap.normal_texture.draw(286, 10)
 
    gl_init(light=False)
    if gl_info.have_extension('ARB_color_buffer_float'):
        glClampColorARB(GL_CLAMP_VERTEX_COLOR_ARB, GL_FALSE)

src/c/h/chemshapes-HEAD/host/gletools/examples/outline_render.py   chemshapes(Download)
)
from gletools.gl import *
from util import Mesh, Processor, Kernel, offsets, gl_init
from gaussian import Gaussian
 
 
if __name__ == '__main__':
    gl_init()
    pyglet.app.run()
 

src/c/h/chemshapes-HEAD/host/gletools/examples/superblur.py   chemshapes(Download)
)
from gletools.gl import *
from util import Mesh, Processor, Kernel, offsets, gl_init
 
### setup ###
        #display_processor.blit(render)
 
    gl_init()
    pyglet.app.run()
 

src/c/h/chemshapes-HEAD/host/gletools/examples/gaussian.py   chemshapes(Download)
)
from gletools.gl import *
from util import Mesh, Processor, Kernel, offsets, gl_init
 
### setup ###
        processor.blit(texture)
 
    gl_init()
    pyglet.app.run()
 

src/c/h/chemshapes-HEAD/host/gletools/examples/pseudo_instancing.py   chemshapes(Download)
from gletools import Projection, Lighting, Color, VertexObject
from gletools.gl import *
from util import Mesh, gl_init, ChangeValue, nested
from random import random
 
        fps.draw()
 
    gl_init()
    pyglet.app.run()
 

src/c/h/chemshapes-HEAD/host/gletools/examples/instancing.py   chemshapes(Download)
from gletools import Projection, Lighting, Color, VertexObject
from gletools.gl import *
from util import Mesh, gl_init, ChangeValue, nested
from random import random
 
        fps.draw()
 
    gl_init()
    pyglet.app.run()
 

src/c/h/chemshapes-HEAD/host/gletools/examples/vbo.py   chemshapes(Download)
from gletools import Projection, Lighting, Color, VertexObject
from gletools.gl import *
from util import Mesh, gl_init, ChangeValue, nested
 
window = pyglet.window.Window()
 
if __name__ == '__main__':
    gl_init()
    pyglet.app.run()
 

src/f/o/fos-legacy-HEAD/scratch/4gletools/outline_render_brain.py   fos-legacy(Download)
)
from gletools.gl import *
from util import Mesh, Processor, Kernel, offsets, gl_init
from gaussian import Gaussian
 
 
if __name__ == '__main__':
    gl_init()
    pyglet.app.run()