为了正常的体验网站,请在浏览器设置里面开启Javascript功能!

河流和公路RoadPathTool使用教程文档

2018-09-11 3页 doc 75KB 56阅读

用户头像

is_232014

暂无简介

举报
河流和公路RoadPathTool使用教程文档Road/Path Tool Overview The Road/Path 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...
河流和公路RoadPathTool使用教程文档
Road/Path Tool Overview The Road/Path 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 Road/Path Tool requires Unity 3.x Installation instructions Unzip and import "PublicRoadPathTool.unitypackage" into your project. If no package exists, just unzip and copy the folder directly into your assets folder. Usage First, drag "PathScript.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 road at this position and then move the terrain and road mesh back to the original, offset, location. *IMPORTANT TIP: After finalizing, delete the script attached to your new path 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 Road/Path Tool has a few basic functions: 1. New Path - Creates a new path object 1. Click "New Path" to create a new path Game Object - 'Path' - and select it. 2. Click "Add Path Node". Give the editor window focus (right click) and find an appropriate node position with your mouse. Press 'p' on your keyboard to add a node at that location. 3. Continue adding nodes and changing parameters until you are satisfied with your path. 4. Click "Finalize Path" to finish the path and deform the terrain. *You cannot add nodes after finalizing* 5. Click "Smooth Path" to smooth the terrain local to the path. This is available after you finalize. 6. Click "Smooth Path Slope" to smooth the terrain leading into the path. This is available after you finalize. Parameters The Road/Path Tool has a few parameters that define the type of path to create: 1. "Road" - This check box defines whether or not the path created will be a mesh or a texture. A road will create a mesh. 2. "Path Width" - This is the width of the path. 3. "Texture Prototype" - This is the texture prototype number (from you terrain textures list) to use. *Remember, these start at 0 so if you have 2 terrain textures they are textures 0 and 1 4. "Uniform Texture" - This check box defines whether or not you want the path texture to be uniformly distributed or not. 5. "Wear" - If you choose not to have a uniform texture, wear is the amount of fade placed on the texture. The higher the wear, the more worn the path will be 6. "Flat" - This forces your path to be flat and deforms the terrain in order to do so. 7. "Mesh Smoothing" - This is the step number of interpolation points - sort of like a level of detail Tips · A material is included that uses an Offset to bring the texture above the terrain when viewed from far distances where the terrain's LOD changes. · If you have a terrain issue with the very beginning or very end of your road, use the built-in terrain tools to lower the terrain and then change the Mesh Smoothing slider to refresh the mesh · If you get an "Invalid Texture Prototype" message, it means you entered a texture ID outside of the bounds of your terrain's textures.
/
本文档为【河流和公路RoadPathTool使用教程文档】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。 本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。 网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。

历史搜索

    清空历史搜索