Revision 6b816678
Added by Leszek Koltunski over 7 years ago
src/main/java/org/distorted/library/effect/PostprocessEffectGlow.java | ||
---|---|---|
27 | 27 |
import org.distorted.library.type.Data4D; |
28 | 28 |
|
29 | 29 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
30 |
|
|
30 |
/** |
|
31 |
* Add a (colored) glow about each object in the Framebuffer. |
|
32 |
*/ |
|
31 | 33 |
public class PostprocessEffectGlow extends PostprocessEffect |
32 | 34 |
{ |
33 | 35 |
private static final int MAX_HALO = 50; |
src/main/java/org/distorted/library/effect/VertexEffect.java | ||
---|---|---|
87 | 87 |
// PUBLIC API |
88 | 88 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
89 | 89 |
/** |
90 |
* Return the number of Fragment effects enabled.
|
|
90 |
* Return the number of Vertex effects enabled.
|
|
91 | 91 |
*/ |
92 | 92 |
public static int getNumEnabled() |
93 | 93 |
{ |
src/main/java/org/distorted/library/effect/VertexEffectDeform.java | ||
---|---|---|
151 | 151 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
152 | 152 |
/** |
153 | 153 |
* Deform the whole Mesh with a (possibly changing in time) vector of force applied to |
154 |
* a (possibly changing in time) point on the Object.
|
|
154 |
* a (possibly changing in time) point on the Mesh.
|
|
155 | 155 |
* |
156 |
* @param vector Vector of force that deforms the shape of the whole Object.
|
|
156 |
* @param vector Vector of force that deforms the Mesh.
|
|
157 | 157 |
* @param center 3-dimensional Data that, at any given time, returns the Center of the Effect. |
158 | 158 |
* @param region Region that masks the Effect. |
159 | 159 |
*/ |
... | ... | |
168 | 168 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
169 | 169 |
/** |
170 | 170 |
* Deform the whole Mesh with a (possibly changing in time) vector of force applied to |
171 |
* a (possibly changing in time) point on the Object.
|
|
171 |
* a (possibly changing in time) point on the Mesh.
|
|
172 | 172 |
* |
173 |
* @param vector Vector of force that deforms the shape of the whole Object.
|
|
173 |
* @param vector Vector of force that deforms the Mesh.
|
|
174 | 174 |
* @param center 3-dimensional Data that, at any given time, returns the Center of the Effect. |
175 | 175 |
*/ |
176 | 176 |
public VertexEffectDeform(Data3D vector, Data3D center) |
src/main/java/org/distorted/library/effect/VertexEffectDistort.java | ||
---|---|---|
135 | 135 |
|
136 | 136 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
137 | 137 |
/** |
138 |
* Distort a (possibly changing in time) part of the Object by a (possibly changing in time) vector of force.
|
|
138 |
* Distort a (possibly changing in time) part of the Mesh by a (possibly changing in time) vector of force.
|
|
139 | 139 |
* |
140 | 140 |
* @param vector vector of force the Center of the Effect is currently being dragged with. |
141 | 141 |
* @param center 3-dimensional Data that, at any given time, returns the Center of the Effect. |
... | ... | |
151 | 151 |
|
152 | 152 |
/////////////////////////////////////////////////////////////////////////////////////////////////// |
153 | 153 |
/** |
154 |
* Distort the whole Object by a (possibly changing in time) vector of force.
|
|
154 |
* Distort the whole Mesh by a (possibly changing in time) vector of force.
|
|
155 | 155 |
* |
156 | 156 |
* @param vector vector of force the Center of the Effect is currently being dragged with. |
157 | 157 |
* @param center 3-dimensional Data that, at any given time, returns the Center of the Effect. |
Also available in: Unified diff
Javadoc.