Skip to content
François Beaune edited this page Feb 25, 2014 · 25 revisions

For convenience, appleseed includes a number of built-in entity models, providing a robust foundation with no external dependencies. This document describes these built-in entity models in details.

Table of Contents

### 2. Built-in Camera Models

2.1. The pinhole_camera Model

2.2. The thinlens_camera Model

2.3. The spherical_camera Model

### 10. Built-in Render Layer Assignment Rule Models

10.1. The regex Model

Description

A regex render layer assignment rule allows to assign one or multiple entities whose paths match a given Perl regular expression (cheat sheet, examples) to a given render layer.

Parameters
Parameter Presence Description
pattern Required The regular expression pattern used to select entities.
Example

The following rule, called "rule1", assigns all object instances from the "truck" assembly to a render layer called "truck_layer":

<render_layer_assignment name="rule1" model="regex">
    <parameter name="render_layer" value="truck_layer" />
    <parameter name="entity_type" value="object_instance" />
    <parameter name="order" value="1" />
    <parameter name="pattern" value="scene/truck/.*" />
</render_layer_assignment>
Clone this wiki locally