Jump to content

[SOLVED] river/lake tutorial


photo

Recommended Posts

Would be possible to add some sample for river and lake water mesh? No matter which settings I use, it does not look like water at all. I tried same parametres like for ocean, but without any success. Are there any prerequirments for water mesh (number of subdivisions, scaling etc...).?

Link to comment
  • 1 month later...

release log: A new Mesh-to-Water script, translating a mesh into the WaterMesh object, has been added: source/tools/Interpreter/scripts/world/mesh_to_water.usc. A field mask can be set to water by the -f command line instruction.

 

What is this script good for? It should be used for all water/river meshes, or only in same cases?

Link to comment

Typical steps for the creation of lakes:

  • create a plane object of your lake or river in 3D editor (XY plane with Z = 0)
  • create UV set for its plane
  • export the lake object into a mesh file
  • create WaterMesh object and select the mesh file
  • move the WaterMesh object to dislocation of your lake
  • create a material inhereted from water_base material
  • assign the material to both surface and volume survaces of the WaterMesh object
  • enable Dynamical state in the water material for dynamical reflection
  • set reflection mask in Reflecion parameters of the material and than adjust this mask in surfaces of scene objects for reflection

The Mesh-to-Water script is created for automation of coverting meshes to WaterMesh nodes. We used it for our project to convert thousands of lakes meshes into the nodes. To run the script use comand line:

usc_x64.exe mesh_to_water.usc -v 15000 -m lakes_water_surface lake.mesh

-v visible distance

-m lake material name

   
Link to comment
×
×
  • Create New...