|
@@ -111,7 +111,7 @@ link:https://github.com/jMonkeyEngine/jmonkeyengine/tree/master/jme3-examples/sr
|
|
|
=== Texture Animation and Variation
|
|
=== Texture Animation and Variation
|
|
|
|
|
|
|
|
|
|
|
|
|
-image::http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Explosion/Debris.png[Debris.png,with="96",height="96",align="right"]
|
|
|
|
|
|
|
+image::jme3/beginner/Debris.png[Debris.png,with="96",height="96",align="right"]
|
|
|
|
|
|
|
|
|
|
|
|
|
Start by choosing a material texture for your effect. If you provide the emitter with a set of textures (see image), it can use them either for variation (random order), or as animation steps (fixed order).
|
|
Start by choosing a material texture for your effect. If you provide the emitter with a set of textures (see image), it can use them either for variation (random order), or as animation steps (fixed order).
|
|
@@ -156,23 +156,23 @@ a| Preview
|
|
|
|
|
|
|
|
<a| Effects/Explosion/Debris.png
|
|
<a| Effects/Explosion/Debris.png
|
|
|
<a| 3*3
|
|
<a| 3*3
|
|
|
-a| image:http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Explosion/Debris.png[Debris.png,with="32",height="32"]
|
|
|
|
|
|
|
+a| image:jme3/beginner/Debris.png[Debris.png,with="32",height="32"]
|
|
|
|
|
|
|
|
<a| Effects/Explosion/flame.png
|
|
<a| Effects/Explosion/flame.png
|
|
|
<a| 2*2
|
|
<a| 2*2
|
|
|
-a| image:http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Explosion/flame.png[flame.png,with="32",height="32"]
|
|
|
|
|
|
|
+a| image:jme3/beginner/flame.png[flame.png,with="32",height="32"]
|
|
|
|
|
|
|
|
<a| Effects/Explosion/shockwave.png
|
|
<a| Effects/Explosion/shockwave.png
|
|
|
<a| 1*1
|
|
<a| 1*1
|
|
|
-a| image:http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Explosion/shockwave.png[shockwave.png,with="32",height="32"]
|
|
|
|
|
|
|
+a| image:jme3/beginner/shockwave.png[shockwave.png,with="32",height="32"]
|
|
|
|
|
|
|
|
a| Effects/Explosion/smoketrail.png
|
|
a| Effects/Explosion/smoketrail.png
|
|
|
<a| 1*3
|
|
<a| 1*3
|
|
|
-a| image:http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Explosion/smoketrail.png[smoketrail.png,with="32",height="32"]
|
|
|
|
|
|
|
+a| image:jme3/beginner/smoketrail.png[smoketrail.png,with="32",height="32"]
|
|
|
|
|
|
|
|
<a| Effects/Smoke/Smoke.png
|
|
<a| Effects/Smoke/Smoke.png
|
|
|
a| 1*15
|
|
a| 1*15
|
|
|
-a| image:http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Smoke/Smoke.png[Smoke.png,with="96",height="32"]
|
|
|
|
|
|
|
+a| image:jme3/beginner/Smoke.png[Smoke.png,with="96",height="32"]
|
|
|
|
|
|
|
|
|===
|
|
|===
|
|
|
|
|
|
|
@@ -201,7 +201,7 @@ For your game, you will likely create custom particle textures. Look at the fire
|
|
|
----
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
|
-image::http://jmonkeyengine.googlecode.com/svn/trunk/engine/test-data/Effects/Explosion/flame.png[flame.png,with="96",height="96",align="right"]
|
|
|
|
|
|
|
+image::jme3/beginner/flame.png[flame.png,with="96",height="96",align="right"]
|
|
|
|
|
|
|
|
|
|
|
|
|
Compare the texture with the resulting effect.
|
|
Compare the texture with the resulting effect.
|