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
1
Question by Dan the Man · Jun 06, 2011 at 05:23 PM · meshproceduralvertices

Subdivide mesh?

Is it possible to subdivide a mesh to get more vertices?
possibly with the mesh class?

Edit:
Is there a way to create vertices?

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 Muzz5 · Jun 06, 2011 at 05:40 PM 0
Share

What's your project? Just wondering, cos you're asking a lot of mesh questions.

avatar image Dan the Man · Jun 06, 2011 at 05:54 PM 0
Share

ocean waves ;)

2 Replies

· Add your reply
  • Sort: 
avatar image
-2
Best Answer

Answer by testure · Jun 06, 2011 at 05:47 PM

You can do just about anything you want if you use the mesh class

Comment
Add comment · Show 4 · 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 Dan the Man · Jun 06, 2011 at 06:12 PM 0
Share

i thought so...

avatar image testure · Jun 06, 2011 at 06:16 PM 0
Share

subdividing is actually relatively simple, it's just tesselation basically- if you're wanting to do SDS style smoothing, then you'll need to look into catmull-clark, or some other algorithm along those lines

avatar image Dan the Man · Jun 06, 2011 at 10:18 PM 0
Share

sweet. do you have any code?

avatar image testure · Jun 06, 2011 at 10:39 PM 0
Share

http://rosettacode.org/wiki/Catmull%E2%80%93Clark_subdivision_surface

avatar image
1

Answer by Fehr · Mar 22, 2019 at 11:24 AM

I know this is an old post, but I didn't find the accepted answer very useful.

There's now a library that achieves what the poster is asking for on the Unity Community Wiki, and an article that puts it into a simple MonoBehaviour wrapping layer.

Hopefully these links help someone looking for this answer in future.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Generate mesh from raycast positions, independent of rotations 0 Answers

Do I need to split my mesh up to properly UV texture it? 1 Answer

How do you scale a sphere or object by 2x using Mesh.vertices 2 Answers

MeshCollider is not getting updated when adding vertex to mesh 1 Answer

Easy way to convert a bunch of vertices to triangles or uv's? 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