156 |
return c |
return c |
157 |
|
|
158 |
execfile("gfx/libcolor/spaces.py") |
execfile("gfx/libcolor/spaces.py") |
159 |
|
execfile("gfx/libpaper/texcoords.py") |
160 |
|
|
161 |
class SimpleCombinerPass: |
class SimpleCombinerPass: |
162 |
def setupCode(self, texinputs, rnd): |
def setupCode(self, texinputs, rnd): |
551 |
sca2 = 0.8 |
sca2 = 0.8 |
552 |
|
|
553 |
if ttyp[i] == "A": |
if ttyp[i] == "A": |
554 |
data = getTexMat(rnd) |
#data = getTexMat(rnd) |
555 |
|
data = TexCoords.get2DTexGenData(rnd) |
556 |
|
|
557 |
elif ttyp[i] == "C": |
elif ttyp[i] == "C": |
558 |
data = [ 0, 0, 0, sca2*rnd.nextGaussian(), |
data = [ 0, 0, 0, sca2*rnd.nextGaussian(), |