|
|
@@ -14,40 +14,50 @@ The simplest type of Meshes are the built-in JME Shapes. You can create Shapes w
|
|
|
== 3D shapes
|
|
|
|
|
|
|
|
|
-image::jme3/advanced/sphere.png[sphere.png,width="108",height="",align="right"]
|
|
|
-
|
|
|
-image::jme3/advanced/cylinder.png[cylinder.png,width="108",height="",align="right"]
|
|
|
|
|
|
[.right.text-left]
|
|
|
image::jme3/advanced/box.png[box.png,width="108",height=""]
|
|
|
|
|
|
* com.jme3.scene.shape.Box – A cube or cuboid. Single-sided Quad faces (outside only).
|
|
|
-
|
|
|
* com.jme3.scene.shape.StripBox – A cube or cuboid. Solid filled faces (inside and outside).
|
|
|
-* com.jme3.scene.shape.Cylinder – A disk or pillar.
|
|
|
-* com.jme3.scene.shape.Sphere – A ball or elipsoid.
|
|
|
-
|
|
|
|
|
|
-image::jme3/advanced/pyramid.png[pyramid.png,width="108",height="",align="right"]
|
|
|
+[.right.text-left]
|
|
|
+image::jme3/advanced/cylinder.png[cylinder.png,width="108",height=""]
|
|
|
|
|
|
-image::jme3/advanced/cone.png[cone.png,width="108",height="",align="right"]
|
|
|
+* com.jme3.scene.shape.Cylinder – A disk or pillar.
|
|
|
|
|
|
-image::jme3/advanced/dome.png[dome.png,width="108",height="",align="right"]
|
|
|
+[.right.text-left]
|
|
|
+image::jme3/advanced/sphere.png[sphere.png,width="108",height=""]
|
|
|
|
|
|
+* com.jme3.scene.shape.Sphere – A ball or elipsoid.
|
|
|
|
|
|
+[.right-.text-left]
|
|
|
+image::jme3/advanced/dome.png[dome.png,width="108",height=""]
|
|
|
* com.jme3.scene.shape.Dome – A semi-sphere, e.g. SkyDome.
|
|
|
+
|
|
|
+[.right.text-left]
|
|
|
+image::jme3/advanced/cone.png[cone.png,width="108",height=""]
|
|
|
+
|
|
|
** For a cone, set the Dome's radialSamples>4 and planes=2.
|
|
|
+
|
|
|
+[.right.text-left]
|
|
|
+image::jme3/advanced/pyramid.png[pyramid.png,width="108",height=""]
|
|
|
+
|
|
|
** For a pyramid, set the Dome's radialSamples=4 and planes=2.
|
|
|
|
|
|
|
|
|
+[.right.text-left]
|
|
|
+image::http://i204.photobucket.com/albums/bb19/mike_ch_1/torus.png[Torus,width="108",height="80"]
|
|
|
+
|
|
|
* com.jme3.scene.shape.Torus – An single-holed torus or “donut.
|
|
|
-* com.jme3.scene.shape.PQTorus – A parameterized torus. A PQ-Torus looks like a link:http://en.wikipedia.org/wiki/Torus_knot[donut knotted into spirals].
|
|
|
|
|
|
-image::jme3/advanced/nurbs_3-d_surface.png[NURBS surface,width="108",height="80",align="right"]
|
|
|
+[.right.text-left]
|
|
|
+image::jme3/advanced/220px-trefoil_knot_arb.png[PQ torus knoz,width="108",height="80"]
|
|
|
|
|
|
-image::jme3/advanced/220px-trefoil_knot_arb.png[PQ torus knoz,width="108",height="80",align="right"]
|
|
|
+* com.jme3.scene.shape.PQTorus – A parameterized torus. A PQ-Torus looks like a link:http://en.wikipedia.org/wiki/Torus_knot[donut knotted into spirals].
|
|
|
|
|
|
-image::http://i204.photobucket.com/albums/bb19/mike_ch_1/torus.png[Torus,width="108",height="80",align="right"]
|
|
|
+[.right.text-left]
|
|
|
+image::jme3/advanced/nurbs_3-d_surface.png[NURBS surface,width="108",height="80"]
|
|
|
|
|
|
* com.jme3.scene.shape.Surface – A curved surface (called link:http://en.wikipedia.org/wiki/File:NURBS_3-D_surface.gif[NURBS]) described by knots, weights and control points. Compare with shape.Curve.
|
|
|
|