Skip to content

Commit 7f2cb6e

Browse files
authored
formatting
1 parent 9be59dd commit 7f2cb6e

File tree

1 file changed

+2
-0
lines changed
  • extensions/2.0/Vendor/BENTLEY_materials_line_style

1 file changed

+2
-0
lines changed

extensions/2.0/Vendor/BENTLEY_materials_line_style/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ The `BENTLEY_materials_line_style` extension is applied to a material. If that m
3030
The `width` property specifies the width in pixels of the lines. For each line segment, extrude by half this width perpendicularly on both sides.
3131

3232
> Potential generalization: permit width to be specified in meters.
33+
>
3334
> Potential generalization: permit pixel width to scale with distance between a minimum and maximum.
35+
>
3436
> Potential generalization: we currently assume lines face the camera, which is sensible when using pixels as units of measure. But the glTF spec permits for lines to have normal and tangent attributes for purposes of lighting; this could also be used to specify the plane in which they should be extruded.
3537
3638
The `pattern` property specifies a pixel pattern to be repeated along the length of the line. It is an arbitrary length bitfield expressed as a string in which a `-` (hyphen) indicates a lit pixel and a ` ` (space) indicates an unlit pixel. The first character in the string determines whether the first pixel drawn by the line is lit or not, and so on until the last character, at which point the pattern repeats from the first character.

0 commit comments

Comments
 (0)