You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/2.0/Vendor/BENTLEY_materials_line_style/README.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,8 @@ The `pattern` property specifies a **repeating on/off bit pattern** applied alon
49
49
50
50
The least significant bit (bit 0) corresponds to the start of the pattern and represents the first drawn segment along the line. The pattern repeats cyclically once all bits have been consumed.
51
51
52
+
The pattern must be applied continuously along each continuous line string or line loop so that connected segments remain visually consistent. Implementations must not restart the pattern at intermediate vertices within the same line string.
53
+
52
54
Example patterns:
53
55
54
56
| Bit Pattern (hex) | Binary | Description |
@@ -62,11 +64,8 @@ Example patterns:
62
64
63
65
*This section is non-normative.*
64
66
65
-
66
67
Because many graphics APIs do not support line primitives with a width larger than 1, tessellation is generally required to draw wide lines.
67
68
68
-
The pattern should be applied continuously along the length of each continuous line string or line loop, ensuring visual consistency across connected segments.
69
-
70
69
When rendering, the integer `pattern` value may be supplied to the shader as a uniform or read from a small lookup table shared among materials.
71
70
72
71
For now, implementations will be limited to 16-bit integers for pattern encoding, as this is sufficient for all current use cases.
@@ -75,4 +74,4 @@ If a pattern uses fewer bits than the maximum supported width, unused higher bit
0 commit comments