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

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Easy way to convert a bunch of vertices to triangles or uv's? 1 Answer

Procedural cube code 0 Answers

Procedural Mesh Generation - Split Arrays into sections 1 Answer

Updating mesh.vertices or mesh.colors slow on iOs. 0 Answers

Mesh extrusion overlapping triangles problem 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges