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
0
Question by fronzu · Jun 14, 2017 at 07:17 AM · physicsvrparticleswaterrealistic

How to create real water?

Hi!

I saw that the easyest way to insert water in a scene is to use a water prefab, which by no means is not "real" water, in the sense that it doesn't adapt to the surface and it does not drain if there is a hole in its container, for example. Basically, it is just a plain object with a water animation on it.

But what if I'd like to create a lake filled with water? What if I'd like to drain the water from a container? Do I have to use particles?

And last question: would "real" water be too much expensive to use with Gear VR?

Thanks in advance and have a nice day!

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

5 Replies

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

Answer by Bunny83 · Jun 14, 2017 at 11:08 AM

"Real" water can't be created by computers since "real" water constists of molecules. Computers can only simulate water which behaves more or less "realistic". Even a pure scenentific simulation can't simulate realistic water. In one single liter of water (at about 4°C) there are about 33427699139605883985567583 water molecules which are interacting with each other. There is no way you could simulate the behaviour of real water.

Most scientific simulations have to do massive simplifications by working with much larger molecules. Have a look at this video. Those are top level simulations but they still have edge cases which do not resemble real water behaviour. They mostly use about 1 million particles for a very limited amount / space.

Creating a water simulation that does flow / spread realistically requires an enourmous amount of computational power. Those simulations in the video will most likely max out the processing power of the PC.

Games always use extreme simplifications or simply create the illusion of real water behaviour. For example if you open a valve, you know that you opened the valve so you can enable a fake flow from the valve and at the same time reduce the water level in the container.

All those examples here are pure fake water simulations. Almost no game uses real particles to simulate water flow. One game that does is: Minecraft. However since minecraft has a quite "large" grid the simulation is very basic. In the alpha version water did flow / spread infinite distances.

This is how realistic water simulation looks in the unreal engine. As you can see it does use huge particles (size of a tennis ball i would guess) and it's far, far from looking realistic. It looks quite nice for an out-of-the-box solution but no where near realistic.

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 fronzu · Jun 14, 2017 at 02:09 PM 0
Share

Fantastic explanation, thank you very much!

avatar image Vollmondum · Jul 10, 2017 at 07:09 AM 0
Share

Too bad most of that water isn't good for ga$$anonymous$$g, will take all resource.

avatar image
1

Answer by henry_jvx · Jun 14, 2017 at 07:58 AM

basically, all fluids in the games are simulated by particles and animated surfaces with realistic materials ( water, blood, lakes, rivers). because creating realistic fluids is too expensive. in 3d design programs like 3ds or blender it is posible by creating a detailed geometry and the moviment is calculated by physics system, vertex per vertex, so it is a heavy process, and, if you do it in a game, it will run in seconds per frames instead of frames per seconds.

Comment
Add comment · Show 1 · 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 fronzu · Jun 14, 2017 at 09:03 AM 0
Share

Thank you for the answer!

Real water is used in PC games, so I assume a modern PC can support and calculate it in real time. However I guess it is really too expensive to manage a so large particle system with mobile devices sigh.

avatar image
1

Answer by NogeGames · Jun 14, 2017 at 09:20 AM

I don't think Unity or actual computers are capable of creating real water, which is a shame... Only Jesus could do something like that. Now that summer is coming, it would be very useful to have some water to drink while working on the computer without having to get up :(

Good luck on your research!

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 Px0en1cs · Jul 10, 2017 at 07:01 AM

If you need 2D realistic water engine, it may help you - http://u3d.as/Snm

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 sewellza9 · Jul 10, 2017 at 07:26 PM

You take two particles of hydrogen and one particle of oxygen and if you clap hard enough it might just happen.

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

131 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 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 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 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 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 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 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

Liquid Particle Physics Rendering 1 Answer

How to do particle collision 2 Answers

Elementes like in "from dust" 1 Answer

How to stop seeing through a wall in VR? 0 Answers

Particle collisions without physics force 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