Analyze
zAnalyzeViewQuality
Scored view quality from a position
This tool answers one question: standing in different places in a room, where is the view outside worth more?
You tell the tool which things in the scene are worth looking at, for example park trees, a river or a landmark building, and give each one a score (the higher, the more worth seeing). The tool then stands on every point of the floor or desk you pick, looks around in a full circle, counts which scored things that point can see, and gives the point a score from 0 to 100. The result is drawn as a color heat map: the warmer and lighter the color, the better the view from that position.
Typical uses:
- Compare which workstations or rooms on a floor have a better view, as a basis for pricing or seating.
- Judge how much view a new building blocks for others, or whether your own window direction wastes a good view.
- Make a view quality page that can go straight into a presentation.
It is a sister tool of zAnalyzeView and shares the same dialog: the list, the heat map, Inspect Cell and the report work exactly the same way. The only difference is what is calculated: zAnalyzeView measures “how much of the line of sight leads outdoors”, and zAnalyzeViewQuality measures “how many points the things you can see are worth”. If you have never used zAnalyzeView, the steps below are complete. If you only want to know whether a point sees outdoors or how open a space is, without scoring, use zAnalyzeView instead.
Quick start
A complete analysis from scratch takes about five minutes.
Step 1: choose the floor to analyze. Run zAnalyzeViewQuality. When the command line says “Select sample face(s) (floor / desk surfaces) - Enter when done”, select the floor or desk you want to judge (for example the slab of a ground-floor office) and press Enter. These faces are called sample faces. The tool lays a grid of small points on each of them, and each point is one place to look from. You can select several faces; each becomes one row in the OBJECTS table. The list is remembered in the Rhino file: press Enter without selecting anything to open the window with the list from last time.
Step 2: tell the tool what is worth looking at. In the SCORING tab, press Open Scored Objects… to open the scoring window. Click + Add Object on the first row of its list, select the things to score in the viewport (trees, a landmark building, water and so on, several at once if you like) and press Enter. If something is already selected in Rhino, it is used directly. The small Set Score window then opens: a band of color blocks from -5 to 10. Hover over a block to see what that score means, and click it to finish. Or type any score in Custom and press OK. A rough guide:
| Thing | Suggested score |
|---|---|
| A very beautiful park, water or landmark | 8 to 10 |
| Ordinary trees, green space | 4 to 6 |
| An ordinary building facade | 1 to 3 |
| Things you want to count against the view, such as a parking lot or a plant room | A negative number, such as -3 |
Scores are compared only among the things you score, so they do not need to be precise. What matters is their relative size. Things you do not score give neither points nor penalties (see Scoring rules below).
Step 3: check the Sky Weight. Sky Weight in the SCORING tab is the score for “a line of sight that hit nothing and goes straight out into the distance”, on the same scale as the object scores. The higher it is, the more an open view scores. If it equals the score of your best thing, an open sky is as good as that thing, and the whole map flattens toward one color.
Step 4: set the standing height and the view distance. In the VIEW tab:
- Eye Height: how high the eyes are above the slab. Use the eye height at a desk or standing.
- Ray Count: how many lines of sight in a full circle. More is finer and slower.
- Vertical FOV and Vertical Samples: how wide to look up and down, and how many angles to take. Set Vertical Samples to 1 to look only at the horizontal circle.
- View Distance: how far the eye can see. A line of sight that travels this far without touching anything counts as sky.
Step 5: choose what blocks the view. Obstructions in the OBSTRUCTIONS tab has two choices. All lets everything visible in the scene block the view, which is closest to reality. Pick lets only the things you pick block the view.
Step 6: compute. In the table, press the triangle button (Compute) at the far right of a row, or the triangle on the global row at the very top, or Compute at the bottom, to compute all rows at once. A progress ring shows while it runs, and the square button stops it.
Step 7: read the result. When it finishes, a color heat map appears in the viewport, and the result card at the top shows the average score of the selected row. Use the bar at the top of the window to switch the metric (Quality, Sky View, Scored View) and, in the result card:
- Auto or Fixed: with Auto, the colors stretch from the lowest to the highest value over all sample faces so small differences are visible, and the legend shows the real limits. With Fixed, the range is a fixed 0 to 100%.
- Press Inspect Cell and click a colored square to read the exact score of that cell.
To see why one point got its score, press Pick in Ray Point (RAY PREVIEW in the SCORING tab) and click that point in the viewport. Every line of sight from it is drawn, and the top left of the window shows the score of the point and the shares of each kind of line.
Step 8: summary table and report. In Output, choose Results… for a summary table of all sample faces (the Threshold under PASS LINE in the SCORING tab is the pass line this table uses). Choose Report… to open the report window, lay out the page and export it as PNG.
Step 9: save or leave. To keep the heat map in the file, press Bake at the bottom (for every computed row), or right-click one row and choose Bake for that row only. To keep nothing, close the window with the X: the preview that was not baked is removed, but the scores you gave the objects are stored on them and are read back the next time you open the tool.
The window
There are no Setup and Result modes: everything is in one narrow column. From top to bottom:
- The status line: the reading of the point picked in Ray Point on the left and the number of Participating Obstructions on the right.
- The metric bar: Quality, Sky View, Scored View.
- The result card: Auto and Fixed, the average of the selected row in large type, a line of explanation, the gradient bar with its numbers, five icon switches, and Inspect Cell.
- OBJECTS: the table of sample faces.
- Tabs: SAMPLING, SCORING and OBSTRUCTIONS.
- The bottom bar: Output at the left, Compute and Bake at the right.
There is no Reset button and no Close button. Right-click the result card or the metric bar and choose Reset to defaults to restore all settings. Your scores are not affected.
Lengths follow the Rhino document unit: a bare number means the document unit, and a unit typed after it always works.
OBJECTS
One row per sample face. The columns from left to right are: name, Cell, Plane, Compute. Unlike zAnalyzeView, there is no boundary column. Right-click a row and choose Bake to keep that row’s heat map as a real mesh on the zAnalyzeViewQuality layer; it replaces the mesh it baked before. Bake at the bottom bakes every computed row as one undo step. Selected rows have a thin dark outline.
- + Add Object: the first cell of the global row at the top. Click it to go back to the viewport and select more sample faces, then press Enter.
- Object (name): click the column title to sort by name. Click a name to select it and show its result. Shift+click selects a range and Ctrl+click adds or removes one. Double-click to rename. With a name selected, the Delete key deletes it.
- Right-click menu on a name: Rename, Delete (also removes its sample grid and preview), Bake, Select (selects the sample face in Rhino), Zoom to Objects, Select All, Invert Selection and Clear All.
- Cell: the side of one square cell of the sample grid, in feet. A smaller side gives denser points and a slower calculation. The global Cell writes the same value to every object.
- Plane: the direction of the sample grid, one button. Click to pick an edge of the sample face (the edge near the cursor is highlighted in yellow); it becomes the horizontal direction of the grid. Click again to pick another. Right-click to go back to the World plane. The global Plane picks one edge for all objects, and right-click sends all objects back to World.
- Compute: the triangle starts the calculation, and during it becomes a progress ring with a square button to stop. The global button computes or stops all of them.
SAMPLING tab
- Eye Height: the height of the eyes above the sample face, along world Z. Default 5 ft.
- Ray Count: the number of lines of sight in a horizontal circle. Default 144.
- Vertical FOV: the total opening angle up and down, in degrees, centered on the horizontal. Default 60, which is 30 degrees up and 30 degrees down. 0 means horizontal only.
- Vertical Samples: how many angles are taken within the up and down range. Default 3. The total number of lines of sight is Ray Count times Vertical Samples. 1 means the horizontal circle only.
- View Distance: how far a line of sight can go. A line that travels farther without touching anything counts as sky. Default 1000 ft. While you drag or type this value, a circle with this radius is shown briefly in the viewport.
SCORING tab
- Sky Weight: the base score of a line of sight that hits nothing and goes straight out (horizontal or upward). Default 4. It is on the same scale as the object scores: the higher it is, the more an open view wins. If it is as high as the best object, the whole map tends toward 100. Lower it to bring out the differences between objects.
- Near Distance: the upper limit of the near band. Hits closer than this are “near”. Default 25 ft.
- Mid Distance: the upper limit of the mid band. Hits between Near Distance and this are “mid”, and farther hits are “far”. Default 100 ft.
- Near Weight / Mid Weight / Far Weight: the discount factor of each distance band. Defaults 0.5, 0.8 and 1.0. Below 1, something right in front of your eyes scores less than something farther away. Sky always uses the Far factor.
Example: a tree scored 8 that is seen in the mid band, with a Mid Weight of 0.8, gives that line 8 x 0.8 = 6.4. The same tree right outside the window, in the near band with a Near Weight of 0.5, gives only 8 x 0.5 = 4.
SCORED OBJECTS
- Scored Objects: a one-line summary (how many objects, the average score and the range of scores) and the Open Scored Objects… button. The full list is in a separate scoring window.
- Open Scored Objects…: opens the scoring window. While it is open, all scored objects are temporarily colored by score in the viewport: light green for 0 to 10 dark green, red for negative, with the score shown on the selected objects. The coloring disappears when you close the window and does not change the real colors of the objects.
PASS LINE
- Threshold: the pass line, 0 to 100. The Results table uses it to count the share of the area whose score reaches it. It works only for the Quality metric, and it is grayed out when the metric is Sky View or Scored View.
RAY PREVIEW
- Ray Point: two buttons on the right.
- Pick: click a sample point on the heat map to draw every line of sight from it. It stays until you pick another point or press Unpick. The top left of the window shows the score of the point and the shares of Sky, Scored, Skipped and Ground lines.
- Unpick: clears the lines.
The color key of the lines:
- Green: hit a scored object (the darker, the higher the score).
- Blue: went to the sky (only the first stretch is drawn).
- Gray: hit something unscored; skipped, not counted.
- Brown: pointed down and hit nothing; treated as ground and skipped.
OBSTRUCTIONS tab
- Obstructions: what blocks the view.
- All: everything visible in the scene blocks the view, including unscored buildings. Hidden objects and objects on layers that are off do not.
- Pick: only the things you pick block the view.
- Scored things always take part, whichever mode you choose.
- Color Obstructions: when on, paints every object that actually blocks the view the same blue as a temporary preview, so you can check which objects count as obstructions. It does not change their real colors and is not baked.
Scored Objects window
The search box is at the top left and Link selection at the top right. Each row of the list has a drag handle, a name and a score color block. A gray line at the bottom shows the result of the last action.
- Search box: type to filter the list by name.
- Link selection: when on (remembered), selecting rows in the list selects the matching objects in Rhino, and selecting objects in Rhino selects the matching rows.
- + Add Object: the first row of the list. Click it to go back to the viewport and select the things to score, several at once: surfaces, polysurfaces, meshes, extrusions, SubDs or blocks. Things already selected in Rhino are used directly, and things already in the list are not added again. The Set Score window then opens to score the new batch. If you cancel it, they keep a score of 5.
- Name: click to select the row and zoom to the object, Ctrl or Shift to select several. Double-click to rename (this changes the real name of the Rhino object). Press Delete to remove the selected rows from scoring, and Esc to clear the selection.
- Score color block: its color matches the viewport coloring. Click it to open the Set Score window. If you click the block of a selected row, the score is set for all selected rows.
- Set Score: the small scoring window.
- The color band: one block for each whole score from -5 to 10; click one to finish. Hover to see its meaning: negative is Unwanted view, 0 to 2 Poor, 3 to 4 Ordinary, 5 to 7 Good, 8 to 9 Very good, 10 Landmark.
- Custom: type any score from -1000 to 1000 and press OK to confirm, or Cancel.
- Drag handle: drag onto another row and release to change the order. Dropping onto a Tag row adds the object to that group. The order is stored on the objects and restored the next time you open the tool.
- Right-click menu on an object row: Rename, Set Score… (scores the selected rows), Delete (removes it from scoring; the object itself stays in the model), Remove from Tag (only when the row is in a Tag), Move to an existing Tag, Group as Tag… (makes a new Tag from the selected rows), Select All, Invert Selection and Clear All (empties the scoring list).
- Tag (grouping): puts a set of objects (for example all trees) under one name, shown folded in the list. A Tag belongs only to this tool. It does not change Rhino layers, and does not affect the calculation or the viewport coloring. There is only one level, no nesting. A Tag row has no background color; it is told apart by bold text and a triangle, with tree connector lines in front of its children. Click the name to fold or unfold (the number in parentheses is the object count), and double-click to rename. Objects without a Tag are listed at the top. Tag names and the group order are stored on the objects. The folded state is not stored, so groups open unfolded every time, and an empty Tag disappears when you close the window.
- Right-click menu on a Tag row: Rename Tag, Delete Tag (removes only the grouping; the objects go back to having no Tag and keep their scores) and Select Children (selects and zooms to the whole group).
- Objects deleted in Rhino disappear from the list automatically.
The metric and the result card
The metric bar at the top chooses what the heat map shows.
- Quality: the normalized score from 0 to 100.
- Sky View: the share of the view that is sky.
- Scored View: the share of the view taken by scored objects.
- The shares are weighted by solid angle and count every line of sight (including those blocked by unscored things and those pointing down at the ground), so sky, scored, skipped and ground add up to 100%.
The result card:
- Auto and Fixed: how values map to colors.
- Auto: the colors stretch from the lowest to the highest value over all sample faces, to compare rooms. The legend shows the real limits.
- Fixed: a fixed 0 to 100%, so results of different runs can be compared directly.
- Gradient bar: maps scores to colors; dark means a poor view and a pale warm color a good view. Double-click to add or remove a color stop, right-click a stop to change its color, and right-click the bar for presets (hover over a preset to see its name) and Flip Gradient.
- Five icon switches under the bar, in this order. Hover one to see its name:
- Map Result: shows or hides the colored result in the viewport. On by default, and a new Compute turns it on again. The grid lines, the gradient legend and the readings stay.
- Gradient: shows the gradient legend at the bottom left of the viewport.
- Blur Gradient: on, the colors blend between cells. Off, each cell is one flat color, which makes the exact value of each cell easier to read.
- Grid Divisions: draws the sample grid lines over the heat map. They switch off by themselves after a Compute.
- North Arrow: shows a north arrow in a corner of the viewport.
- Inspect Cell: click it, then click a colored square in the viewport to read its score (0 to 100). Esc keeps the reading and Enter clears it.
Output and the bottom bar
- Output opens a menu:
- Results…: opens the Quality Results summary table.
- Report…: opens the report window, which lays out the heat maps, numbers and charts as pages and exports them as PNG.
- Compute: computes every sample face in the list.
- Bake: keeps the heat map of every computed row as a real mesh. To bake one row only, right-click it and choose Bake.
Quality Results
One row per sample face. The last row, in bold, “Total (pooled)”, combines all sample faces into one area weighted by the number of points.
- Sample face: the name of the sample face.
- Points: the number of valid sample points.
- Quality: the average score.
- Min / Max: the lowest and highest score of a sample point.
- Sky: the average share of the view that is sky.
- Scored: the average share of the view taken by scored objects.
- Area ≥ (Threshold): the share of sample points whose score reaches the Threshold.
A line below the table compares the pooled passing area with a fixed target of 75% and shows Pass or Fail.
- Export CSV…: saves the table as a CSV file.
Report window
The same as the report window of zAnalyzeView. The page type segment has the current Metric plus Summary. Width in pixels (16:9) offers 1920, 2560 or 3840 (remembered, 2560 the first time). Map Result is Floating View or Mesh Only. In OBJECTS, one ticked object gives a single-object page and two or more give a comparison page. In MODULES, tick and drag Headline, Area Curve, By Object and Numbers. Click the + tab to add a page and right-click a tab for Remove Page. At the bottom, Export PNG exports (with several pages you choose a folder and all are exported at once), Copy copies the current page, Refresh reads the latest results and Close closes the window.
Scoring rules in plain words
For every sample point, the tool sends out many lines of sight around it. Each line meets one of three cases:
- It hits something you scored. The line gets “that object’s score x the distance factor”.
- It hits something you did not score, such as an ordinary building that blocks the view. This line is void. It adds nothing and subtracts nothing, so it does not pull the average down.
- It hits nothing, or flies out past View Distance. If the line is horizontal or pointing up, it counts as sky and gets “Sky Weight x Far Weight”. If it points down, it is treated as unmodeled ground, skipped like an unscored object, and does not enter the average.
All valid lines are then averaged (each line is weighted by the cosine of its elevation angle, that is by the solid angle it really covers, so a horizontal line weighs more than a line 30 degrees up or down). The result is the raw score of the point.
Why the final range is 0 to 100. The raw score is converted to 0 to 100 by “the most your scores and factors could possibly give”. So every point’s score means “how close this is to the best possible view”. Results of different faces and different runs can then be compared directly, and the Threshold makes sense.
The relative sizes of the scores matter more than their absolute values. If you scale all object scores and the Sky Weight up or down together, the heat map does not change, because the result is converted again at the end. What really counts is the ratio between them.
Relation to zAnalyzeView. The two tools share the dialog, but each saves its own settings and the data stored on objects (cell side, name, latest result, scores), so they do not overwrite each other. The same face can be analyzed with both tools in turn.
How the settings work together
- The name, Cell, Plane and latest result of a sample face are stored on it, and come back the next time you add the face.
- After changing View Distance, a score or a factor, results already computed do not update by themselves. Compute again.
- While the report window is open, changes to the metric, Auto or Fixed, or the gradient in the window refresh the report preview.
Good to know
- Compute does nothing and says “Add at least one scored object before computing.” There are no objects in the Scored Objects window yet. Open the scoring window and use + Add Object to add the things to score.
- The whole map is almost one color. Most likely the Sky Weight is much higher than all the object scores, so most lines count as sky and the result is close to 100. To bring out the object differences, lower the Sky Weight or raise the object scores. If instead almost everything is the lowest score, check whether most lines are blocked by unscored buildings, or whether View Distance is too small.
- Why some cells are empty (a hole). Two cases: no line of sight of that point counted (all were blocked by unscored things), or the point lies where the bottom face of an obstruction overlaps it (for example a column standing on the floor). These cells are left out of the average and show no value. A cell is removed when any of its corners lies inside an obstruction, so a large Cell makes the holes noticeably bigger.
- I scored something but it had no effect. Check whether it is visible in the viewport (hidden objects and objects on layers that are off do not take part), or turn on Color Obstructions to see whether it counts as an obstruction. Also, a line of sight must really reach it: farther than View Distance counts as not seen.
- Does the sample face block the view? No. A face chosen as a sample face does not block its own view and is not scored twice.
- Looking outside from an indoor room. There is no separate glass setting. Hidden objects and objects on layers that are off do not block, so before the analysis hide the window glass (and anything you do not want to block), or switch its layer off, and the lines of sight pass through the opening. Walls and slabs block as usual, and lines that hit them are skipped as unscored things.
- Results shows “-” for Sky and Scored. These two are only available for results computed since you opened the dialog this time, not for results restored from an earlier session. Compute again to fill them.
- What does closing the dialog lose? The heat map preview that was not baked is removed. The scores you gave objects are stored on the objects and are read back when you open the tool again, so they are not lost.
- Color Obstructions is only a preview. It does not change the real color of any object and is not baked. It disappears when you turn it off or close the dialog.