26 |
from org.nongnu.libvob.gl import GL, GLRen |
from org.nongnu.libvob.gl import GL, GLRen |
27 |
from math import sin,cos,pi |
from math import sin,cos,pi |
28 |
|
|
29 |
from org.nongnu.libvob.putil.misc import * |
from vob.putil.misc import * |
30 |
from org.nongnu.libvob.putil.effects import * |
from vob.putil.effects import * |
31 |
|
|
32 |
class Scene: |
class Scene: |
33 |
def __init__(self): |
def __init__(self): |
131 |
|
|
132 |
vs.matcher.add(cs2, "2") |
vs.matcher.add(cs2, "2") |
133 |
|
|
134 |
if self.type == "square": |
#if self.type == "square": |
135 |
cs2 = vs.coords.affine(cs2, 0, -1, -1, 2, 0, 0, 2 ) |
cs2 = vs.coords.affine(cs2, 0, -1, -1, 2, 0, 0, 2 ) |
136 |
vs.matcher.add(cs2, "2box") |
vs.matcher.add(cs2, "2box") |
137 |
|
|
138 |
cs1 = vs.coords.affine(0, 10, 600, 450, |
cs1 = vs.coords.affine(0, 10, 600, 450, |
139 |
self.scale * 150, |
self.scale * 150, |