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 /
  • Help Room /
avatar image
0
Question by NPS · Jun 04, 2013 at 07:37 PM · planetriangles

Why built-in Plane has so many tris?

A bit not typical question but it bugs me - why build in Plane object consists of so many triangles instead of just 2? Besides wasting GPU, what's the reason?

Comment
Add comment · Show 4
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 Graham-Dunnett ♦♦ · Jun 04, 2013 at 08:27 PM 0
Share

What bugs me is why the built in plane primitive has so few triangles. With GPUs being so powerful, I really wonder why anyone would make such a puny small asset. ;-)

avatar image Reedex Graham-Dunnett ♦♦ · Jan 09, 2018 at 01:31 PM -1
Share

??? irony or ?..... :)

avatar image NPS · Jun 04, 2013 at 09:34 PM 0
Share

And what exactly did you mean by that?

avatar image robertbu · Jun 05, 2013 at 03:23 AM 0
Share

The CreatePlane editor script form the Wiki allows you to specify the quads and orientation of a plane.

3 Replies

· Add your reply
  • Sort: 
avatar image
3

Answer by Graham-Dunnett · Jun 04, 2013 at 08:32 PM

There's no "industry standard" for the number of triangles in a plane. The one in Unity just happens to be a 10x10 grid, so has 200 triangles. If you need a two-triangle quad, then either create one, use the GL.Quad primitive, or wait for 4.2 which will have a Quad game object to live alongside the plane, sphere, capsule, cylinder, etc. Note that when you do GameObject->Create Other all that happens behind the scenes is an empty game object gets created, and then a model is pulled out of some resources the editor has, and components are added to it. There's no magic.

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 NPS · Jun 04, 2013 at 09:33 PM 0
Share

Why would anyone think there's any magic? Or that anything other than what you wrote happens?

On a different note - yeeeeeah, launching a bigger- Unity-itself just to create something absolutely elementary in (probably) each project is definitely the way to go... Good to know that at least Unity is fixing this shortco$$anonymous$$g.

avatar image ByteSheep · Jun 05, 2013 at 04:30 AM 0
Share

I don't entirely see how this is meant to be something that needs fixing.. If any of the default primitives are not to your liking then you can simply create your own reusable mesh assets.
Unity isn't a modelling program like blender or maya, it's just convenient to have default geometry that you can add to your scene without having to first create it.
The default plane mesh has more triangles than absolutely necessary, but it is useful for when you would like to create cloth simulations, etc.

avatar image NPS · Jun 05, 2013 at 06:41 AM 0
Share

"I don't entirely see how this is meant to be something that needs fixing.." -> " it's just convenient to have default geometry that you can add to your scene without having to first create it"

avatar image
2

Answer by Owen-Reynolds · Jun 04, 2013 at 09:01 PM

Also seems odd that cubes are 1x1x1, spheres are diameter 1, but planes are size 10x10. I assume because planes are typically used for large walls and floors, so new users find it easier. As Graham writes, everyone else will import their own planes.

It's kind of understood that the built-ins are just messing around assets. Even something as obvious as a cube gets replaced with a differently UV-mapped cube to make crates.

A typical messing-around use for planes is to test out vertex deformation shaders -- water and such. I'd say 11x11 verts is about the right size for that.

Comment
Add comment · Show 2 · 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 NPS · Jun 04, 2013 at 09:22 PM 0
Share

Planes being bigger (and hence having more quads) to suggest certain usages actually makes sense. Not that I agree with such motivation (I don't) but it makes sense. Also - without any tools in Unity Editor for vertex deformation anything with more than 1 quad just doesn't make sense. But I didn't think of shaders, so good catch there.

But I really can't agree with built-in things (assets, tools, blocks, whatever) being just for messing around - they should (and usually do) be the basic elements that one can build upon. Or use something ready ins$$anonymous$$d of wasting time creating the cube in a 3D editor...

avatar image Owen-Reynolds · Jun 05, 2013 at 03:12 AM 0
Share

Lots more people know modeling than Unity. $$anonymous$$aking custom basic shapes is no problem. In fact, they probably already have a bunch that work perfectly with Unity.

Spheres can be low-poly, higher-poly, made out of tris (isosphere) or quads. $$anonymous$$odelling programs are much better at making and unwrapping the dozens of types you might need. Some cubes are "die" unwrapped, so you can put a different image on each side. Others are given a bevel, which really should be custom made for different scales (or they stretch funny.)

avatar image
1

Answer by Eric5h5 · Jun 05, 2013 at 03:50 AM

You can get some approximation of spotlights/point lights when using vertex lighting on a plane that has many polygons.

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

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

19 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Planar UV mapping in csharp 0 Answers

How to make a game object bigger or smaller ? 1 Answer

Smooth billboard rotation and srite jitter? 1 Answer

Raycast returns Bad Triangle Index after delete triangles in mesh... 1 Answer

How to get triangle index of meshe's desired part? 0 Answers


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