!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.16 (Debian). PHP/5.3.3-7+squeeze19 

uname -a: Linux mail.tri-specialutilitydistrict.com 2.6.32-5-amd64 #1 SMP Tue May 13 16:34:35 UTC
2014 x86_64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/pyshared/OpenGL/GL/WIN/   drwxr-xr-x
Free 130 GB of 142.11 GB (91.48%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     specular_fog.py (1.84 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
'''OpenGL extension WIN.specular_fog

This module customises the behaviour of the 
OpenGL.raw.GL.WIN.specular_fog to provide a more 
Python-friendly API

Overview (from the spec)
    
    Specularly lit textures enhance the realism of a scene greatly.
    Using the current OpenGL lighting model, one cannot obtain specularly lit 
    textures. This is because in the current OpenGL lighting model lighting
    is done ahead of texturing and texture-functions such as modulate are 
    inadequate for such a simulation. What needs to be addressed is that, 
    somehow an additional interpolant (specular color of that material) needs 
    to be propagated till that stage of the pipeline where texture-mapping is
    performed. This interpolant is then added on to the fragment's color
    resulting from the texturing process before proceeding with the rest of 
    the pipeline.
    
    This can be addressed very easily in software, but hardware
    is not so malleable. Currently most hardware does not support such a
    
    lighting model. However, some current hardware does support fogging,
    which takes place in the pipeline after texturing. This hardware 
    assumes that the fog blend factor f is computed per-vertex and
    interpolates the value across the primitive. The WIN_specular_fog
    extension enables the use of such existing fog circuitry to obtain 
    specularly lit textures without much performance degradation. 
    
    To use it the programmer simply enables the extension with a call to
    Enable with the appropriate enumerant and sets the fog color to the 
    desired specular color.

The official definition of this extension is available here:
http://www.opengl.org/registry/specs/WIN/specular_fog.txt
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions, wrapper
from OpenGL.GL import glget
import ctypes
from OpenGL.raw.GL.WIN.specular_fog import *
### END AUTOGENERATED SECTION

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0083 ]--