Open Lyve1981 opened 12 years ago
Note: To use the TransformFollowContainer, we exchanged the construction in createNeedStuff():* in SystemFactoryS.as
We exchanged:
var particlesContainer:ParticlesContainer = new ParticlesContainer();
by
var particlesContainer:ParticlesContainer = new TransformFollowContainer();
There is a clone problem , I have just fixed it . But I can not reproduce your problem . Can you try it again ?
Many thanks for your fix :) At my home machine everything works as expected now, I will let you know if it works at my workplace on monday
When using the "fire.xml" example and exchanging the ParticleContainer to a TransformFollowContainer, the register limit is exceeded.
Before A3D4 Release changes, this worked like a charm.
Error: Register overflow! at RegisterPool/requestFreeVectorReg()[away3d\materials\utils\RegisterPool.as:46] at away3d.materials.utils::ShaderRegisterCache/getFreeVertexAttribute()[away3d\materials\utils\ShaderRegisterCache.as:173] at a3dparticle.animators.actions::TransformFollowAction/getOffsetCode()[a3dparticle\animators\actions\TransformFollowAction.as:80] at a3dparticle.animators.actions::TransformFollowAction/getAGALVertexCode()[a3dparticle\animators\actions\TransformFollowAction.as:73] at a3dparticle.animators::ParticleAnimation/getAGALVertexCode()[a3dparticle\animators\ParticleAnimation.as:308] at away3d.materials.passes::MaterialPassBase/updateProgram()[away3d\materials\passes\MaterialPassBase.as:344] at a3dparticle.core::SimpleParticlePass/updateProgram()[a3dparticle\core\SimpleParticlePass.as:65] at away3d.materials.passes::MaterialPassBase/activate()[away3d\materials\passes\MaterialPassBase.as:261] at a3dparticle.core::SimpleParticlePass/activate()[a3dparticle\core\SimpleParticlePass.as:59] at away3d.materials::MaterialBase/activatePass()[away3d\materials\MaterialBase.as:353] at away3d.core.render::DefaultRenderer/drawRenderables()[away3d\core\render\DefaultRenderer.as:152] at away3d.core.render::DefaultRenderer/draw()[away3d\core\render\DefaultRenderer.as:103] at away3d.core.render::RendererBase/executeRender()[away3d\core\render\RendererBase.as:288] at away3d.core.render::DefaultRenderer/executeRender()[away3d\core\render\DefaultRenderer.as:62] at away3d.core.render::RendererBase/render()[away3d\core\render\RendererBase.as:252] at away3d.containers::View3D/render()[away3d\containers\View3D.as:616]