Difference between revisions of "Reference:Object Modifiers"
Jholsenback (talk | contribs) m (begin additions and changes) |
Jholsenback (talk | contribs) m (continued corrections and addtions) |
||
Line 27: | Line 27: | ||
TRANSFORMATION | TRANSFORMATION | ||
</pre> | </pre> | ||
− | <p> | + | <p>When applied to [[Reference:Constructive Solid Geometry|CSG]] components these modifiers work as expected: <em>All Transforms</em>, <code>[[Reference:Inverse Object Modifier|inverse]]</code>, <code>[[Reference:Bounded By Object Modifier|bounded_by]]</code>, <code>[[Reference:Clipped By Object Modifier|clipped_by]]</code>, <code>[[Reference:Cutaway_Textures|cutaway_textures]]</code>, <em>Hierarchy</em>, and <code>[[Reference:Sturm Object Modifier|sturm]]</code>. However by design some modifiers are not passed from nested objects to a <em>CSG</em> resultant involving those objects. This is true when using the following keywords and / or keyword blocks: <code>[[Reference:No Image Object Modifier|no_image]]</code>, <code>[[Reference:No Reflection Object Modifier|no_reflection]]</code>, <code>[[Reference:No Shadow Object Modifier|no_shadow]]</code>, <code>[[Reference:No Radiosity Object Modifier|no_radiosity]]</code>, <code>[[Reference:Double Illuminate Object Modifier|double_illuminate]]</code>, <code>[[Reference:Hollow Object Modifier|hollow]]</code>, <code>[[Reference:Photons|photons]]</code> and <code>[[Reference:Radiosity|radiosity]]</code>. Setting <code>[[Reference:Union#Split_Union|split_union off]]</code> provides the exception with unions and their accepting unions.</p> |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | </ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<p>Although the examples below use object statements and object identifiers, these modifiers may be used on any type of object such as sphere, box etc.</p> | <p>Although the examples below use object statements and object identifiers, these modifiers may be used on any type of object such as sphere, box etc.</p> | ||
− | <p>See also: <code>[[Reference:Transformations#translate|translate]]</code>, <code>[[Reference:Transformations#rotate|rotate]]</code> and <code>[[Reference:Transformations#scale|scale]]</code></p> | + | <p>See also: <em>All Transforms</em> <code>[[Reference:Transformations#translate|translate]]</code>, <code>[[Reference:Transformations#rotate|rotate]]</code> and <code>[[Reference:Transformations#scale|scale]]</code></p> |
− | + | <p>See also: <em>Hierarchy</em> <code>[[Reference:Blob|blob]]</code> and <code>[[Reference:Height Field|height_field]]</code></p> | |
− | <p>See also: < | + | <p>See also: <code>[[Reference:Material|material]]</code>, <code>[[Reference:Texture|texture]]</code>, <code>[[Reference:Pigment|pigment]]</code>, <code>[[Reference:Normal|normal]]</code> and <code>[[Reference:Finish|finish]]</code></p> |
− | + | <p>See also: <code>[[Reference:Interior|interior]]</code>, and <code>[[Reference:Media|media]]</code></p> | |
− | <p>See also: < |
Revision as of 13:53, 26 March 2020
A variety of modifiers may be attached to objects. The following items may be applied to any object:
OBJECT_MODIFIER: clipped_by { UNTEXTURED_SOLID_OBJECT... } | clipped_by { bounded_by } | bounded_by { UNTEXTURED_SOLID_OBJECT... } | bounded_by { clipped_by } | no_shadow | no_image [ Bool ] | no_radiosity [ Bool ] | no_reflection [ Bool ] | inverse | sturm [ Bool ] | hierarchy [ Bool ] | double_illuminate [ Bool ] | hollow [ Bool ] | interior { INTERIOR_ITEMS... } | material { [MATERIAL_IDENTIFIER][MATERIAL_ITEMS...] } | texture { TEXTURE_BODY } | interior_texture { TEXTURE_BODY } | pigment { PIGMENT_BODY } | normal { NORMAL_BODY } | finish { FINISH_ITEMS... } | photons { PHOTON_ITEMS...} radiosity { RADIOSITY_ITEMS...} TRANSFORMATION
When applied to CSG components these modifiers work as expected: All Transforms, inverse
, bounded_by
, clipped_by
, cutaway_textures
, Hierarchy, and sturm
. However by design some modifiers are not passed from nested objects to a CSG resultant involving those objects. This is true when using the following keywords and / or keyword blocks: no_image
, no_reflection
, no_shadow
, no_radiosity
, double_illuminate
, hollow
, photons
and radiosity
. Setting split_union off
provides the exception with unions and their accepting unions.
Although the examples below use object statements and object identifiers, these modifiers may be used on any type of object such as sphere, box etc.
See also: All Transforms translate
, rotate
and scale
See also: Hierarchy blob
and height_field