Away3d - 错误#3691:超出此资源类型的资源限制

时间:2016-01-23 22:57:41

标签: actionscript-3 stage3d away3d

我遇到了一个我无法消除的错误。

我使用Away3d和天空盒作为全景播放器,在改变天空盒纹理几次后,我有时会遇到此错误。我不确定它是否只发生在调试播放器中。

我认为某些事情没有被清除,但我无法解决问题。

我可以将天空盒改成一个简单的几何体,看看它是否更好,然后我绝对可以确保纹理被处理掉。

任何线索?

Error: Error #3691: Resource limit for this resource type exceeded.
    at flash.display3D::Context3D/createCubeTexture()
    at away3d.textures::CubeTextureBase/createTexture()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\textures\CubeTextureBase.as:25]
    at away3d.textures::TextureProxyBase/getTextureForStage3D()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\textures\TextureProxyBase.as:65]
    at away3d.materials.passes::SkyBoxPass/activate()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\materials\passes\SkyBoxPass.as:110]
    at away3d.materials::MaterialBase/activatePass()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\materials\MaterialBase.as:408]
    at away3d.core.render::DefaultRenderer/drawSkyBox()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\core\render\DefaultRenderer.as:140]
    at away3d.core.render::DefaultRenderer/draw()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\core\render\DefaultRenderer.as:111]
    at away3d.core.render::RendererBase/executeRender()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\core\render\RendererBase.as:281]
    at away3d.core.render::DefaultRenderer/executeRender()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\core\render\DefaultRenderer.as:70]
    at away3d.core.render::RendererBase/render()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\core\render\RendererBase.as:245]
    at away3d.containers::View3D/render()[C:\workspace\flash\libs\lib_pano_away3d\src\away3d\containers\View3D.as:698]
    at co.beek.pano::Pano/onEnterFrame()[C:\workspace\flash\libs\lib_pano_away3d\src\co\beek\pano\Pano.as:1516]

0 个答案:

没有答案