Difference between revisions of "Reference:Inverse Object Modifier"

From POV-Wiki
Jump to navigation Jump to search
m (1 revision: Reference Migration Initial Load)
m (link repair)
Line 2: Line 2:
 
{{#indexentry:inverse, object modifier}}
 
{{#indexentry:inverse, object modifier}}
 
{{#indexentry:object modifier, inverse}}
 
{{#indexentry:object modifier, inverse}}
<p>When using [[Reference:Constructive Solid Geometry|:CSG|CSG]] it is often useful to invert an object so that it will be
+
<p>When using [[Reference:Object#Constructive Solid Geometry|:CSG|CSG]] it is often useful to invert an object so that it will be
 
inside-out. The appearance of the object is not changed, just the way that
 
inside-out. The appearance of the object is not changed, just the way that
 
POV-Ray perceives it. When the <code>inverse</code> keyword is used the <em>
 
POV-Ray perceives it. When the <code>inverse</code> keyword is used the <em>

Revision as of 20:37, 20 July 2012

When using CSG it is often useful to invert an object so that it will be inside-out. The appearance of the object is not changed, just the way that POV-Ray perceives it. When the inverse keyword is used the inside of the shape is flipped to become the outside and vice versa. For example:

object { MyObject inverse }

The inside/outside distinction is also important when attaching interior to an object especially if media is also used. Atmospheric media and fog also do not work as expected if your camera is inside an object. Using inverse is useful to correct that problem.