53 |
return new VobScene( |
return new VobScene( |
54 |
new DefaultVobMap(), |
new DefaultVobMap(), |
55 |
new OrthoCoorder(size.width, size.height), |
new OrthoCoorder(size.width, size.height), |
56 |
|
new DefaultVobMatcher(), |
57 |
this.getGraphicsAPI(), |
this.getGraphicsAPI(), |
58 |
this, |
this, |
59 |
size |
size |
108 |
*/ |
*/ |
109 |
static boolean useGlobalCache = false; |
static boolean useGlobalCache = false; |
110 |
static Image globalCache; |
static Image globalCache; |
111 |
|
VobScene listprev, listnext; |
112 |
|
int[] interplist; |
113 |
|
|
114 |
/** Renders a frame of the view animation onto Graphics buffer |
/** Renders a frame of the view animation onto Graphics buffer |
115 |
*/ |
*/ |
166 |
p("Going to render: "+sc+" "+osc+" "+fract); |
p("Going to render: "+sc+" "+osc+" "+fract); |
167 |
if(dbg) sc.dump(); |
if(dbg) sc.dump(); |
168 |
if(dbg) osc.dump(); |
if(dbg) osc.dump(); |
169 |
|
|
170 |
|
if(sc != listprev || osc != listnext) { |
171 |
|
listprev = sc; |
172 |
|
listnext = osc; |
173 |
|
interplist = sc.matcher.interpList(osc.matcher); |
174 |
|
} |
175 |
|
|
176 |
((OrthoCoorder)sc.coords).renderVobs((DefaultVobMap)sc.map, |
((OrthoCoorder)sc.coords).renderVobs((DefaultVobMap)sc.map, |
177 |
(OrthoCoorder)osc.coords, |
(OrthoCoorder)osc.coords, |
178 |
|
interplist, |
179 |
fract, |
fract, |
180 |
gr, fg |
gr, fg |
181 |
); |
); |