River Tool

Overview
The River Tool was developed by Chris Morris for an upcoming Six Times Nothing game, Dawn Of The Tyrant, and adapted for public use.
For the latest news on updates for this tool or other Six Times Nothing projects, follow: @_chris_morris on Twitter.
Requirements
The River Tool requires Unity 3.x
Watch the Tutorial Video
Installation instructions
Unzip and import "PublicRiverTool.unitypackage" into your project. If no package exists, just unzip and copy the folder directly into your assets folder.
Usage

First, drag "WaterToolScript.cs" onto your terrain object.
*Note: The terrain object's position needs to be at (0, 0, 0). If you need to you can create the river at this position and then move the terrain and river mesh back to the original, offset, location.
*IMPORTANT TIP: After finalizing, delete the script attached to your new river game object to avoid accidentally deleting your mesh. If you close out of Unity (thus deleting local variables), open it back up and try to edit your finalized river, it will be deleted.
The River Tool has one basic function.
- New River - Creates a new river object
- Click "New River" to create a new river Game Object - 'River' - and select it.
- Click "Add River Node". Give the editor window focus (right click) and find an appropriate node position with your mouse. Press 'r' on your keyboard to add a node at that location.
- Continue adding nodes and changing parameters until you are satisfied with your river.
- Click "Finalize River" to finish the river and deform the terrain. *You cannot add nodes after finalizing*
- Click "Smooth River" to smooth the terrain at the river's edge to your liking. This is available after you finalize.
- If the river's edge is protruding, click "Close River" to correct. This is available after you finalize.
Parameters
The River Tool has four parameters that are updated procedurally.
- "Riverbed Texture Prototype" - This is the texture prototype (from the terrain's texture list) to use for the riverbed. *Remember, starts at 0*
- "River Width" - This is the width of the river.
- "River Depth" - This is the depth at which the river is dug. *note: The terrain will not deform below height 0
- "Mesh Smooth" - This is the number of steps used in the spline calculations. Change this to suit your triangle/UV needs.
Tips
- To create a nice looking river, you should try to choose nodes that avoid uphill regions. The tool will force the river downhill and create valleys, but big valleys don't look very good.
- Finalize the river with a high "River Smooth" for the best results.
- Use Unity's built-in terrain tools to Raise/Lower terrain to adjust and smooth further.
- If you are creating a river on rocky, jagged terrain, set a deeper depth to get good definition.
- If you are getting bare spots in your river, set a higher depth
RiverTool是一款由Chris Morris开发的用于Unity3.x的游戏开发工具,适用于SixTimesNothing项目的DawnOfTheTyrant。该工具提供了一系列功能,如创建新河流、添加节点、调整参数等,帮助开发者轻松构建复杂的河流地形。为了最佳效果,建议在最终化河流时使用高“RiverSmooth”参数,并利用Unity内置地形工具进行进一步调整。通过合理选择节点位置和参数设置,开发者可以创建出美观且符合自然规律的河流。
1193

被折叠的 条评论
为什么被折叠?



