41 |
from org.nongnu.libvob.gl import PaperOptions |
from org.nongnu.libvob.gl import PaperOptions |
42 |
paperopt = PaperOptions.instance(); |
paperopt = PaperOptions.instance(); |
43 |
|
|
44 |
dbg=0 |
dbg=1 |
45 |
# Discriminate between different renderers. |
# Discriminate between different renderers. |
46 |
# These are for debug output only. |
# These are for debug output only. |
47 |
if dbg: |
if dbg: |
127 |
colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum, |
colors = Colors(rng.nextInt(), colors = numcolors, minlum = minlum, |
128 |
blend = blend) |
blend = blend) |
129 |
textures = Textures(rng.nextInt()) |
textures = Textures(rng.nextInt()) |
130 |
rootrep = TexGenXYRepeatUnit(rng, scale = 0.3 * scaleFactor, vecs = vecs) |
rootrep = TexGenXYRepeatUnit(rng, scale = 60 * scaleFactor, vecs = vecs) |
131 |
passes = [ { "trans" : 0, "emboss" : 0 }, |
passes = [ { "trans" : 0, "emboss" : 0 }, |
132 |
{ "trans" : .5, "emboss" : 0 }, |
{ "trans" : .5, "emboss" : 0 }, |
133 |
{ "trans" : .9375, "emboss" : 0 }, |
{ "trans" : .9375, "emboss" : 0 }, |
250 |
ActiveTexture TEXTURE0 |
ActiveTexture TEXTURE0 |
251 |
""") |
""") |
252 |
|
|
253 |
|
print "Ret: ",npap.toString(), npap.getPass(0).getNTexGens() |
254 |
|
|
255 |
return npap |
return npap |
256 |
|
|
257 |
|
|