Skip to content

Mesh Primitives

Mesh Primitives are basic geometric shapes that can be used to create and enhance 3D environments in Foxel. These primitives include Box, Sphere, Cone, Cylinder, and Torus. Each primitive has a single color and material.

Note

The texture of Mesh Primitives cannot be edited unless they are converted to Mesh Layers.

Box

The Box primitive is a simple rectangular shape that can be used for various purposes in a scene.

Properties

  • Size: Defines the dimensions of the box along the X, Y, and Z axes.

Sphere

The Sphere primitive is a round shape that can be used to represent objects like planets or balls.

Properties

  • Radius: Specifies the distance from the center to the surface of the sphere.
  • Horizontal Segments: Determines the number of vertical segments that make up the sphere's surface.
  • Vertical Segments: Determines the number of horizontal segments that make up the sphere's surface.

Cylinder

The Cylinder primitive is a three-dimensional shape with circular ends, commonly used for objects like pipes or columns.

Properties

  • Top Radius: Defines the radius of the top circular face of the cylinder.
  • Bottom Radius: Defines the radius of the bottom circular face of the cylinder.
  • Height: Specifies the height of the cylinder.
  • Surface Segments: Determines the number of segments that make up the curved surface of the cylinder.

Cone

The Cone primitive is a tapered shape that can be used for objects like traffic cones or party hats.

Properties

  • Radius: Specifies the radius of the base of the cone.
  • Height: Defines the height of the cone.
  • Surface Segments: Determines the number of segments that make up the curved surface of the cone.

Torus

The Torus primitive is a doughnut-shaped object that can be used for various decorative or structural purposes.

Properties

  • Radius: Defines the distance from the center of the torus to the center of the tube.
  • Tube Thickness: Specifies the radius of the tube that forms the torus.
  • Cross-Section Segments: Determines the number of segments that make up the circular cross-section of the torus.
  • Circumferential Segments: Determines the number of segments that make up the toroidal shape.