-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with away3d 4.1,I get this: #18
Comments
This project has been merged into Away3D since 4.1. Please use the lib in Away3D core instead. |
Oh,I get it,thank you! ------------------ 原始邮件 ------------------ This project has been merged into Away3D since 4.1. Please use the lib in Away3D core instead. — |
I have a new question,thank you very much!if you can help me_^^ Can I control particles one by one and use TweenLite to do what i want to do? Just like this: first, the particles's postion is a random x,y,z in the 3d space; second,the particles move to a custom postion(from a logo's bitmap data) like this: Sorry for my poor english but if you can,I write my question use Chinese,your name like a Chinese name,am I right? 我想实现的是,开始的时候,粒子是在三维空间的任意位置,然后通过缓动TweenLite把粒子移动到自定义的坐标位置(这个位置来自一个标志的图案像素值二维坐标)模拟一种粒子聚合成标志的效果。这个效果有很多2d的as3脚本,但是在away3d引擎下实现,貌似没有Papervison3D方便。 我试了用Mesh的办法,但是模型数量太多,超过缓存限制,实现不了。当然如果把单个Mesh的高宽增加,不超出缓存限制的条件下可以实现,不过没有粒子系统有效率。 如可能的话,谢谢您抽时间指引一个方向。祝周末愉快! 廖同学 |
如果你的效果是与定义的,不需要在运行时来改变,我想这是可以通过行为的组合来实现的.可以参考这个demo: http://infiniteturtles.co.uk/projects/away3d4/examples/Intermediate_ParticleExplosions/Intermediate_ParticleExplosions.html |
谢谢您,我用的是away3d 4.1.0,通过学习您的源码,大致了解了您的粒子系统的操作流程跟模式,非常强大。我通过设置起始时间为负值的办法,通过onenterframe事件手动update后(类似倒播)得到近似的我要的效果。 虽然因为不太熟悉的缘故未能最终采用(我最后换成用Mesh的办法,只是不能很好的避免超过顶点,贴图的内存限制的那个错误,看来得学习GPU渲染了)。 谢谢您的抽空解答与帮助_^^ Have a nice day! 廖同学 ------------------ 原始邮件 ------------------ 如果你的效果是与定义的,不需要在运行时来改变,我想这是可以通过行为的组合来实现的.可以参考这个demo: http://infiniteturtles.co.uk/projects/away3d4/examples/Intermediate_ParticleExplosions/Intermediate_ParticleExplosions.html — |
a3dparticle\animators\ParticleAnimationtor.as,34 行 1024: 正在覆盖未标记为 override 的函数。
...
public function get absoluteTime():Number
{
return _absoluteTime;
}
...
then in TransformFollowAnimator.as I find:
63-67
...
override public function set absoluteTime(value:Number):void
{
_lastTime = absoluteTime;
super.absoluteTime = value;
}
...
so, I am not so good at as3,can you help me how to fix this?Thank you very much!
The text was updated successfully, but these errors were encountered: