Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
particles [2019/10/01 11:13] – [Smoke effect with wind influencer] admin | particles [2020/11/06 13:51] – [Physics Particle Support] admin | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using the ParticleSystem ====== | ====== Using the ParticleSystem ====== | ||
+ | |||
+ | {{:: | ||
Gorilla3D provides an integrated particle system for rendering complex and individual particle effects. | Gorilla3D provides an integrated particle system for rendering complex and individual particle effects. | ||
Line 7: | Line 9: | ||
Gorilla3D already supplies some of the most popular effects, like: fire, smoke, rain, snow, waterfall, eruption, explosion. | Gorilla3D already supplies some of the most popular effects, like: fire, smoke, rain, snow, waterfall, eruption, explosion. | ||
+ | {{:: | ||
It is possible to manipulate each particle by the so-called influencers. | It is possible to manipulate each particle by the so-called influencers. | ||
Line 20: | Line 23: | ||
* Endless or limited emmittance | * Endless or limited emmittance | ||
* Physically based particle collision detection with other scene objects (not with particles!) | * Physically based particle collision detection with other scene objects (not with particles!) | ||
+ | * Autosorting of particles depending on assigned camera | ||
===== Shader / Material ===== | ===== Shader / Material ===== | ||
Line 44: | Line 48: | ||
| a_Binormal | X = size, Y = angle, Z = weight | | | a_Binormal | X = size, Y = angle, Z = weight | | ||
| a_Tangent | X = age, Y = life time, Z = delta time | | | a_Tangent | X = age, Y = life time, Z = delta time | | ||
+ | ===== Physics Particle Support ===== | ||
+ | |||
+ | {{:: | ||
===== Example ===== | ===== Example ===== | ||
Line 112: | Line 119: | ||
begin | begin | ||
LParticles := TGorillaEruptionParticleEmitter.Create(FGorilla); | LParticles := TGorillaEruptionParticleEmitter.Create(FGorilla); | ||
+ | LParticles.Parent := FGorilla; | ||
LParticles.Camera := FCamera; | LParticles.Camera := FCamera; | ||
Line 134: | Line 142: | ||
begin | begin | ||
LParticles := TGorillaRainParticleEmitter.Create(FGorilla); | LParticles := TGorillaRainParticleEmitter.Create(FGorilla); | ||
+ | LParticles.Parent := FGorilla; | ||
LParticles.Camera := FCamera; | LParticles.Camera := FCamera; | ||
end; | end; | ||
Line 151: | Line 160: | ||
begin | begin | ||
LParticles := TGorillaSnowParticleEmitter.Create(FGorilla); | LParticles := TGorillaSnowParticleEmitter.Create(FGorilla); | ||
+ | LParticles.Parent := FGorilla; | ||
LParticles.Camera := FCamera; | LParticles.Camera := FCamera; | ||
end; | end; | ||
Line 272: | Line 282: | ||
end; | end; | ||
</ | </ | ||
+ | |||
Next step: [[physics|Physics]] | Next step: [[physics|Physics]] |