HomeSort by relevance Sort by last modified time
    Searched full:particle (Results 1 - 25 of 59) sorted by null

1 2 3

  /packages/wallpapers/NoiseField/src/com/android/noisefield/
noisefield.rs 28 typedef struct Particle {
159 Particle_t* particle = dotParticles;
162 particle->position.x = rsRand(-1.0f, 1.0f);
163 particle->position.y = rsRand(-1.0f, 1.0f);
164 particle->speed = rsRand(0.0002f, 0.02f);
165 particle->wander = rsRand(0.50f, 1.5f);
166 particle->death = 0;
167 particle->life = rsRand(300, 800);
168 particle->alphaStart = rsRand(0.01f, 1.0f);
169 particle->alpha = particle->alphaStart
    [all...]
  /packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
phasebeam.rs 22 typedef struct __attribute__((packed, aligned(4))) Particle {
66 Particle_t* particle = dotParticles;
70 particle->position.x = rsRand(0.0f, 3.0f);
71 particle->position.y = rsRand(-1.25f, 1.25f);
82 particle->position.x = 1.0;
86 particle->position.z = z;
87 particle->offsetX = 0;
89 particle++;
129 Particle_t* particle = dotParticles;
137 if(particle->position.x/particle->position.z > 0.5)
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/
DefaultParticleInfluencer.java 3 import com.jme3.effect.Particle;
16 * This influencer is default for the particle emitter.
29 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
30 emitterShape.getRandomPoint(particle.position);
31 this.applyVelocityVariation(particle);
35 * This method applies the variation to the particle with already set velocity.
36 * @param particle
37 * the particle to be affected
39 protected void applyVelocityVariation(Particle particle)
    [all...]
ParticleInfluencer.java 3 import com.jme3.effect.Particle;
16 * This method influences the particle.
17 * @param particle
18 * particle to be influenced
22 void influenceParticle(Particle particle, EmitterShape emitterShape);
32 * Set the initial velocity a particle is spawned with,
35 * A particle will move toward its velocity unless it is effected by the
49 * of the particle is determined. <code>variation</code> should be a value
NewtonianParticleInfluencer.java 3 import com.jme3.effect.Particle;
34 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
35 emitterShape.getRandomPointAndNormal(particle.position, particle.velocity);
36 // influencing the particle's velocity
38 particle.velocity.multLocal(normalVelocity);
41 temp.set(particle.velocity.z * surfaceTangentFactor, particle.velocity.y * surfaceTangentFactor, -particle.velocity.x * surfaceTangentFactor)
    [all...]
EmptyParticleInfluencer.java 3 import com.jme3.effect.Particle;
11 * This influencer does not influence particle at all.
26 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/
Particle.java 39 * Represents a single particle in a {@link ParticleEmitter}.
43 public class Particle {
46 * Particle velocity.
51 * Current particle position
56 * Particle color
61 * Particle size or radius.
66 * Particle remaining life, in seconds.
71 * The initial particle life
76 * Particle rotation angle (in radians).
81 * Particle rotation angle speed (in radians)
    [all...]
ParticleMesh.java 42 * {@link ParticleEmitter particle emitter}.
49 * Type of particle mesh
53 * The particle mesh is composed of points. Each particle is a point.
60 * The particle mesh is composed of triangles. Each particle is
82 * Update the particle visual data. Typically called every frame.
84 public abstract void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation);
package.html 10 The <code>com.jme3.effect</code> package allows particle emitter effects to be
14 particle emitter effects. See the <code>jme3test.effect</code> package
ParticleEmitter.java 61 * a particle system.
63 * Particle emitters can be used to simulate various kinds of phenomena,
66 * Particle emitters have many properties which are used to control the
84 private Particle[] particles;
162 // Reinitialize particle list
176 // Reinitialize particle mesh
187 throw new IllegalStateException("Unrecognized particle type: " + meshType);
227 throw new IllegalStateException("Unrecognized particle type: " + meshType);
249 * Set the {@link ParticleInfluencer} to influence this particle emitter.
252 * this particle emitter
    [all...]
ParticleComparator.java 39 class ParticleComparator implements Comparator<Particle> {
47 public int compare(Particle p1, Particle p2) {
ParticleTriMesh.java 55 private Particle[] particlesCopy;
63 particlesCopy = new Particle[numParticles];
152 public void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation) {
194 Particle p = particles[i];
ParticlePointMesh.java 115 public void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation) {
136 Particle p = particles[i];
  /packages/wallpapers/Galaxy4/src/com/android/galaxy4/
galaxy.rs 8 typedef struct __attribute__((packed, aligned(4))) Particle {
94 Particle_t* particle = spaceClouds;
106 particle->position.x = rsRand(TWO_PI);
107 particle->position.y = d;
108 particle->pointSize = 1.0f;
109 particle->position.z = z/5.0f;
110 particle++;
115 particle = bgStars;
126 particle->position.x = rsRand(TWO_PI);
127 particle->position.y = d
    [all...]
  /external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Misc/
Particle.j3md 20 VertexShader GLSL100 : Common/MatDefs/Misc/Particle.vert
21 FragmentShader GLSL120 : Common/MatDefs/Misc/Particle.frag
45 VertexShader GLSL100 : Common/MatDefs/Misc/Particle.vert
46 FragmentShader GLSL100 : Common/MatDefs/Misc/Particle.frag
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 41 * a very simple particle system comprised of a few iron balls freely moving on
141 * Each of our particle holds its previous and current position, its
142 * acceleration. for added realism each particle has its own friction
145 class Particle {
154 Particle() {
155 // make each particle a bit different by randomizing its
201 * constrained particle in such way that the constraint is
223 * A particle system is just a collection of particles
227 private Particle mBalls[] = new Particle[NUM_PARTICLES]
    [all...]
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/shapes/
EmitterShape.java 38 * This interface declares methods used by all shapes that represent particle emitters.
44 * This method fills in the initial position of the particle.
51 * This method fills in the initial position of the particle and its normal vector.
  /external/jmonkeyengine/engine/src/test/jme3test/effect/
TestExplosionEffect.java 82 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
105 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
127 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
149 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
172 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
197 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
221 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
TestMovingParticle.java 45 * Particle that moves in a circle.
68 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
TestParticleExportingCloning.java 62 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
  /external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
ParticleDepositionHeightMap.java 38 * Particle Deposition algorithm based on Jason Shankel's paper from
61 * Constructor sets the attributes of the Particle Deposition
122 * <code>load</code> generates the heightfield using the Particle Deposition
183 //add the particle to the piont.
192 //cause the particle to "slide" down the slope and settle at
321 logger.info("Created heightmap using Particle Deposition");
  /external/jmonkeyengine/engine/src/android/jme3test/android/
TestMovingParticle.java 47 * Particle that moves in a circle.
70 Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
  /external/jmonkeyengine/engine/src/core-effects/com/jme3/post/filters/
TranslucentBucketFilter.java 146 logger.log(Level.INFO, "Made particle Emitter {0} soft.", emitter.getName());
151 logger.log(Level.INFO, "Particle Emitter {0} is not soft anymore.", emitter.getName());
  /external/jmonkeyengine/engine/src/test/jme3test/helloworld/
HelloEffects.java 55 "Common/MatDefs/Misc/Particle.j3md");
75 "Common/MatDefs/Misc/Particle.j3md");
93 // "Common/MatDefs/Misc/Particle.j3md");
  /external/libxml2/
xmlschemas.c 656 * A particle component.
664 xmlSchemaTreeItemPtr next; /* next particle */
685 xmlSchemaTreeItemPtr children; /* first particle (OR "element decl" OR "wildcard") */
6874 xmlSchemaParticlePtr particle; local
8439 xmlSchemaParticlePtr particle = NULL; local
11197 xmlSchemaParticlePtr particle = NULL; local
18298 xmlSchemaParticlePtr particle = local
18971 xmlSchemaParticlePtr particle = WXS_MODELGROUP_PARTICLE(mg); local
19992 xmlSchemaParticlePtr particle = WXS_MODELGROUP_PARTICLE(mg); local
    [all...]

Completed in 970 milliseconds

1 2 3