David Bernard 9 лет назад
Родитель
Сommit
f6dd1c23c1
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      src/docs/asciidoc/jme3/advanced/custom_meshes.adoc

+ 4 - 0
src/docs/asciidoc/jme3/advanced/custom_meshes.adoc

@@ -7,6 +7,10 @@
 :imagesdir: ../..
 :imagesdir: ../..
 ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 
+
+
+image::jme3/advanced/custom_mesh.png[custom_mesh.png,with="150",height="150",align="left"]
+
 Use the Mesh class to create custom shapes that go beyond Quad, Box, Cylinder, and Sphere, even procedural shapes are possible. Thank you to KayTrance for providing the sample code!
 Use the Mesh class to create custom shapes that go beyond Quad, Box, Cylinder, and Sphere, even procedural shapes are possible. Thank you to KayTrance for providing the sample code!
 
 
 *Note:* In this tutorial, we (re)create a very simple rectangular mesh (a quad), and we have a look at different ways of coloring it. Coding a custom quad may not be very useful because it's exactly the same as the built-in `com.jme3.scene.shape.Quad`. We chose a simple quad to teach you how to build any shape out of triangles, without the distractions of more complex shapes.
 *Note:* In this tutorial, we (re)create a very simple rectangular mesh (a quad), and we have a look at different ways of coloring it. Coding a custom quad may not be very useful because it's exactly the same as the built-in `com.jme3.scene.shape.Quad`. We chose a simple quad to teach you how to build any shape out of triangles, without the distractions of more complex shapes.