Did I find the right examples for you? yes no

All Samples(57)  |  Call(42)  |  Derive(0)  |  Import(15)

src/c/h/chemlab-HEAD/chemlab/graphics/postprocessing/glow.py   chemlab(Download)
 
from ..transformations import normalized
from ..shaders import set_uniform, compileShader
from ..textures import Texture
 
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
        self.glow2_program = shaders.compileProgram(vertex, fragment)

src/c/h/chemlab-0.3/chemlab/graphics/postprocessing/glow.py   chemlab(Download)
 
from ..transformations import normalized
from ..shaders import set_uniform, compileShader
from ..textures import Texture
 
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
        self.glow2_program = shaders.compileProgram(vertex, fragment)

src/c/h/chemlab-HEAD/chemlab/graphics/renderers/base.py   chemlab(Download)
from ctypes import POINTER
 
from ..shaders import set_uniform, compileShader
import numpy as np
import pkgutil
    def compile_shader(self):
        vertex = compileShader(self.VERTEX_SHADER,
                               GL_VERTEX_SHADER)
        fragment = compileShader(self.FRAGMENT_SHADER,
                                 GL_FRAGMENT_SHADER)

src/c/h/chemlab-HEAD/chemlab/graphics/postprocessing/fxaa.py   chemlab(Download)
 
from ..textures import Texture
from ..shaders import set_uniform, compileShader
from .base import AbstractEffect
 
        frag = open(os.path.join(curdir, 'shaders', 'fxaa.frag')).read()        
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 

src/c/h/chemlab-0.3/chemlab/graphics/renderers/base.py   chemlab(Download)
from ctypes import POINTER
 
from ..shaders import set_uniform, compileShader
import numpy as np
import pkgutil
    def compile_shader(self):
        vertex = compileShader(self.VERTEX_SHADER,
                               GL_VERTEX_SHADER)
        fragment = compileShader(self.FRAGMENT_SHADER,
                                 GL_FRAGMENT_SHADER)

src/c/h/chemlab-0.3/chemlab/graphics/postprocessing/fxaa.py   chemlab(Download)
 
from ..textures import Texture
from ..shaders import set_uniform, compileShader
from .base import AbstractEffect
 
        frag = open(os.path.join(curdir, 'shaders', 'fxaa.frag')).read()        
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 

src/c/h/chemlab-HEAD/chemlab/graphics/postprocessing/ssao.py   chemlab(Download)
from .base import AbstractEffect
from ..transformations import normalized
from ..shaders import set_uniform, compileShader
 
class SSAOEffect(AbstractEffect):
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
        self.blur_program = shaders.compileProgram(vertex, fragment)

src/c/h/chemlab-0.3/chemlab/graphics/postprocessing/ssao.py   chemlab(Download)
from random import uniform
from ..transformations import normalized
from ..shaders import set_uniform, compileShader
 
class SSAOEffect(object):
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 
 
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
        self.blur_program = shaders.compileProgram(vertex, fragment)

src/c/h/chemlab-HEAD/chemlab/graphics/postprocessing/outline.py   chemlab(Download)
'''Outline effect'''
 
from ..textures import Texture
from ..shaders import set_uniform, compileShader
 
        frag = open(os.path.join(curdir, 'shaders', 'outline.frag')).read()        
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 

src/c/h/chemlab-0.3/chemlab/graphics/postprocessing/outline.py   chemlab(Download)
'''Outline effect'''
 
from ..textures import Texture
from ..shaders import set_uniform, compileShader
 
        frag = open(os.path.join(curdir, 'shaders', 'outline.frag')).read()        
        # Compile quad shader
        vertex = compileShader(vert, GL_VERTEX_SHADER)
        fragment = compileShader(frag, GL_FRAGMENT_SHADER)
 

  1 | 2  Next