FredoGhost - User Manual - English - v1.2 - 03 Jun 2019 - Ghost Methods
FredoGhost - User Manual - English - v1.2 - 03 Jun 2019 - Ghost Methods
FREDOGHOST
PROXY FRAMEWORK FOR SKETCHUP
GHOST METHODS
VERSION 1.2 – 03 JUN 2019
BY FREDO6
The Plugin page of FredoGhost is hosted on the Sketchucation web site at:
https://sketchucation.com/plugin/2191-FredoGhost
Contents
1. Ghost Methods ...........................................................................................................................3
1) Method: PROXY Object .............................................................................................................................. 6
2) Method: Clone Geometry ........................................................................................................................... 7
3) Method: No Texture ................................................................................................................................... 7
4) Method: X-Ray ........................................................................................................................................... 8
5) Method: Masking ....................................................................................................................................... 9
6) Method: Grayscale ................................................................................................................................... 10
7) Method: Color by Layer ............................................................................................................................ 11
8) Method: Monochrome ............................................................................................................................. 12
9) Method: Bounding Box............................................................................................................................. 13
10) Method: Edge Mesh ................................................................................................................................. 14
11) Method: Wireframe ................................................................................................................................. 14
1. Ghost Methods
Ghost methods are based on a core algorithm, complemented by optional parameters (for
instance, X-Ray has the choice of opacity and masking color). The combination of the
algorithm and the parameters instantiates an active ghost method.
In a model, the list of active ghost methods is shown in the Ghost Studio dialog box, in the
combo box, coming from 3 sources:
- Predefined methods (in blue)
- Methods used in the model and already assigned to some objects (in green) or
defined in the current session.
- Methods saved at SketchUp level (in red).
Some methods do not have parameters, like Clone Geometry and NO texture. Others can
be customized with parameters via the Ghost Method Editor.
FredoGhost illustrates the rendering for each method and parameters based on a template
shape1 shown in real version and in ghosted version. FredoGhost tries to simulate the
rendering as accurately as possible, at least for SU2018+.
1
Note that this template shape may change with future version of FredoGhost.
Styling methods usually have a property Edge Color. The 3 buttons on the right are
shortcuts to set the edge color to Black, Gray and Blend. There are 3 options:
Edges are not painted
You can define as many methods as you like in the Ghost Method editor.
However, they will be available in the SketchUp session only, unless they are used
on objects in the model.
You can however save a method and parameters for all SketchUp sessions2,
regardless of the model. Just press the Save button:
You will be prompted for a method nickname. By default, the name is the
expanded list of properties of the method.
…it will then appear in the main dropdown list of methods in ‘red’, with the
method code and the nick name. The tooltip indicates the details of properties.
If ever you want to remove this method, select it in the main combo box of the
Ghost Studio and then open the Ghost Method editor; you will see that the Save
button is now changed to a Forget button:
2
As well as all SketchUp versions, past and future
The following sections describe the methods available in the current version of
FredoGhost.
The quickest method is to pick the proxy object in the model, using the native Selector
tool. When one valid proxy object is selected, it will appear in the dialog box as a
green colored button.
3) Method: No Texture
This method repaints all textured faces with a material colored by the average color of
the textures.
The method has NO parameters.
The purpose of this method is to make the active model lighter by removing textures,
in particular when textures are based on heavy images.
4) Method: X-Ray
This method allows specifying an opacity (alpha), an optional masking color for all
faces and an optional color for all edges. Textures are preserved.
The opacity (alpha) is specified between 0.0 (fully transparent) and 1.0 (fully opaque).
Note that values are rounded at 0.05.
If the Face Color and Edge Color are not checked, the method just performs an X-Ray
of the object with the specified opacity:
Original object X-Ray - opacity = 0.80 X-Ray - opacity = 0.50 X-Ray - opacity = 0.20
To specify a Face Color and/or an Edge color, click on the checkbox, and select the
color in the dropdown list. If you specify an edge color, then it will be used.
Otherwise, the edges will be colored with the x-rayed average color of their bounding
faces.
Original object X-Ray - opacity = 0.50 X-Ray - opacity = 0.75 X-Ray - opacity = 0.50
Face color = ‘lightgreen’ Face color = ‘gold’ Face color = ‘lightcyan’
Edge color = ‘red’
REMINDER: in Sketchup, materials with an opacity less than 0.70 do NOT cast
shadows.
5) Method: Masking
Masking is a way to soften the colors; it applies a color masking to the object, which is
defined by 2 parameters:
Masking color: white for lighter, black or gray for darker. You can use another
color.
Desaturation: from 0 (no change) to 1 (fully desaturated)
Original object Masking with [white, 30%] Masking with [black, 30%]
The opacity (alpha) is specified between 0.0 (fully transparent) and 1.0 (fully opaque).
Note that values are rounded at 0.05.
If you specify an edge color, then it will be used. With the Blend mode, the edges will
be colored with the average of the masking colors of their bounding faces.
Note that if the desaturation is at 100%, you get a full coloring of the object with the
specified color.
Masking with [white, 100%] Masking with [gray, 100%] Masking with [khaki, 100%]
6) Method: Grayscale
This method replaces all face colors by their grayscale color. Textures are preserved.
Grayscale colors are computed based on luminance of the color, which is in general
better suited than a simple average.
You can therefore make the ghost lighter or darker using the masking parameters:
Original object Grayscale with NO masking Grayscale with masking Grayscale with masking
[white, 50%] [black, 50%]
The opacity (alpha) is specified between 0.0 (fully transparent) and 1.0 (fully opaque).
Note that values are rounded at 0.05.
If you specify an edge color, then it will be used. With the Blend mode, the edges will
be colored with the average of the grayscale colors of their bounding faces.
Original object Grayscale with masking Grayscale with masking Grayscale with masking
[sandybrown, 50%] [skyblue, 50%] and [skyblue, 70%] and
opacity = 0.65 edges in red
In the Method Editor, the Color by Layer panel has options to choose a color for the
edges: specified color or colored by layer otherwise.
8) Method: Monochrome
This method assigns a single color to ALL faces in the selected objects, white by
default. Textures are removed.
If NO face color is specified, the method gives the same result as the native
Monochrome style in Sketchup, showing the front faces and back faces.
If a face color is specified, then the front and back faces are equally painted with the
specified color.
In the Method Editor, the Monochrome panel has options to choose the Face color,
the opacity and a color for the edge.
The 4th option, native opacity, allows to preserve the original opacity of faces in the
object. This is effective only if there is no global opacity set.
Original object Monochrome – face color = palegreen Monochrome – face color = palegreen
Native opacity = false Native opacity = true
In the Method Editor, the Bounding Box panel offers the option to choose the Face
color, the opacity and a color for the edge.
If you select a face color, the bounding boxes will be created as true blocks with faces.
Original object Edge Mesh – NO edge color Edge Mesh – edge color = red
In the Method Editor, the Edge Mesh panel offers the option to choose the Edge
color.
11)Method: Wireframe
This method is analog to the SketchUp wireframe style. It creates only hard edges,
unlike Edge Mesh which creates all edges. Hidden edges will not display.
In the Method Editor, the Wireframe panel parameters for Edge colors are: