Modeling the surface of flowing water
-
I am working on a miniature golf course that I would like to have a stream flowing through it. But I don't see a way to model the surface of the water aside from simple pools. I am hoping there is a script out there that can model the physics to see where the water creates ripples.
-
If you make the surface of the stream heavily triangulated (similar to a TIN) then use this script: http://sketchuptips.blogspot.com/search?q=TIN you can get a pretty reasonable water effect. It is quite high poly, though, so will slow your scene down if you need to navigate through it.
The best way to get around the slowness is probably to put the water on a separate layer and then turn it off when you dont need it, i.e. when your modelling.
-
Thanks. I'll give it a try.
-
http://www.xiberpix.net/SqirlzReflect.html
Adds ripples etc to images...
EG: http://www.xiberpix.net/RainRipples.html
-
If you want to use still images than "sqirlz" can create ripples. If you want to have moving water you can do it in LightUp 1.5. It supports animated textures. You can move in real time and save animation.
-
my advice is to use the heightfield generator with some water bumpmap (or displacement map) found on the net.
Link from Didier Bur site (it only reads PPM and PGM images, so I guess you need to find a converter)
http://www.crai.archi.fr/RubyLibraryDepot/Ruby/EM/heightfield_gen.rb -
Randomize TIN looks like it will do the job. It does, however, need more error notifications like "no appropriate selection."
-
@will pittenger said:
Randomize TIN looks like it will do the job. It does, however, need more error notifications like "no appropriate selection."
Yeah, I'm bad about stuff like that. It does help when someone comments, so thanks for that - I'll look at updating the plugin.
-
@jim said:
@will pittenger said:
Randomize TIN looks like it will do the job. It does, however, need more error notifications like "no appropriate selection."
Yeah, I'm bad about stuff like that. It does help when someone comments, so thanks for that - I'll look at updating the plugin.
I figured it out when I examined the code. Until then, I thought I had to select the contents of the group rather than the group itself. Also, read the following:
- All nodes appear to be either up 1" (what I entered), down 1", or left alone. There don't appear be to be nodes with any other changes. As a result, the surface doesn't look as smooth as it could.
- I haven't figured out how to do the transition at the bottom. Not only is the stream something other than a simple rect, but at the bottom, I need it to get slightly steeper for a moment. I plan to simulate a screen there that will divert the ball from the stream to a tube leading to the hole. (The stream will look like a ordinary water hazard, but won't be one.) The ball has to go one way and the "water" another. But the ball won't roll uphill. So I want the bottom to be steep enough that the water goes below the screen and yet the ball can still roll downhill. This might telegraph through to the surface.
Advertisement