How to set the point size in pixel units instead of actual size units? #1064
Answered
by
robertosfield
WangZP10969
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The vertex shader would need to be changed to pass a constant size pixel
I am away on a trip and replying from phone so can't provide more details.
…On Sat, 6 Jan 2024, 15:04 WangZP10969, ***@***.***> wrote:
I am trying to display point clouds using vsg::points. I found that the
size of the points is in actual units, that is, as the object scales, the
size of the points will also change.
Is there a way to set the size of the points in pixel units? For example,
always display a circle of 3 pixels in size.
—
Reply to this email directly, view it on GitHub
<#1064>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAKEGUGKJFUWLRGD6YLTUJ3YNFRWNAVCNFSM6AAAAABBPTQKZ6VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGAZTKMJRGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
WangZP10969
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to display point clouds using vsg::points. I found that the size of the points is in actual units, that is, as the object scales, the size of the points will also change.
Is there a way to set the size of the points in pixel units? For example, always display a circle of 3 pixels in size.
Beta Was this translation helpful? Give feedback.
All reactions