-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Bug fix - enabling transparent webgl draws for scatter3d trace when colors are transparent #3495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
718f086
bug fix issue 3492 enable transparent draw when having transparent co…
archmoj 432fb56
added a baseline to lock bug issue 3492
archmoj ed41e8a
one new baseline change
archmoj 164a3a4
correct baseline
archmoj 862d51c
fixup
archmoj File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,15 +73,15 @@ | |
"font-atlas-sdf": "^1.3.3", | ||
"gl-cone3d": "^1.2.2", | ||
"gl-contour2d": "^1.1.5", | ||
"gl-error3d": "^1.0.12", | ||
"gl-error3d": "git://github.com/gl-vis/gl-error3d.git#9835d7b63d64e5de2b24d9e7f810452151af9a58", | ||
"gl-heatmap2d": "^1.0.5", | ||
"gl-line3d": "^1.1.9", | ||
"gl-line3d": "git://github.com/gl-vis/gl-line3d.git#d2ea962c00e9f592ec0506ba33d14c7d25b85659", | ||
"gl-mat4": "^1.2.0", | ||
"gl-mesh3d": "^2.0.7", | ||
"gl-plot2d": "^1.4.2", | ||
"gl-plot3d": "^1.6.3", | ||
"gl-pointcloud2d": "^1.0.2", | ||
"gl-scatter3d": "^1.1.5", | ||
"gl-scatter3d": "git://github.com/gl-vis/gl-scatter3d.git#afc69258bef5a458e83b7d031ccfc6ada8e098fb", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
"gl-select-box": "^1.0.3", | ||
"gl-spikes2d": "^1.0.2", | ||
"gl-streamtube3d": "^1.1.2", | ||
|
Binary file added
BIN
+41.2 KB
.../image/baselines/gl3d_scatter3d_line3d_error3d_enable-alpha-with-rgba-color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+763 Bytes
(100%)
test/image/baselines/gl3d_scatter3d_line3d_error3d_transparent-with-zero-alpha.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 43 additions & 0 deletions
43
test/image/mocks/gl3d_scatter3d_line3d_error3d_enable-alpha-with-rgba-color.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"data": [ | ||
{ | ||
"x": [0, 1, 2, 3, 4], | ||
"y": [0, 1, 2, 3, 4], | ||
"z": [0,-1,-2,-3,-4], | ||
"mode": "markers+lines", | ||
"marker": { | ||
"size": 50, | ||
"color": ["rgb(0, 255, 0, 1.0)", "rgb(255, 0, 0, 1.0)", "rgb(255, 0, 0, 0.2)", "rgb(255, 0, 0, 1.0)", "rgb(0, 0, 255, 1.0)"] | ||
}, | ||
"line": { | ||
"width": 50, | ||
"color": ["rgb(0, 255, 0, 1.0)", "rgb(255, 0, 0, 1.0)", "rgb(255, 0, 0, 0.2)", "rgb(255, 0, 0, 1.0)", "rgb(0, 0, 255, 1.0)"] | ||
}, | ||
"error_z": { | ||
"type": "sqrt", | ||
"line": { "thickness": 10 }, | ||
"color": "rgb(255, 127, 0, 0.75)" | ||
}, | ||
"error_x": { | ||
"type": "sqrt" | ||
}, | ||
"error_y": { | ||
"type": "sqrt" | ||
}, | ||
"type": "scatter3d" | ||
} | ||
], | ||
"layout": { | ||
"title": { | ||
"text": "Should draw transparent scatter3d markers and lines<br>when having transparent rgba color" | ||
}, | ||
"width": 600, | ||
"height": 600, | ||
"scene": { | ||
"xaxis": { "nticks": 12 }, | ||
"yaxis": { "nticks": 12 }, | ||
"zaxis": { "nticks": 12 } | ||
} | ||
} | ||
|
||
} |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/gl-vis/gl-line3d/compare/fix3492-enable-opacity-by-alpha