After i've added skybox to empty scene, fps value go down from 60 to 5.
I make some investigation, and found that problem in drawObject() method of
Rendered class.
In this lines:
int pos, len;
if (! $o.faces().renderSubsetEnabled()) {
pos = 0;
len = $o.faces().size();
}
else {
pos = $o.faces().renderSubsetStartIndex() * FacesBufferedList.PROPERTIES_PER_ELEMENT;
len = $o.faces().renderSubsetLength();
}
$o.faces().buffer().position(pos);
_gl.glDrawElements(
$o.renderType().glValue(),
len * FacesBufferedList.PROPERTIES_PER_ELEMENT,
GL10.GL_UNSIGNED_SHORT,
$o.faces().buffer());
I don't know where to dig deeper. Could someone help me?
Original issue reported on code.google.com by isa...@i20.biz on 7 Dec 2011 at 4:51
Original issue reported on code.google.com by
isa...@i20.biz
on 7 Dec 2011 at 4:51