Simon 的个人资料Simons XNA Game Page照片日志列表更多 ![]() | 帮助 |
|
8月17日 New Particle Effects SoonI have worked my way through the particle sample provided by Microsoft. I must say, it was far easier than I thought. In fact, it is really quite simple to understand. I will be incorporating it into the game soon. There is one consideration that I will have to take into account. When the particle emitter is not in an allowed distance of the viewing frustrum, then I shouldn't update draw any of the items. Of course, I will have to draw and update those emitters that are close enough where their particles could potentially be in view.
Also, when the player gets close enough to an emitter, even it most likely won't be drawn, I will be updating the emitters particles so that when the emitter does enter the view frame, it won't look weird. If I just start updating the emitter when in view, then particles will only be a short distance from the emitter and the image won't look authentic.
Look to CodePlex for updates soon. 引用通告此日志的引用通告 URL 是: http://signot.spaces.live.com/blog/cns!A50EAA47F45992D0!280.trak 引用此项的网络日志
|
|
|