81 |
BgVob bg = BgVob.create(plane, null); |
BgVob bg = BgVob.create(plane, null); |
82 |
int bginto = vs.coords.ortho(viewport2screen, 500, 0, 0, 1, 1); |
int bginto = vs.coords.ortho(viewport2screen, 500, 0, 0, 1, 1); |
83 |
int bgpap = vs.coords.ortho(paper2viewport, 0, 0, 0, 100, 100); |
int bgpap = vs.coords.ortho(paper2viewport, 0, 0, 0, 100, 100); |
84 |
vs.matcher.addSub(viewport2screen, bginto, "BGTRANS"); |
vs.matcher.add(viewport2screen, bginto, "BGTRANS"); |
85 |
vs.matcher.addSub(paper2viewport, bgpap, "BGPAP"); |
vs.matcher.add(paper2viewport, bgpap, "BGPAP"); |
86 |
vs.map.put(bg, bginto, bgpap); |
vs.map.put(bg, bginto, bgpap); |
87 |
|
|
88 |
vs.map.put(GLCache.getCallList("Color 0 0 0")); |
vs.map.put(GLCache.getCallList("Color 0 0 0")); |
89 |
|
|
90 |
int into = ((GLVobCoorder)vs.coords).concat(viewport2screen, paper2viewport); |
int into = ((GLVobCoorder)vs.coords).concat(viewport2screen, paper2viewport); |
91 |
vs.matcher.addSub(viewport2screen, into, "PLANEINTO"); |
vs.matcher.add(viewport2screen, into, "PLANEINTO"); |
92 |
|
|
93 |
Space space = cursor.space; |
Space space = cursor.space; |
94 |
Dim d_1 = space.getDim(Ids.d_1); |
Dim d_1 = space.getDim(Ids.d_1); |
196 |
center = center.getRootclone(); |
center = center.getRootclone(); |
197 |
int place[] = Params.getInts(center.s(d.pan, 1), d.pan, 2, null); |
int place[] = Params.getInts(center.s(d.pan, 1), d.pan, 2, null); |
198 |
float scale = 0.01f; |
float scale = 0.01f; |
199 |
int p2v = vs.matcher.addSub( |
int p2v = vs.matcher.add( |
200 |
cs, |
cs, |
201 |
vs.coords.ortho(0, 0, |
vs.coords.ortho(0, 0, |
202 |
-scale*place[0]+0.5f, -scale*place[1]+0.5f, |
-scale*place[0]+0.5f, -scale*place[1]+0.5f, |