Draw single point

How I can draw single point? There is a command similar to GL.Lines or other?

2 Answers

2

A single dot is one dimensional... Therefor you wouldn't be able to see it if you did draw it...

http://en.wikipedia.org/wiki/File:Dimension_levels.svg

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.

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 gaming 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.