Skip to content
renderStacks by QuasiKrystal

Object Selection

Object Selection Type

This UI shows when a pmodifier works with many objects. All pmodifiers use the same UI to select many objects.

Object selection UI with the eight selection type buttons and the selection list

renderStacks has 8 ways to define an object selection:

  • LS (LayerSet) – a set of layers. The dropdown shows the existing LayerSets. Select one to use it.
    To make a LayerSet, right-click the LS button. The LayerSet Editor opens.
  • Layer tree for nLS: the frontbunch layer and its child layers are selectednLS (Nested LayerSet) – selects all objects on the selected layers and on their child layers. For example, in the image, the LayerSet has 2 layers: "frombunch" and "tubes". If you use this LayerSet as nLS and not as LS, renderStacks uses all highlighted layers to select objects.
  • Lyr (Layer) – one layer. If you need only one layer, this is easier than a LayerSet.
  • nLyr (Nested Layer) – the selected layer and all its child layers.
  • SS (Selection Set) – a selection set.
  • PN (Pathname) – in MAXScript, a pathname names objects by hierarchy or by pattern.
    Examples:
    $box01 — the object named 'box01'
    $torso/left_up_arm/left_low_arm — a hierarchy path name
    $*box* — all objects with 'box' in the name
    $torso/* — all direct children of "torso"
    $helpers/d* — all helper objects with a name that starts with 'd'
    For more data, see the MAXScript help.
  • All – all objects.
  • Visibility pmodifier with the Sample object set, which combines a LayerSet, a PathName and a LayerOS (Object Set) – combines the 7 methods above. In the example, the ObjSet "Sample" starts with the LayerSet "AllGeos". Then it excludes Teapot001 (see the [-] button). Then it adds all objects on the "Light" layers.
    With an ObjSet, you do not have to make a new LayerSet that combines LayerSets. You can also exclude objects from a LayerSet without moving them to a different layer.
    This is a strong method to select objects. But we recommend that you keep your ObjSets simple.
    For more data, see ObjSet Editor.

New in 1.1: when you select OS in a Visibility pmodifier, renderStacks fills in an ObjSet name and enables the Add button. You can then add items to the ObjSet immediately.

Visibility pmodifier with OS selected, the object set name filled in and the Add button available

Include/Exclude

The Include/Exclude button works the same as the radio buttons with the same name in the 3ds Max Include/Exclude dialog.

  • Include – the pmodifier uses the objects that you define here.
  • Exclude – the pmodifier uses all objects except the objects that you define here.

!!! This option is always Include for the Visibility pmodifier. The Visibility pmodifier needs special logic to find what to unhide. For more data, see the Visibility section.

Visible as SelectionSet / Visible as ObjSet

These 2 buttons save the visible objects as a Selection Set or an ObjSet.

If the pmodifier already uses the same object selection type, renderStacks asks if you want to update the current set or make a new set.

Message that asks if renderStacks must update the TeapotsNtubes obj set

  • Yes – renderStacks updates the current Selection Set or ObjSet.
  • No – renderStacks makes a new Selection Set or ObjSet. By default, the new set gets the pass name of the pmodifier.

For an ObjSet, renderStacks does these steps:

  1. It makes a LayerSet of all visible objects.
  2. It makes a Selection Set of the hidden objects on visible layers.
  3. It subtracts the Selection Set.

In this example, the ObjSet gets the pass name "TeapotsNTubes". The LayerSet and the Selection Set in the ObjSet get the names "4[passname]_LS" and "4[passname]_SS".

Visibility pmodifier with the TeapotsNtubes obj set and its 4TeapotsNtubes_LS and 4TeapotsNtubes_SS sets

If you change or rename the LayerSet or the Selection Set and then select update, renderStacks updates the current set.