1 |
dbg = 0 |
dbg = 0 |
2 |
initialized = 0 |
initialized = 0 |
3 |
|
|
4 |
execfile("gfx/libcolor/spaces.py") |
from gfx.libpaper.colors import Colors |
5 |
|
|
6 |
from gzz.gfx.gl import GL,GLRen,Paper,PaperMill |
from gzz.gfx.gl import GL,GLRen,Paper,PaperMill |
7 |
import java |
import java |
23 |
files = [ |
files = [ |
24 |
"textures.py", |
"textures.py", |
25 |
"texcoords.py", |
"texcoords.py", |
26 |
"colors.py", |
#"colors.py", |
27 |
"params.py" |
"params.py" |
28 |
] |
] |
29 |
|
|
38 |
# otherwise it'll be SLOW. |
# otherwise it'll be SLOW. |
39 |
if dbg: print "Using NV20 texture shaders" |
if dbg: print "Using NV20 texture shaders" |
40 |
files.append("texops_NV2X.py") |
files.append("texops_NV2X.py") |
41 |
|
#from gfx.libpaper.texops_NV2X import * |
42 |
else: |
else: |
43 |
if dbg: print "Using unextended OpenGL texture accesses" |
if dbg: print "Using unextended OpenGL texture accesses" |
44 |
files.append("texops_STD.py") |
files.append("texops_STD.py") |
45 |
|
#from gfx.libpaper.texops_STD import * |
46 |
|
|
47 |
|
|
48 |
# Check which combiners to use. |
# Check which combiners to use. |