3D node

Rounded Cube

A cube with soft edges and corners. Corner radius sets how rounded it gets, from sharp-edged to almost a sphere.

Download the patchRead it in the Field Guide

The Rounded Cube node in Infinite, showing its inputs, controls and outputs.

What it does

Rounded Cube is a 3D node: it builds, changes or lights geometry that Render 3D turns into a picture. It takes picture in and gives 3D shape out.

Try it

Animate the corner radius on a beat for a bouncy, squishy cube.

Rounded CubeMaterialRender 3D

Inputs and outputs

Inputs

  • picture texture

Outputs

  • 3D shape out

Controls

Every control with a range can be driven by a modulator, a note, an audio level or a sketch.

ControlRange or optionsDefault
shapePlane, Cube, Sphere, Icosphere, Torus, Cylinder, Cone, Torus Knot …17
detail2 to 9624
sides3 to 6416
corner radius0 to 0.990.400000006
bevel0 to 10

Example patch

This patch wires Rounded Cube to what it needs and shows the result. Download it, then use File, Open in Infinite, or read it here: it is plain text.

infinite-patch 1
rev 2
# Rounded Cube: a starting patch for the Rounded Cube node
node 1 3D Rounded Cube
  id node
  pos 520 300
end
node 2 Source Ramp
  id in0
  pos 0 300
end
node 3 3D Render 3D
  id view
  pos 1080 300
end
node 4 Utility Output
  id out
  pos 1640 300
end
cable node 0 in0
geo view 0 node
cable out 0 view

More 3d nodes