x


Is it possible to subdivide mesh with catmull-clark inside Unity?

Hello.

Im doing sort of a model viewer.

Couldn't you help me to implement catmull-clark subdivision for my unity instantiated meshes, like in 3d editors.

Thank you!

more ▼

asked Dec 17 '10 at 01:08 AM

Newbie gravatar image

Newbie
13 3 3 7

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

Mesh subdivision is generally non-trivial. However, you can access mesh data directly in Unity via the Mesh class, so you can do just about whatever you want with a given mesh.

How to implement the subdivision scheme isn't really a Unity-specific issue. How to access the mesh data is of course Unity-specific, and for that I'd recommend checking the docs for the Mesh class, and maybe also looking at the procedural mesh examples that are available on the Unity site.

more ▼

answered Dec 17 '10 at 02:20 AM

Jesse Anders gravatar image

Jesse Anders
7.3k 7 17 48

Thank you! I know how Mesh class works, and found algo too: http://rosettacode.org/wiki/Catmull%E2%80%93Clark_subdivision_surface

Just wanted to ask, can anyone else has this already? Because if I do it myself, I'm afraid it will be far from perfect.

Dec 17 '10 at 02:35 AM Newbie
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1355
x8

asked: Dec 17 '10 at 01:08 AM

Seen: 1383 times

Last Updated: Dec 17 '10 at 01:08 AM