Explorar el Código

Update shaderblow.adoc

Fixed broken links.
Fixed broken paragraphs that had extra space at start.
Fixed broken table under FakeParticleBlow.
Split out image table from video table under FakeParticleBlow.
Fixed broken table under Forceshield shader.
Added youtube thumbs to videos that were broken and turned them into links.
Fixed broken table under MatCap shader.
Fixed broken table under Glass Shader.
mitm001 hace 9 años
padre
commit
a320c1d955
Se han modificado 1 ficheros con 29 adiciones y 14 borrados
  1. 29 14
      src/docs/asciidoc/sdk/plugin/shaderblow.adoc

+ 29 - 14
src/docs/asciidoc/sdk/plugin/shaderblow.adoc

@@ -299,7 +299,7 @@ Dissolver is based on Common/MatDefs/Lighting.j3md. So, all Common/MatDefs/Light
 
 ----
 
-link:http://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/ShaderBlow/test-src/com/shaderblow/test/dissolve/TestDissolve.java[TestCase]
+link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/dissolve/TestDissolve.java[TestCase]
 
 link:https://hub.jmonkeyengine.org/t/dissolve-shader/18720/12[Forum thread]
 
@@ -308,7 +308,7 @@ link:https://hub.jmonkeyengine.org/t/dissolve-shader/18720/12[Forum thread]
 
 == FakeParticleBlow Shader
 
- Effect for fire or engine of a ship. Such an effect is used in the “Eve Online game for ship engines.
+Effect for fire or engine of a ship. Such an effect is used in the “Eve Online game for ship engines.
 
 Features:
 
@@ -319,13 +319,22 @@ Features:
 .  Allow to set mask texture in order to set particle shape.
 .  Allow to set particle color.
 .  Allow to set fog color. Fog color is applyed to the material using for color's alpha value as fog distance factor.
-[cols="2", options="header"]
+
+[cols="2"]
 |===
 
 a|image:sdk/plugin/fakeparticleblow.png[FakeParticleBlow,width="400",height=""]
-a|image:sdk/plugin/fakeparticleblow3.png[FakeParticleBlow,width="400",height=""] Fog applyed to blue fire
+a|.Fog applied to blue fire
+image:sdk/plugin/fakeparticleblow3.png[FakeParticleBlow,width="400",height=""] 
+
+|===
+
+[cols="1",caption=]
+.YouTube
+|===
 
-a|image:sdk/plugin/youtube_hdqop4yz-la[youtube_hdqop4yz-la,width="",height=""]
+a|.FakeParticleBlow Shader 
+image:sdk/plugin/hdQop4yZ-lA.jpg[youtube_hdQop4yZ-lA,width="",height="",link="https://youtu.be/hdQop4yZ-lA"]
 a|
 
 |===
@@ -333,7 +342,7 @@ a|
 
 === Usage
 
-Create a material (by SDK or by code) using link:http://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/ShaderBlow/assets/ShaderBlow/MatDefs/FakeParticleBlow/FakeParticleBlow.j3md[FakeParticleBlow.j3md].
+Create a material (by SDK or by code) using link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/assets/ShaderBlow/MatDefs/FakeParticleBlow/FakeParticleBlow.j3md[FakeParticleBlow.j3md].
 Set material's parameters and set the material to a spatial.
 
 Most of the cases the spatial will be 4 to 10 planes in the same location but rotated on Y axis using different angles for each plane. Something similar to this:
@@ -398,8 +407,8 @@ To get green/yellow/blue fog (not transparency):
 
 Several planes geometries will be required as there will be AlphaAdditive material.
 
-link:http://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/ShaderBlow/test-src/com/shaderblow/test/fakeparticleblow/TestFakeParticleBlow.java[TestCase 1]
-link:http://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/ShaderBlow/test-src/com/shaderblow/test/fakeparticleblow/TestFakeParticleBlow2.java[TestCase 2]
+link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/fakeparticleblow/TestFakeParticleBlow.java[TestCase 1] +
+link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/fakeparticleblow/TestFakeParticleBlow2.java[TestCase 2]
 
 link:https://hub.jmonkeyengine.org/t/fakeparticleblow-shader/16443[Forum thread]
 
@@ -422,18 +431,22 @@ Features:
 *  Allow to set effect duration. Default is 0.5s.
 *  Allow to set effect size. Default is 1.
 *  Allow to enable/disable hit animations.
-[cols="2", options="header"]
+
+[cols="2",caption=]
+.YouTube
 |===
 
-a|image:sdk/plugin/youtube_uu2nbabm9pk[youtube_uu2nbabm9pk,width="",height=""]
-a|image:sdk/plugin/youtube_urzmiuehscc[youtube_urzmiuehscc,width="",height=""]
+a|.Forceshield 
+image:sdk/plugin/uu2nbaBM9Pk.jpg[youtube_uu2nbaBM9Pk,width="",height=""link="https://youtu.be/uu2nbaBM9Pk"]
+a|.Forceshield Cube
+image:sdk/plugin/urzMiUeHsCc[youtube_urzMiUeHsCc,width="",height="",link="https://youtu.be/urzMiUeHsCc"]
 
 |===
 
 
 === Usage
 
-Create a Spatial instance. Create a link:http://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/ShaderBlow/src/com/shaderblow/forceshield/ForceShieldControl.java[ForceShieldControl] instance.
+Create a Spatial instance. Create a link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/src/com/shaderblow/forceshield/ForceShieldControl.java[ForceShieldControl] instance.
 Add the control instance to the spatial.
 
 
@@ -481,7 +494,7 @@ Use _forceShieldControl.registerHit(final Vector3f position)_ method to register
 
 ----
 
-link:http://code.google.com/p/jmonkeyplatform-contributions/source/browse/trunk/ShaderBlow/test-src/com/shaderblow/test/forceshield/TestShield.java[TestCase]
+link:https://github.com/jMonkeyEngine-Contributions/shaderblowlib/blob/master/ShaderBlow/test-src/com/shaderblow/test/forceshield/TestShield.java[TestCase]
 
 link:https://hub.jmonkeyengine.org/t/forceshield-my-very-first-shader/18673[Forum thread]
 
@@ -499,7 +512,8 @@ Features:
 *  Toon edge effect.
 *  Multiply color: set a color to change texture's color.
 *  Normal map.
-[cols="2", options="header"]
+
+[cols="2"]
 |===
 
 a|image:sdk/plugin/shaderblow_matcap.jpg[MatCap shader,width="400",height=""]
@@ -560,6 +574,7 @@ Features:
 *  Toon edge effect.
 *  Multiply color: set a color to change texture's color.
 *  Normal map.
+
 [cols="2", options="header"]
 |===