Box

3D Generator  -  A Box with subdivision parameter

BoxGeometryGenerator BoxGeometryGenerator BoxGeometryGenerator BoxGeometryGenerator

Simple box, can be used for instance to create an infinite tunnel using UVTransformGeometryModifier Icon UV Transform and rendering its back faces.


Variables:

  • Size: Size of the box
  • Precision: Subdivisions of the box
  • Uv Mode: Determine how the texture associated in SurfaceGeometryRenderer Icon Surface should be unwrapped, there are multipes modes: Repeat on each faces (1:1), Horizontal split (6:1), Vertical split (1:6) and Cross horizontal (4:3)

Python

    Oil.createObject("BoxGeometryGenerator")