FOnline Development > 3D Development

Particle effects development

(1/4) > >>

LagMaster:
discuss here about the particle evects problem, i will try to make in this first post a sumary of everything we know about particle efects



Topic Start: now , what about particle evects, how can we add them to game? and then how to create them?

pistacja:
True Particle Effects.

Particles are rendered on small 3d meshes or more typically on single quads with a billboard effect (they always face the camera). Another method is using point-sprites. Some older hardware are very good with point-sprites, but modern GPU's usually render them in software. Hardware instancing could be used to speed up rendering of geometry based particles, but that is a bit hi-end for fonline. Either way both methods use textures with transparencies if anything more complex then a pixel in needed, if they need to be animated series of images (usually stored side by side in one file). Particles like this are rendered in hundreds and thousands and are controlled by a physic script that determine their behaviour (mass, speed, time to live, birthrate, collisions, starting angle, etc).
   
....for fonline it's an overkill, and somehow I don't see it as becoming a part of the engine.


Pre-Rendered Particles

This is something much simpler.  It's just a 2d animation of blood, fire or smoke put on top of the 3d model. Alpha testing and depth sort is still kind of needed but no advanced physic is needed and it only takes 2 triangles to draw.


I says we don't do a particle system at all, just use prerendered effects.  It's only blood, gore, smoke and muzzle flashes.   

Haraldx:
Indeed, Quake 3 and other good old games used pre rendered effects for muzzleflashes and stuff. It might not look very good for gore animations tho.

LagMaster:
how about we make some scuzrers or tris and that are painted in red(i trig/blood drop) it will be probably a +20 tris in frame if we use 20 on ech death anim

Haraldx:

--- Quote from: LagMaster on May 31, 2011, 06:46:16 pm ---how about we make some scuzrers or tris and that are painted in red(i trig/blood drop) it will be probably a +20 tris in frame if we use 20 on ech death anim

--- End quote ---
Nah, it's better to have that animated polygon thingy then.

Navigation

[0] Message Index

[#] Next page

Go to full version