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 /
avatar image
1
Question by Leo 2 · Mar 26, 2011 at 12:37 AM · morphclouds

3d Cloud Morphingng

Hello:

I would like to know how to do cloud morphing. For example, morph the cloud from a random type into some shape such as pen or dog.

Don't know how to search this properly using keyboards. Would appreciate if anyone can guide me some directions.

Thanks

Comment
Add comment
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

3 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by loopyllama · Mar 26, 2011 at 06:58 AM

You will have to animate vertices via script.

Here is a c sharp version from the community: http://www.unifycommunity.com/wiki/index.php?title=MorphTargets

Here is a javascript version from the community: http://www.unifycommunity.com/wiki/index.php?title=MeshMorpher

For your example you would need a cloud with a known number of vertices, let's say it has 542 vertices. If you would like to morph the cloud mesh to, let's say, a pen mesh, then pen mesh would have to have the same number of vertices as the cloud, since you are moving all the vertices from one object into the position of the vertices of another mesh. You will have to average your normals on import because the vertice count will increase in order to store hard-edged normals. I haven't used these scripts but I suspect if your shapes are wildly different you will run into a lot of problems. For instance a sphere will not morph into the eiffel tower or into a car. The triangles will stretch and normals will be flipped. On the other end of the spectrum a cube will morph very well into a rectangular box.

In my opinion, simple morphing clouds into various shapes will prove cumbersome, error-prone, and the results will most likely be lackluster.

That said, you will find great success doing simple model swaps. Make a cloud object. Make a separate pen object. Enable the cloud in unity and disable the pen. At the time of "morphing", set the position and rotation of the pen to the position and rotation of the cloud, then disable the cloud and enable the pen. You can even play a sound and spawn some particles to easy the visual switch on the eye. You could even add a cute little scaling animation on the pen, like it is bouncing into existence.

Good luck!

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 Leo 2 · Mar 28, 2011 at 11:45 AM 0
Share

I have tried the $$anonymous$$esh$$anonymous$$orpher approach. The problem with that is the source and destination should have the same vertex count!! I am not a 3d modeler so I don't know how to do that in 3d max or maya. $$anonymous$$aybe we can use script to subdivide the vertex?

avatar image loopyllama · Mar 28, 2011 at 01:27 PM 1
Share

Take your cloud mesh and move the verts around in max, then export. With smoothed normals it will have the same vertex count. I hate to be blunt, but if you cannot get 2 models with the same vertex count in 3ds max, this problem is too big for you too handle.

avatar image
0

Answer by SrBilyon · Mar 26, 2011 at 12:55 AM

Nice question. I'm doing a game using 3D clouds. I had to animate my clouds in my 3D package and then import them into Unity. There may be another way, but as far as I know, you will have to animate them your self.

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
avatar image
0

Answer by SpookyCat · Jun 06, 2011 at 06:17 PM

The MegaFiers system for Unity has good morphing support, as well as a whole load of other mesh animation systems built in. http://forum.unity3d.com/threads/89750-Mega-Fiers.-A-mesh-deformation-system-RELEASE

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

1 Person is following this question.

avatar image

Related Questions

Using the MorphTargets script with a SkinnedMeshRenderer? 2 Answers

Is a way to Morph similar object and record it? 1 Answer

Unisky weird clouds 0 Answers

Character Body & Attaching Head that has Morphs 1 Answer

Deformation Maps Possible? 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