2

我正在使用 stage3D 开发一个 3D 旋转立方体。

我可以在 Firefox 中完美地看到结果,但在 Chrome 中我什么也看不到。当我设置:

context.enableErrorChecking = true;

我从浏览器收到此回调

RangeError: Error #3609: Stream 0 does not have enough vertices

顶点的数量虽然很好。

有什么建议吗?

4

1 回答 1

2

这意味着您的索引缓冲区具有顶点缓冲区中不存在的顶点的索引。即使您不使用该索引进行绘制,您也会收到此错误。这很烦人,看起来像 Stage3D 错误。

于 2013-04-20T14:30:55.763 回答