Shape Nodes (Vector Graphics)

In Oraphim, shapes are vector-based graphics. Because they are mathematically drawn rather than pixel-based (like a photograph), you can scale them infinitely without losing quality or experiencing pixelation.

The Shape Node Pipeline

Shape nodes operate slightly differently than standard image nodes. In the node graph, shape tools are prefixed with an "s" (e.g., sRectangle, sEllipse, sPolygon).

When you connect shape nodes together, they do not require standard Merge nodes. They have their own dedicated sMerge node.

  1. Add an sRectangle node.
  2. Add an sEllipse node.
  3. Pipe both of them into an sMerge node.
  4. At this stage, the data is pure mathematical vector data. You cannot pipe it into a standard ColorCorrector or MediaOut yet.
  5. To convert the vector shapes into actual visible pixels, you must pipe the output of the sMerge into an sRender node.
  6. The sRender node rasterizes the vectors into pixels, allowing you to pipe the result into a standard Merge or MediaOut.

Shape Properties

When you click on an sRectangle or sEllipse and look at the Inspector, you have profound control over its appearance:

  • Border Width: Increase this to draw an outline instead of a solid shape.
  • Join Style: Determines if the corners of your outline are sharp, rounded, or beveled.
  • Solid Color / Gradient: You can fill the shape with a solid color, or switch the mode to Gradient (Linear or Radial) to create dynamic shading.

Boolean Operations

The sMerge node is highly powerful because it supports Boolean operations.

If you have a large circle, and you want to punch a smaller star-shaped hole out of the center of it:

  1. Connect the Circle to the background input of the sMerge.
  2. Connect the Star to the foreground input of the sMerge.
  3. In the Inspector for the sMerge, change the Operator from Over to Subtract.
  4. The Star will act as a cookie-cutter, carving a hole through the Circle.