Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

asylum101

water drolets in space?

This topic is 6253 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hello all i was wondering if anyone knows an algorythm for simulating the rotation of a liquid in 0 gravity or a link to a tutorial that could help me out. and also was thinking of rotation around all three object space axis trying to spin a sphere of "water" till it flattens and breaks into several more "water" droplets of diferant sizes.

Share this post


Link to post
Share on other sites
Advertisement
Sounds like a neat effect. I wonder though, how you''d go about getting a water droplet spinning in the first place...? (Not programmatically, but in real life.)

The whole thing would be very dependent on the radius of the droplet...

Also, as it spreads out (even w/out losing any mass), it''s rotational inertia increases so it''s angular speed would decrease (conservation of angular momentum).

Tricky. This definitely sounds like one of those cases where, if it''s for a game, to just fake it.

Share this post


Link to post
Share on other sites
well the algorythm its self would be for a procedural universe builder. the way i figure it large bodies of spinning gas (when a solar system forms) would behave alot like a water droplet spinning in 0 g''s and seems to me as a good way to simulate the distribution of stellar mass
as for the spinning, all objects with large amounts of inherent gravity spin so i wasnt concerned with how/why the "water" was spinning just that it is or isnt
=D

Share this post


Link to post
Share on other sites
Use metaballs.

Let each vertex then be controlled as a part of the mass.
This will make it easier to simulate rippling and crops.

If the rotation is uniform and the fluid ball is statinary,
there will be no changes to the surface except for some internal pressure expansion.

If the rotation accelerates, there will be inertial changes to the surface which would cause the droplet to throw chunks of its mass.

If the spin of the droplet is great enough, any changes whatsoever will make the droplet instable and make it ''explode''.




The Game Industry
OpenGL/OpenAL/OpenNL

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!