Jump to content

Why is the reiver mesh not aligning with ther spline and terrain ?


MoonBeam
Go to solution Solved by Clyde,

Recommended Posts

I'm having the same issue.  I have deleted the spline several times and recreated it.  I'm getting the same issue with the mesh being much higher in this one section of the terrain.

High Mesh 1.jpg

High Mesh 2.jpg

Link to comment
Share on other sites

So its the start depth what can cause this. 
Normally you would want to use the carve extension to lower the terrain. 
Creating a flat area of the terrain and putting water on that would be difficult as you are experiencing. 
Then raising and lowering the Start depth would help put it into place, until you found that look you are trying to achieve. 
 

Link to comment
Share on other sites

I'm doing that.  But after I hit carve, the river is still above the tree lines.  It's happening wherever the mountains meet the ground.  I've tried this is several areas and cannot seem to get this are level to the ground. 

Carve.jpg

Link to comment
Share on other sites

I also tried changing the layer to Terrain from PW_Large_Object and adding the spline to the same layer.  No luck.  Maybe I'm missing a small step somewhere.

Link to comment
Share on other sites

  • Solution

I will attach a picture to try to explain how the river creation algorithm looks at terrain.

 

image.thumb.png.f95087fb601884cdfa7fd4178199c7b0.png

 

The spline is only used as a suggestion other than the X,Z coordinates.  The river will always flow downhill.  When finding a "High Point" the algorithm backfills to keep the water near level (going downhill somewhat always).

When having a problem, check to see if you have higher points farther down the river.

Also, there are parameters that control the flow depth, but that doesn't seem to be your problem.

Link to comment
Share on other sites

Note: You can use the back filling behavior to your advantage to create ponds and lakes.

 

The following image is of a partially created scene with a lake, dam, and later a river flowing from the bottom of the dam.  There are only 2 nodes/points in the spline used for the lake.  One at the far end, and one placed high on the back of the dam.  The damn is slightly slanted so that a node can be placed on its back. The node on the back of the dam is ever so slightly lower than the node at the far end to keep the lake almost level.

This lake was created by this same tool used to create rivers.

image.thumb.png.4fc5c141bfa96d39f3440354d8b70248.png

 

See this post for more information on using the river tool: (scroll up in the post for more info):

 

 

Link to comment
Share on other sites

  • 10 months later...
On 9/17/2022 at 5:02 PM, Clyde said:

I will attach a picture to try to explain how the river creation algorithm looks at terrain.

 

image.thumb.png.f95087fb601884cdfa7fd4178199c7b0.png

 

The spline is only used as a suggestion other than the X,Z coordinates.  The river will always flow downhill.  When finding a "High Point" the algorithm backfills to keep the water near level (going downhill somewhat always).

When having a problem, check to see if you have higher points farther down the river.

Also, there are parameters that control the flow depth, but that doesn't seem to be your problem.

 

Was just banging my head against the wall with this issue and this cleared it up nicely.

 

Is there a way to do a sort of "absolute carve" rather than a relative carve, so that after carving, the "high point" will be at the same gentle downward slope as the rest of the spline? Relative carve means the high point will always be higher 🤔

Link to comment
Share on other sites

I'm guessing double-posting is just the way of the world here, because posts become uneditable within something like 5 minutes, so I cannot add additional info without just making a new comment...

For future searchers: My effective workaround to getting the high point to come down, is that you can manually drag the spline nodes on the Y axis 'downward' deeper into the terrain--this forces a deeper carve at those nodes, which is close enough to what we want and gives the river the downhill slope it craves.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Tell a friend

    Love Canopy - Procedural Worlds? Tell a friend!
  • Need help?

    We work with some of the biggest brands in global gaming, automotive, technology, and government to create environments, games, simulations, and product launches for desktop, mobile, and VR.

    Our unique expertise and technology enable us to deliver solutions that look and run better at a fraction of the time and cost of a typical project.

    Check out some of our non-NDA work in the Gallery, and then Contact Us to accelerate your next project!

×
×
  • Create New...