Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 Rafes · Jul 27, 2011 at 09:44 PM · linerangecircledrawicon

Drawing a Range Icon in 3D Space

This is bigger than just range icon's but that is what I'm after and hopefully a visual people understand here.

There have been quite a few questions and answers scattered around the forums and here but I'm looking for a deeper more complete, final answer.

  • I do not want to flatten a sphere because it creates a lot of extra geometry (the more round you want it the more 'sides' it needs.)

  • I am trying to avoid using a texture on a 2-tri plane because my range icon may render larger than the screen and I would have to settle for either a huge image or a blurry edge. Also, I may want to animate it like a radar read-out (you know the classic circle with a line rotating with a fading trail)

  • I have seen answers which re-direct to Mesh, and I am no apposed to generating something with a lot less geometry than a sphere, but again, to make it look like a smooth arc, I need a lot of 'sides'.

  • Projectors create a lot of draw calls and are still textures, so share the same problem regarding resolution

I have read hints of deeper techniques. So what other options are there to draw (literally) a nice smooth sphere icon that ideally projects on to an uneven terrain.

This blog is interesting and right online with this question: http://www.everyday3d.com/blog/index.php/2010/03/15/3-ways-to-draw-3d-lines-in-unity3d/

Comment
Add comment · Show 2
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 Rafes · Jul 27, 2011 at 09:46 PM 0
Share

It looks like this Wiki page was designed to get to the heart of this: http://www.andrewnoske.com/wiki/index.php?title=Unity_-_Drawing_Lines

avatar image HappyMoo · Jan 02, 2014 at 10:43 PM 0
Share

I don't get what you want to draw.... only that it's round and could be scaled larger than the screen.

Can you go into more detail?

Also, there's at least one option you didn't mention: 2-tri-plane with the fragment shader rendering a smoth circle at every resolution.

0 Replies

· Add your reply
  • Sort: 

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

how can i animate line between object 1 Answer

How to write a script to destroy enemy once player circles around 1 Answer

How to limit Cannon shooting for certain range in unity 2d ? 0 Answers

Draw a line in Game View? 5 Answers

What is the easiest way to draw a line? 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