
    e
                        d Z ddlZddlZddlmZ  ej                  d      Z	 ej                         Zej                          ej                  d       ej                  dd        ej                         Zej#                  ddd	       ej%                  e       ej&                  j)                  d
d      Z ej,                  ddd      Z ej0                  edddd      Zej5                  ed   dd       ej#                  d	d	d       ej%                  e        ej0                  eddd      Zej5                  ed	   dd       ej#                  d	d	d       ej%                  e        ej0                  eddd      Zej5                  ed   dd       ej#                  d	d	d       ej%                  e        ej0                  eddd      Zej5                  ed   dd       ej#                  d	d	d       ej%                  e        ej0                  edddd      Zej5                  ed   dd       ej#                  d	d	d       ej%                  e        ej0                  edddd      Zej5                  ed   dd       ej#                  d	d	d       ej%                  e       e d k(  r ejB                          yy)!z
Demonstration of some of the shader programs included with pyqtgraph that can be 
used to affect the appearance of a surface.
    NzGLShaders Examplezpyqtgraph example: GL Shaders   i)distanceazimuth      
      )rowscolsi      T)r   r   r   g?balloonadditive)meshdatasmoothcolorshader	glOptionsnormalColoropaque)r   r   r   r   viewNormalColorshaded   )r   r   r   r   edgeHilight   heightColor   __main__)"__doc__numpynp	pyqtgraphpgpyqtgraph.openglopenglglmkQAppappGLViewWidgetwshowsetWindowTitlesetCameraPosition
GLGridItemgscaleaddItemMeshDataspheremdlinspacex
GLMeshItemm1	translatem2m3m4m5m6__name__exec     >/usr/lib/python3/dist-packages/pyqtgraph/examples/GLshaders.py<module>rD      sw  
   bii#$BOO    0 1   R  -BMMO !A 		![[Rb)BKKAqR]]Bt>)_ij QqT1a  Aq  		"R]]BtMXV QqT1a  Aq  		"R]]Bt4EQYZ QqT1a  Aq  		"R]]BtHQ QqT1a  Aq  		"R]]Bt<aij QqT1a  Aq  		"R]]Bt<aij QqT1a  Aq  		"X zBGGI rB   