Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by benfattino · Apr 19, 2011 at 04:02 PM · pointdraw

Draw single point

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

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

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

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0
Best Answer

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.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Justin Warner · Apr 19, 2011 at 04:57 PM 0
Share

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

avatar image DaveA · Apr 19, 2011 at 05:15 PM 0
Share

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

avatar image benfattino · Apr 19, 2011 at 08:33 PM 0
Share

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

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Draw line from one point to another using mouse 0 Answers

Draw point with time function 1 Answer

How to check if you draw/outline a symblol by its contour? 2 Answers

Pie graph with more than 2 different variables? 2 Answers

Can I choose not to render/draw an object? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges