Unity terrain script
The Import Height dialog appears. com Best education. Delete unused Update methods in scripts In your scripts, neverThe Unity terrain is textured according to the UV coordinates. Select your Terrain and click the Gear button in your Terrain script in the Inspector. asset “, and you’ll have to find the splatmap inside – it’s usually the only child object. Get the terra Visual Scripting package from mezanix and speed up your game development process. In writing this script I learned about EditorWindows: using a script to create something outside of the game 27 jui. cantodepajaros. Unity is a game engine and integrated development environment used by millions of developers to bring games to Android, iOS, Windows, consoles, and many more platforms. Creating landscapes for your interactive experiences can be difficult. Dec 25, 2010 · Procedural generated mesh in Unity. In the Editor, you can create multiple Gets the gradient of the terrain at point (x,y). With this you can create virtually . raw format. Jun 10, 2021 · Unity: Scene Manager-Switch Levels Learn how to change levels/scenes (scene transition). With all you need about innformations, prices for Unity Terrain Script | Rent a car, house, games, book, everything you want quickly and Unity Terrain Scriptat GlobalRental. To apply to the imported landscape mesh to the terrain object in Unity, use the Object2Terrain. Make sure the Enable Preview Packages option is checked. Click on the cube1. - Then we use InputStream. 35MB - 06:56 Unity How To SaveIn this video you will learn how to save player data using. This new feature was awesome but needed some important tooling to help streamline the creation of large terrains requiring many tiles and manage existing scenes with multiple terrain tiles. A voxel is basically a point in space, often arranged in a grid. You can apply different types of perlin noise to get higher peaks, smoother terrain and more experiment with the values. Select this option that says raise lower terrain. EasyRoads3D Pro Версия: 3. Unity3D Quad-tree planet script with terrain generation, LOD levels, and resource placement terrain-generation planet unity3d lod-levels Updated Oct 6, 2020 Aug 26, 2019 · I enjoyed watchingUnity - Scripting API: Terrain. co 1/27/2022 admin Sep 06, 2021 · Unity Plus, Pro and Enterprise subscription plans all include the core Unity real-time development platform, continuous updates, beta access, and more - all royalty-free. Unity Script Collection. For Unity 5 lighting take a look at the Unity 5 Lighting Cookbook. Select the settings gear in the top right, then select Advanced Project Settings. transform have three methods for changingLet's prepare a simple scene in unity for this article. Its just a bare bones implementation and is not particularly optimized in any way. png or . brushTexture, editContext Editor-only function that Unity calls when the script is loaded or a value changes in the Inspector. will the changes done by script change the terrain for ever or till the end of the current game? gilley033 · May 03 I am trying to paint a terrain via C# script. By using this script, you can easily convert (. 1901 NW Blue Parkway. TerrainData:GetAlphamaps(Int32, Int32, Int32, Int32)” the first number (824) is my pos Z and the last one (512) is one of my map dimensions. 2017 284K subscribers in the Unity3D community. Add a map to your scene. Unity is a popular platform for creating 2D and 3D games for desktop, mobile, and consoles. A lot of games these days are A naive approach of texturing the Terrain would be to treat it like another asset in your scene. Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers. Details: An approximation of how many pixels the terrainUnity - Scripting API: Terrain. Here we have my terrain generator made in Unity. Mar 04, 2021 · 6, Unity 2017 and Unity 2018 Integrates well with various terrain systems using the Unity terrain Object, like: Gaia, Terrain Composer, Landscape Builder, Real World terrain Direct built-in support for Vegetation Studio and Vegetation Studio Pro for automatically removing grass, plants and trees near roads. 5 déc. Unity - Scripting API: Terrain. In anticipation of the start of the course, we have prepared a translation of interesting material on the topic. Collections; using UnityEngine; public class TerrainGenerator : MonoBehaviour { // The Unity Terrain Toolkit from the Unity Summer of Code 2009 All code by Sándor Moldán, except where noted. May 09, 2021 · A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate in the Unity community. Assign your new Bumped Specular material. Designer. Unity Convention. They are evenly distributed on the X-Z plane. Create a new C# script called SideTerrain , add it to that GameObject , replace that C#' script's contents with the following, and save the file: Let's have a look at the new Terrain System in Unity! Learn more: https://ole. Go to Assets and double click on "SampleScene". The custom material Unity uses to render the Terrain. Unity Tutorial Sounds - Unity 3D How to create a terrain, add trees and grass Easy to follow tutorial Convert Any Mesh To Unity Terrain. This script will handle all the behaviors that result from a collision with any of the pickups. In this lesson, we will write code that makes a gameObject move up, down, left and right based on the user’s input. Heightmaps are an ideal way to store digital terrain elevations; compared to a regular polygonal mesh, they require substantially less memory for a given level of detail. The Terrain component renders the terrain. Unity Tree Editor is an editor script 25 oct. Click on the “Play” button. Infinite Terrain Generation in Unity 3D - code-phi. sh/brackeys11This video is based on this greatwritten tutorial by Catlike Coding: https:/ Jan 19, 2021 · Increase the brush size and make sure you select the grass this grass. It is used as a faster version of treeInstances [index] as this function doesn't create the entire tree instances array. Static Variables. The Instantiate method returns a reference to the gameobject spawned ingame, so if you later want to access it, you can use that reference. RAW images in the right format to be used as Heightmaps in Unity. The unity project is a implementation of the algorithm Marching Cubes for the generation of a voxel engine for generate a random and infinite terrain. normalmapTexture, Returns the normal map texture computed from sampling the heightmap. Name it (something descriptive, like “PlayerPlane” or something). Collections; using System. EasyRoads3D is a marker based road and river creation editor tool for Unity. More on procedural generation: Sebastian Lague: http://bit. Details: Unity is the ultimate game development platform. Unity World Headquarters. Here we discuss the introduction and steps to create Script with examples for better understanding. Oct 16, 2021 · About To Direction Unity Rotation . Over 11,000 five-star assets. You can access the navigation systemnew Terrain System in Unity! ○ Learn more: ole. On platforms where there is no fixed function Fog functionality, Unity will patch shaders A small script that contains the mathematical calculations and algorithms for calculating the Color of each pixel rendered, based on the lighting input Oct 29, 2020 · But what I'm currently stuck on is getting the terrain to render the proper texture/shader depending on the applied "ground type" at a coordinate (eg. Unity 2018. Use less terrain grass / details on Unity terrain Each additional grass texture consumes memory, rendering and culling overhead. I’m going to start with the later. – Supports Standard Rendering, URP and HDRP. Tutorials; Unity3D: Mobile Game Development From Unity to App Store Props scripting Skillshare Sound FX Systems Templates Terrain tools Udemy Unity tutorial. 2013 How to use it: Unity Main Menu-> Dvornik-> Terrain-> Split Terrain. SetNeighbors will not connect the mesh, only account for different levels of detail done by Unity. Assets are ready to use in Blender, Maya and in other rendering engine or software. Unity is in the process of evaluating the future of visual scripting in consideration of Bolt, Bolt 2, and our DOTS-based visual scripting solution. To get started, we need to go to the The first thing we need affects our terrain, so you can use your wheel on the map and the mouse wheel toUnity Terrain Script Guide! making terrain in unity manual pdf, getting started introduction, how to use, help tech. Jul 15, 2020 · Drag the default mesh from the terrain OBJ file, and drop it on the Unity terrain. Applications. We will write a script that will split the level to segments. In this tutorial, you will learn how to create and customize a terrain using specific tools and techniques, ranging from shaping the landscape, adding trees, and using brushes to enhance your terrain with Jan 19, 2021 · Increase the brush size and make sure you select the grass this grass. Sample Scene will be displayed. ScreenToWorldPoint(new Vector3(Input. This update features improved tools and performance by taking better advantage of the GPU. Listing Of Websites About unity terrain script. Unity Terrain Script Report! find details report, analysis with data realtime. Unity terrain script. Sprites always face the camera at a perpendicular angle unless rotated in 3D space. 7. But in Unity, the terrain collider is generated from heightmap data: it's essentially one giant bumpy plane. Net into a format that Unity understands. Unity keeps telling me "Texture rectangle is out of bounds (824 + 1 > 512) UnityEngine. A Terrain GameObject adds a large flat plane to your scene and you can use the Terrain’s Inspector window to create a detailed landscape. 5 units for TargetRadius and 70 degrees for LaunchAngle are good initial values for the parameters. Back in Unity, create a new Terrain object (GameObject->3D Object->Terrain) Select the Terrain Settings. What that means in practice is that every time you reference renderDistance, you divide it by 2. Windows. Terrain generation is back, now in Unity. Apr 26, 2017 · Open the script in blender and hit "run script" only then you can select the operator via the "Spacebar"-Menu. Unity is a great framework to build 2D and 3D games. Now let's change the TileGeneration script to use those terrain types 25 jan. Make the object clickable as in it should be registered when we click the mouse on it: OnMouseDown () The object should follow the mouse pointer with some or no offset: OnMouseDrag () We don’t need any script for 1st step. Reset: Reset to default values. Since then, Unity 5. loadingaero. May 03, 2021 · RaycastHit is a data type in Unity that Just like getting the mouse position on the Terrain, mapping the mouse against any Game Object involves. Apr 26, 2011 · Let's now use Unity's built in functions to script additional behavior for when this collision is detected. 1st step: Draw you terrain in unity. Sep 22, 2015 · functions // Unity3d. Ministry Supplies. Aug 05, 2021 · About script flight Unity simulator. In writing this script I learned about EditorWindows: using a script to create something outside of the gameTerrain deformation script. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. With your Terrain selected in the Hierarchy, click the Edit Terrain Layers button again. This script is an operator. Oct 13, 2021 · Unity Shaders and Effects Cookbook is the first of its kind to bring you the secrets of creating Shaders for Unity3D—guiding you through the process of understanding vectors, how lighting is constructed with them, and also how textures are used to create complex effects without the heavy math. Unity 3D has lots of built-in functionality for terrains but the Terrain Toolkit really takes it to the next level. A bit of math is used to find all the heightmap and alphamap position within the area of the impact circle. com you can easily create terrains for games in Unity (game engine). This method recomputes all the LOD and vegetation information for the terrain on each call, which can be computationally expensive. SetNeighbors) with a simple 1 index width height fix on all of the sides of each Terrain (TerrainData. So I will show how to convert terrain into an OBJ file and upload it to STYLY by using a free function called 'TerrainObjExporter'. 4. A heigthfield volume layer named mask with 0 values, unless the Unity terrain contains a TerrainLayer named mask, in which case its splatmap values are used. Unity Tutorial: How to bring in real world terrain into a Unity project using World Controller. Industrial. In interactive editing scenarios, it may be better to call TerrainData. Unity3D - Scriptable Object Inventory System | Part 1. As you can see, in my code below, I have hardcoded the width and height of the terrain. SetConnectivityDirty, Marks the current connectivity status as invalid. Essentials. com/TerrainTools Terrain Samples: https://bit. Creating the PlayerController Script. The mouse pointer works in a Screen Space which is a 2D space defined in pixels whereas Dec 25, 2010 · Procedural generated mesh in Unity. This code will let us launch our script from the newly made menu Split -> Split Terrain. unity3d. Blender Python Script split_terrain_2. Then drag and drop the script to the left toolbar. Rentals. Unity Tree Editor. News, Help, Resources, and Conversation. Now your selected terrain is splitted into 4 parts with 27 jan. Making a simple Editor Script. Select and double click the Scripts folder. 5, Create a new C# script and name it “TerrainGenerator“. 16 jan. . In this tutorial, we will see smooth camera follow in unity 3d. Short speech about education is the key to success. 5 to improve two aspects of theRaycastHit, in Unity, is a structured data object that is returned when a ray hits an object during a raycast. 1. Listing Results about Unity Terrain Script Guide. Top docs. It will not only create the terrain but also ground textures, grass and trees. If you pick empty, make sure you give it a model). 3 ! Type in the following script: This script updates the Y rotation angle of the game object it is attached to (the monolith) every time Unity renders a new frame. Add-Ons. Now any textures you add with normal maps will look all bumpy. x, 2018. Generic; Unity is in the process of evaluating the future of visual scripting in consideration of Bolt, Bolt 2, and our DOTS-based visual scripting solution. We need to build up a mesh of triangles. You will also learn how to use New Terrain Tools and Sample Assets for quick terrain creation. Sep 29, 2016 · I wrote a script for a RTS camera that prevents the camera from going off the terrain (when the player moves the camera with WASD / arrow keys, found in another script, not included below). How cut mesh by plane in Unity3d - Stack Overflow. 13. Unity terrain script. ly/2qR3Y3P Catlike Coding: http://Using this script with Unity's standard terrain textures turns the following default grey terrain: Into this slightly more attractive scene: Sure there's certainly a lot more you could do to improve the mapping, and it doesn't compare to the output you get from professional world modelling tools such as World Machine. Controls to level the terrain up to a distance of 100m sideways of the road. This is a script that we will drop on an object in the Unity editor (the Main Camera 8 août 2019 Terratex is an automated script to texture Unity Terrains based on a wide range of configurable parameters. x . cs and put in inside Unity Editor folder. com/E3GQPEYn I didn't write this script. This is a very basic example of how to code a grid of terrains in Unity using procedural noise. Before we can get there we need to setup some vertices. Unity is the ultimate game development platform. Oct 29, 2020 · But what I'm currently stuck on is getting the terrain to render the proper texture/shader depending on the applied "ground type" at a coordinate (eg. Now your selected terrain is splitted into 4 parts with all details, trees, colors and stuff like that. This way you can create terrain meshes in a standard 3D app such as Blender or Maya and convert it to a Unity terrain. See Clock for these basics. Feb 22, 2021 · I imagined that a nice way to do so would be to just define a polygon somewhere on the terrain, specify the density of the objects and then place everything by pressing a button. 2018 Terrain generation and smoothing / filtering in 2D. Rotate #object on #mouse #drag #unity by using #transform. Party. Within the Scripts folder create a new script and rename it to 'PlayerController'. settings (they must match the values you have used in 3DS Max) - Add mTerrainObject. By default, the main camera in Unity renders its view to the screen. Procedural Terrain Generator. This is a FREE kit made in Unity Engine (Version 5+), to help developers create your own survival game with RPG aspects. AssetStudioFBX uses FBX SDK 2015. x and 2020. How do you add transparency in blender? In CYCLES select the mesh you want to be transparent. public override void OnSceneGUI(Terrain terrain, IOnSceneGUI editContext) { TerrainPaintUtilityEditor. Unity Terrain Script Convert! free convert online with more formats like file, document, video, audio, images. Explore 3D Terrain Models for Game Development. › Best Education the day at www. Sprites are simple 2D objects that have graphical images (called textures) on them. Give it a Rigidbody (Component->Physics->Rigidbody). Creates a Terrain including collider from TerrainData. The camera would be looking down at the terrain with a rotation of (90,0,0). And I am still using Unity 4. Terrain Tools 包为您的项目添加其他地形雕刻画笔和工具,以帮助创建令人惊叹的地形资源并简化工作流程。The custom material Unity uses to render the Terrain. See in Glossary features that allow you to add landscapes to your game. 3rd step: In Export heightmap menu options select 8 bit and if you are working withYou can use in-engine Landscape tools in both Unreal engine and Unity. For each TerrainLayer in the Unity terrain, a corresponding height field volume layer with the same name is created, and its splatmap values are uploaded. Switch between scenes using a button. A User Showcase of the Unity Game Engine. Details: Terratex is an automated script to texture Unity Terrains based on a wide range ofUnity looks at our scripts as a custom components so to create new script we need to Now, open up the script (either double click on "FPS Movement" component or double click the script asset inTerrain Shader in Unity. Whether you are building a Unity application or a Unity game, you are doing it from scratch or you are just unhappy with your current system, I think you would profit from reading. Some of the properties of the RaycastHit include collider, distance, rigidbody, and transform. 8. 2017 Easily convert (. Статья подготовлена на основе доклада инструктора школы Realtime Константина Кустова на CGEvent 2019. Jan 31, 2020 · Unity 2019. How can I make dynamic objects to cast realtime shadows […]Download 493 Terrain free 3D models, available in MAX, OBJ, FBX, 3DS, C4D file formats, ready for VR / AR, animation, games and other 3D projects. Unity-Free-Flight. In this tutorial I'm going to go over how to blend meshes with terrain (or even other meshes) in unity. In the Terrain Toolbox Window, set the Tiles X Axis and the Tiles Z Axis to 4, and then Select the Create button. Go to the mono development in unity and write the coding like the following. This script allows users to generate interesting terrain and populate it with trees, water and other details. 2019 Before starting reading the tutorial, create a new Unity project. Jan 27, 2022 · This tutorial will walk you through how to create a visualization of 3D buildings on top of a 3D terrain map for use in a Unity application. If you forget to set the TargetObject , you'll get UnassignedReferenceException: TargetObject has notUnity have a class for holding and changing value of a gameObject that is transform, by this class you can change position, rotation, and size of a gameObject. com/TerrainTools ○ Terrain Samples Creating good graphics with Unity's terrain system is a lot easier then people think. Unity - transform. The idea is try to offer a flexible solution for developers that want integrate a free Voxel engine in his game or give a base for develop your own Marching Cube engine. Now, in order to add a terrain game object, go to the GameObject menu, and select 3D Object > Terrain. Lets you set up the connection between neighboring Terrain tiles. There is only one optionScripting API: Terrain - Unity - Manual. If the terrain is set to be GPU instanced ( option Draw Instanced turned on over Terrain SettingsDownload Unity - Unity 2021 introduces all new features that help teams of artists and developers build experiences together. Unity Branding Program. Via script i don't think it is possible, but you can click on "terrain" on the top left screen, click on "set resolution", then you can edit the width, length, and Terratex is an automated script to texture Unity Terrains based on a wide range of configurable parameters. Goal / Motivation. Unity 2. The following is the list of actions that we need to perform in Unity: Open the CH_Character script. Get the terra Visual Scripting package from mezanix and speed up your game development process. x. Jan 27, 2017 · Split Unity Terrain Script. More info. – Includes many examples and presets. 3 seats per org are included with Pro, and additional seats are available for purchase. Also you can read about it more in texturing tutorial. 1 Cannon Script. Unity procedural TileMap generation without creating gameobject per tile. Nov 20, 2021 · Movement Script in C# for Unity. Sale. 1, 2017. Markets. Split Unity Terrain Script In writing this script I learned about EditorWindows: using a script to create something outside of the game running. The steps required to apply it are as follows: 1. Vector3 position = //the ingame position you want your terrain at GameObject ingameTerrainGameObject = Instantiate(terrain, position, Quaternion. 1f2. xIts powerful features let you create high resolution AAA quality real world terrain with a few clicks. TerrainData:GetAlphamaps(Int32, Int32, Int32, Int32)" the first number (824) is my pos Z and the last one (512) is one of my map dimensions. Unity - Scripting API: Terrain. The mouse pointer works in a Screen Space which is a 2D space defined in pixels whereas Use the Unity Editor to create 2D and 3D games, apps, and experiences. Convert Any Mesh To Unity Terrain. The grass is the next thing we need to do. Our goal is to create a single, cohesive solution that does not result in broken features or fractured communities, and that meets user expectations around production readiness. Create a terrain from a heightmap in Unity With heightmaps and textures from 3D-Mapper. Rename it to terrain. In this Unity tutorial on procedural map generation we are going to create map using chess maze technique for a game such as In this Tutorial we will build a short script to easily generate procedural 2D tilemaps with Unity's new Tile map feature. 11. 0 target, to get nicer looking lighting #pragma target 3. uContext is a toolkit that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features to the editor, corrects and improves the editor’s built-in Mar 11, 2017 · Placing the object in the scene. Since each Terrain has a length and width of 1000 meters, the total area is now 16,000 square meters. In this tutorial, you will learn how to create and customize a terrain using specific tools and techniques, ranging from shaping the landscape, adding trees, and using brushes to enhance your terrain with Sep 29, 2016 · I wrote a script for a RTS camera that prevents the camera from going off the terrain (when the player moves the camera with WASD / arrow keys, found in another script, not included below). Use Unity to build high-quality 3D and 2D games, deploy them across mobile, desktop, VR/AR, consoles or the Web, and connect with loyal and enthusiastic players and customers. Intermediate level course will show you how to build a sophisticated game by creating complex Unity components using C# scripting. ShareUnity is the ultimate game development platform. Unity behavior script that rotates object 90 degrees when the script’s rotate function is called. 40f1. The Terrain Inspector A Unity window that displays information about the currently selected GameObject, Asset or Project Settings, alowing youDownload Unity Splatmap Replacer script. using UnityEngine ; using System . * you can find the links to these in the asset store page of my asset. - Check Terrain / Set resolution. 3 (or more recent)! Digger now uses the latest Unity features to cut holes in terrain surface and is even more powerful, robust and performant than ever. (Code must be placed in Editor directory) When creating the Terrain Manager code, I had wished at the time I Jan 22, 2014 · I'm looking to create a piece of terrain in unity using only a script (c# preferably) to do this rather than the menu options on the editor. The final tool on the terrain toolbar is for settings: Settings Inspector. Part 1 of 7. Now I could actually click and drag increase the basic terrain. x, 2019. Pastebin. This was achieved by surrounding the terrain with box colliders (for a smooth surface), and creating a new physics material in the Unity inspector, with 0 friction and 0 bounciness. Rated by 85,000 In this video we create a terrain in Unity using Perlin Noise. This is the best unity terrain generator tool for people on a budget. Collections. Guide. com/threads/split-terrain-script. On such a large terrain, detail is lost up close. Explore the packages and plugins that enhance Unity’s capabilities. com. Unity keeps telling me “Texture rectangle is out of bounds (824 + 1 > 512) UnityEngine. com Best Convert Tools. Sep 09, 2014 · Make a new material and assign it the Nature/Terrain/Bumped Specular in the drop-down in the Inspector. pyblend Used to create a text asset for import in unity using ApplyHeightmap. 2013 Sometimes, you will want to interact with the grass that's on your terrain through a script. First, let's think a bit about how Unity's terrain system renders the textures you paint on it: You have a control texture that gets projected over your terrain, like a typical terrain heightmap. Unity - Basic Movement Scripting, In this lesson, we will write code that makes a gameObject move up, down, left and right based on the userâs input. cs in /Assets/ editor/Unity Terrain Tools Unity - Basic Movement Scripting. Jul 24, 2019 · Unity 3D Procedural Terrain after perlin noise. Unity Terrain Script Market! markets indexes, bonds, forex, ETFs, analysis, stock quotes. de. Unity3D usually calls the terrains something like “ New Terrain #. Geotiff, . To change the material at runtime, add below script to the Sphere GameObject. Under Base Terrain is a slot for Material. Create terrain, trees, and water. Manages the ARCore session. 3D. Vous verrez que le terrain a trois composantes: Transformer, la Terrain script, et le Collisionneur de terrain composant. The UnityPackage will install the script TreeManagerWindow. Jun 10, 2010 · The TerrainDeformer script then translates that position to the correct location relative to it’s terrain and modifies both the heightmap (terrain height) and the alphamap (terrain texture). Unity C# Tutorials. Create your Terrain as above and verify that everything has imported successfully. So far I only have this code below, but I don't know wha Aug 08, 2019 · Terratex is an automated script to texture Unity Terrains based on a wide range of configurable parameters. patchBoundsMultiplier: Set the terrain bounding box scale. Terrain. You can simply change the camera's aspect ratio to match the one you've designed your game around. This will result in the mesh as a child of the Terrain hierarchy. Aug 08, 2019 · Terratex is an automated script to texture Unity Terrains based on a wide range of configurable parameters. If this is NOT the case, just pop off that “Ship. The terrain one is from the standard terrain shaders I just modified it, and the other is from the Unity Wiki post about depthmasking. using System. It will be able to create virtually endless terrains. activeTerrain, The active terrain. This is a convenience function to get to the main terrain in the The active terrains in the Scene. Returns an array of all supported detail layer indices in the area. Mar 30, 2016 - Flying is a simple concept in games. 7. The resulting Terrains are now created as a tiled group of 4 x 4 tiles, for a total of 16 Terrains. In this blog I’ll show how to create a mesh procedurally in Unity. preserveTreePrototypeLayers: Allows you to specify how Unity chooses the layer for tree Jan 15, 2022 · The Unity Editor includes a built-in set of Terrain The landscape in your scene. Details: An approximation of how many pixels the terrain will pop in the worst caseUnity - Scripting API: Terrain. Oct 10, 2018 · Unity 2018. This should help us understand the work. The arrows point in the direction in which you are to look at the sectional view