Page tree

Contents

RenderMan has the possibility to modify the contents of an existing Alembic archive as its contents is delivered to the renderer.

Supported edits

  • Convert a polygonal mesh to a subdivision surface.
  • Convert a subdivision surface to a polygonal mesh.
    • Set the mesh normals to fully smooth or fully hard.
  • Set or override the following subdivision surface properties:
    • basis: catmull-clark, loop or bilinear.
    • interpolate boundary.
  • Hide (do not emit) any primitive.


The Shape editor

Click the Edit Objects button to open the editor.

The shape editor uses the same logic as the RLF Editor: create rules to modify any nodes matched by an expression.

Shape Edits

To create an edit, right-click in the edit field (teapot icon) and select the required options. The edit will appear in the field in plain English.

Relaunch the render to see your changes.

When a parameter is set to default, it means that it will be omitted and the renderer's default value will be used. Some defaults may change based on your rendermn.ini settings. See docs for more details.

Match Type

There are 3 matching engines:

  • exact: this is the fastest and will only match a full path.
  • glob: based on glob matching with the following tokens:
    • * : any number of character
    • ? : a single character
    • ** : any depth in the hierarchy
  • re: re2 regular expression. The most sophisticated, complex and potentially slow matching method.

Rules are evaluated in the editor's order.

Because matching can be slow in large archives, the first matching rule will win and stop the process.

Path Expression

You can either double-click in the field to type your expression or drag and drop from the alembic node list.

To drag and drop, you must first select the node in the alembic node list.

Convert a mesh to a subdivision surface

The chosen subdivision basis and interpolate boundary settings will define the shape's look.


meshcatmull-clarkloopbilinear

Interpolate

Boundary

off

Interpolate

Boundary

ON

Convert a subdivision surface to a polygonal mesh

Subdivision surfaces typically don't have normals because they are automatically computed from the surface. When you convert them to polygons, you take the subdiv's control mesh and turn it into a poly mesh. By default, RenderMan will detect the absence of normals and create smooth normal (this default can be changed in rendermn.ini). But you can force a hard-normals render too.

subdivpolymesh smoothpolymesh hard