Message Boards Message Boards

2
|
2380 Views
|
3 Replies
|
6 Total Likes
View groups...
Share
Share this post:

Vertex colors and tubes does not work

There seems to be something wrong with the VertexColors when using tubes.

dat = Table[{Cos[x], Sin[x], x/10}, {x, 0., 10}];
col = RGBColor /@ dat
{
 Graphics3D[{PointSize[Large], Point[dat, VertexColors -> col], 
   Line[dat]}],
 Graphics3D[{Thick, Line[dat, VertexColors -> col]}],
 Graphics3D[{CapForm["Square"], JoinForm["Miter"], 
   Tube[dat, VertexColors -> col]}, Lighting -> "Neutral"]
 }

enter image description here

This also seems to be the case in the documentation, this is an example from the VertexColors doc.

enter image description here

other examples in also fail like this one in the Tube doc.

enter image description here

POSTED BY: Martijn Froeling
3 Replies

We are aware of this issue, and the fix is coming soon in the next Mathematica version upgrade.
Thank you

POSTED BY: Moderation Team

Great! Thanks for the information.

POSTED BY: Martijn Froeling

It has indeed been fixed in 13.1.

Thanks.

POSTED BY: Martijn Froeling
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract