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
Indeed, looks like the vertexcolor description is a little terse, could mention that this color needs to be normalized between 0 and 1, unlike other color mappings:
@etpinard I think the point is that when users have 3-D models in OBJ format (where the alpha is written in the range of 0 to 255), they need to map it to fit in [0,1]. So they can't use their raw alpha values such as 127 in this example.
archmoj
changed the title
update vertextcolor description to note the range of the values
Problem with gl3d rgba colours when alpha is in range 0 - 255
May 23, 2019
archmoj
changed the title
Problem with gl3d rgba colours when alpha is in range 0 - 255
update vertextcolor description to note the range of the values
May 23, 2019
I was just reading through a community member's notebook (https://plot.ly/~empet/15040/plotly-mesh3d-from-a-wavefront-obj-f/#/) and came across this comment:

Indeed, looks like the
vertexcolor
description is a little terse, could mention that this color needs to be normalized between0
and1
, unlike other color mappings:plotly.js/src/traces/mesh3d/attributes.js
Lines 150 to 158 in 83fd651
The text was updated successfully, but these errors were encountered: