Skip to content

Conversation

@jshahbazi
Copy link

The vertexColors default is currently set to 2, which makes the color always black regardless of what the color property is set to. Setting the value to 0 allows the proper color to be shown.

@nhz2
Copy link
Contributor

nhz2 commented Nov 1, 2021

Thank you for figuring out how to get the right color to show for point clouds of uniform color.

However, I tried it out, and setting vertexColors to 0 will also prevent each point from having a unique color, like in the example in demo.ipynb

colors = reinterpret(RGB{Float32}, points); # use the xyz value as rgb color
setobject!(vis[:pointcloud], PointCloud(points, colors))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants