#Inventor V2.1 ascii

# Check all aspects of rendering with an SoClipPlane.
#
# 19990414 mortene

Separator {
   # (ROW 0) 
   Separator {
      Cube { }

      # standard usage.
      BaseColor { rgb 1 0 0 }
      Translation { translation +4 0 0 }
      Separator {
	 ClipPlane { }
	 Cube { }
      }

      # see that clipping planes work along with separator nodes.
      BaseColor { rgb 0 1 0 }
      Translation { translation +4 0 0 }
      Separator {
	 ClipPlane { plane 1 -1 -1 0 }
	 Cube { }
      }

      # check with negative "on" field.
      BaseColor { rgb 0 0 1 }
      Translation { translation +4 0 0 }
      Separator {
	 ClipPlane {
	    plane 1 -1 -1 0
	    on FALSE
	 }
	 Cube { }
      }

      # ignore fields.
      BaseColor { rgb 1 0 1 }
      Translation { translation +4 0 0 }
      Separator {
	 ClipPlane { plane 1 -1 -1 0 ~ }
	 Cube { }
      }

      # ignore fields.
      BaseColor { rgb 1 1 0 }
      Translation { translation +4 0 0 }
      Separator {
	 ClipPlane { on FALSE ~}
	 Cube { }
      }
   }
}
