- Home /
Draw single point
How I can draw single point? There is a command similar to GL.Lines or other?
Answer by Justin Warner · Apr 19, 2011 at 04:34 PM
A single dot is one dimensional... Therefor you wouldn't be able to see it if you did draw it...
Answer by benfattino · Apr 19, 2011 at 04:42 PM
Excuse me. I have explained myself badly. I have to draw a one pixel wide. Now I'm drawing a point cloud consisting of very short lines with GL.lines (Every point is a line) but over 50.000 point visualization is too much slow.
Use the add comment thing underneath ;). Other people will flame you for doing this haha. But, you need to draw fifty thousand points? Is their a reason? Like, what are you trying to accomplish... Because I'd assume that'd be 50,000 draw calls, or am I reading this wrong and it is 50.000, and not 50 thousand... Lol. Because 50$$anonymous$$ draw calls is... a little expensive...
You want to draw single pixels, right? If GL doesn't provide that, then short 1-pixel-wide lines is what I'd suggest. For speed you could construct it as a mesh, but if they need different colors or whatnot, that's a lot of draw calls. In ga$$anonymous$$g this is not a common need, but in data vis it is. You should vote for this at feedback.unity3d.com
Thanks. I know. It is not usual. It 'an architectural project. And 'normal use clouds with millions of points, but usually you use other programs that do not have the interactive potential of Unity.
Your answer
![](https://koobas.hobune.stream/wayback/20220613123820im_/https://answers.unity.com/themes/thub/images/avi.jpg)