What is non manifold geometry maya

# Week 4 - Making: Modeling: sketch, research, polygon modeling. - Presentation - Hands on studio: team discussion & making. - Assignment: Continuously work on your process report. ___________________ # Basics of low poly modeling ## Game Art Terminology [Link to Safari books online](https://proquestcombo-safaribooksonline-com.ezproxy.torontopubliclibrary.ca/book/animation-and-3d/9780240815824/chapter-1-introduction-to-3ds-max/geometry) ## Low poly practice related images from Pinterest ![pinterest](https://i.pinimg.com/564x/cf/0f/2d/cf0f2d0d29d5b0180e639b901414bf8c.jpg) LOD modeling example from https://www.facebook.com/365610153629761/photos/pcb.434816053375837/434815546709221/?type=3&theater ![pinterest](https://i.pinimg.com/564x/48/a3/32/48a332174492087e702bd75f7d2e40b1.jpg) from Pinterest ![pinterest](https://i.pinimg.com/564x/ae/12/bb/ae12bb24a4dcdad55d51154f3c55ef6d.jpg) from Pinterest ![pinterest](https://i.pinimg.com/564x/4b/34/61/4b3461a6d2e927a67870015e503cf405.jpg) from Pinterest ## Voxel art ![pinterest](https://i.pinimg.com/564x/24/4b/43/244b4310550aca808ccee575e9619b9a.jpg) Pinterest ## Inspiration - [Jeremy Edelblut DemoReel 2016](https://vimeo.com/161523644) - [Jeremy Edelblut I](http://jeremyedelblut.com/) - [Jeremy Edelblut II](https://www.behance.net/gallery/28605433/Summer-Doodles) ![je](https://mir-s3-cdn-cf.behance.net/project_modules/max_1200/ea614128605433.55c911ab4e624.png) by Jeremy Edelblut (Jeremyedelblut.com) # Examining invalid polygon geometry Some types of polygon geometry will not work in Maya. Invalid geometry includes vertices that are not associated with a polygon edge and polygon edges that are not part of a face (dangling edges). ## Solution - Converting polygon faces to triangles is a quick way to ensure non-planar faces render properly. - Or converting polygon faces to quads is a good way to clean up polygons or reduce the number of faces. ![poly03](img/maya/polygon/mn.png) ## Two-manifold vs. non-manifold - Polygonal geometry can have different configurations or topology types in Maya. Understanding the characteristics of these topologies can be helpful when you need to understand why a modeling operation failed to execute as expected. - **Two-manifold topology polygons** have a configuration such that the polygon mesh can be split along its various edges and subsequently unfolded so that the mesh lays flat without overlapping pieces. - **Non-manifold topology polygons** have a configuration that cannot be unfolded into a continuous flat piece. Some tools and actions in Maya cannot work properly with non-manifold geometry. For example, the legacy ***Boolean*** algorithm and the ***Reduce*** feature do not work with non-manifold polygon topology. The image below shows three examples of non-manifold topology polygons. ![poly04](img/maya/polygon/manyf.png) The following operations in Maya can produce non-manifold geometry: - Select Faces or Edges and select Edit Mesh > **Extrude.** - **Normals > Reverse** (without extracting geometry). - Edit Mesh > **Merge** Components. - **Delete** Face. - Edit Mesh > Merge Components to Center You can convert non-manifold topology polygons into two-manifold topology (including the less obvious case of adjacent faces with opposite normals) using the **Mesh > Cleanup** tool in Maya. # Cleanup polygon models - [Maya help: Cleanup options](https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/Maya-Modeling/files/GUID-AB60C982-C96E-4947-8CF3-5152406B6A40-htm.html) - [Maya help: Two-manifold and non-manifold polygonal geometry](https://knowledge.autodesk.com/support/maya/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/Maya-Modeling/files/GUID-8E97CEF7-1CFE-4838-B4B7-59F526E21AB2-htm.html) The Cleanup feature lets you remove unwanted geometry from a polygon mesh (for example, zero area faces or zero length edges). You can also tessellate faces that may be valid within Maya, but not in a game console, such as concave faces, or faces with holes. Because the Cleanup feature has the ability to merge vertices and collapse zero length edges, there may be situations where the Cleanup feature can output non-manifold geometry. This can occur when you set the Cleanup options to perform multiple cleanup operations on a mesh in a cascading way. If this situation is likely, it is recommended you run the Cleanup feature multiple times and turn on the Non-Manifold Geometry option in the Remove Geometry section only on the last iteration. To clean up polygon meshes - Select the polygon mesh you want to clean up. - Select Mesh > Cleanup. ## Modeling toolkit - [Maya help docu](http://help.autodesk.com/view/MAYAUL/2018/ENU/?guid=GUID-D4CD168A-34F2-465B-A39C-DE20B34E5535) ![maya](http://help.autodesk.com/cloudhelp/2018/ENU/Maya-Modeling/images/GUID-17DA21F5-4502-489B-90DA-CA1949B919AE.png) ## Game asset tutorial - [Minions Art is creating Game Art Tips and Astro Kat, a Catventure game! in Patreon](https://www.patreon.com/minionsart) ## Maya based low poly tips ![lowpoly](img/lowpolytest01.png) by H.Ji. You can find test models from Windows/General Editors/Content Browser/ - Harden edge - Interpolation of vertex normals to make hard edges: ***Mesh Display/Harden Edge*** - Polygon reduction also known as mesh decimation): ***Mesh/Reduce*** - [Maya help - reduce](http://help.autodesk.com/view/MAYAUL/2018/ENU//index.html?guid=GUID-49F4731D-4F59-4B98-9751-F0E1CAA675CD) - Checking Polygon component numbers - turn on ***Display/Heads Up Display/Poly Count*** - [Maya help - poly count ](http://help.autodesk.com/view/MAYAUL/2018/ENU//index.html?guid=GUID-53E46D0C-4B7B-4404-AEB0-3BDD1FF8608A) - **Poly count:** displays polygon statistics for the visible objects displayed in the view panel, including Vertices, Edges, Faces, Triangles, and UVs. This feature is useful for game development. The first column on the left lists the total components of all the polygons in the scene. The second column lists the total components of the selected polygon(s). The third column lists the total selected components. The default is off. - **PBR** renderer: physically based render in Maya is Arnold. - [Arnold rendering](https://jiharu.github.io/intm3d/week12.html) - aiSkyDomeLight applying when you want to use **HDRI**. ![lowpoly](https://i.pinimg.com/564x/9e/6e/28/9e6e2873fbcfc031ba509761693a4402.jpg) - Above image: using **ambient occlusion** and adding **bevel** edges. __________ # Modeling tutorials ## Tutorial: low poly robot - [Link to Safari books online](http://proquestcombo.safaribooksonline.com.ezproxy.torontopubliclibrary.ca/book/animation-and-3d/9780240816067/chapter-6-modeling-the-robot-in-maya/14_chapter06_xhtml?uicode=torontopl) - Chapter 6: Modeling the Robot in Maya - Modeling the Low Poly Version - Unwrapping the Robot - Baking the Texture Maps - Texturing the Robot ## Lego chracter modeling & texturing ![lab01](img/maya/character/legoman.jpg) ![lab03](img/maya/character/legoman_front.png) ![lab04](img/maya/character/legoman_side.png) ![lab03_01](img/maya/character/legoman_front01.png) ![lab04_01](img/maya/character/legoman_side01.png) ![lab05](img/maya/character/spiderman_front.jpg) ![lab06](img/maya/character/spiderman_back.jpg) ![lab07](img/maya/character/spiderman_side.jpg) ## What to do: - Preparation - Low polygon modeling - UV texturing - Shading, lighting, and rendering controls - Smoothing the polygon ## Important commands and tips: - Commands: - Extrude - Booleans - Selections - Deformers - Tips: - Spend some time to **analyze and plan** before beginning the modeling processes. - Well prepared blueprints are important to the modeling processes. - Switch often to check its position from the side, front, and perspective view. - Menu / Select tools are useful and efficient. - Naming: in the outline and layer editor, from time to time spend some time to name them properly. It will help a lot to work on more complex modeling tasks. - Using Layer editor and Shading options to control its **transparent/opaque views** and **templete/reference/object** view & selection modes. ------------------------- ## Preparation - Prepare the front and side images of a Lego model. - Importing blueprints to a front camera and a side camera (View / Image Plane). ![pre](img/maya/character/imageplane.png) - You can adjust the image plane position: using the Image Center X, Y, or Z. And check out the attributes of the image plane from its attribute editor. ![pre01](img/maya/character/imageplane01.png) ------------------------------ ## Low polygon modeling ### Head - Create from a cylinder polygon object and modify its position and scale. (subdiv: 12) - From the front view, go to the component face selection mode and drag - select faces and from the menu Select / Shrink to select only top faces or neck faces and apply Edit Mesh / **Extrude**. Click its local / world switch and move & scale and apply Extrude to make the head-top or neck geometry: ***Be careful not to apply several extrude commands at once. It is easy to do so. Use Undo to make sure that you didn't multi-fully applied the same function.*** ![head](img/maya/character/ext.png) ### Body - Start from a box. Move & scale it and use its vertices to make the right shape. ![body](img/maya/character/body.png) - Use Extrude to make the lower body. ### Middle belt piece ![belt](img/maya/character/belt.png) - From the side view, let's start a cylinder to make the lower part of belt. - Create a box for a belt and apply Mesh / **Booleans / Union** to make an unified geometry. ### Leg - Create a cylinder and go to the side view and locate it. ![leg01](img/maya/character/leg01.png) - In the component mode, select faces as the image below and delete them. ![leg02](img/maya/character/leg02.png) - Select the edge and extrude. ![leg03](img/maya/character/leg03.png) - Select the edge and extrude several times to make the faces of the leg as the image below using the front and side view. ![leg04](img/maya/character/leg04.png) ![leg05](img/maya/character/leg05.png) - Apply the **Mesh Tools / Append to Polygon** to create the bottom face of the leg. After this, apply the **Mesh / Fill Hole** to create the closed mesh. ![leg06](img/maya/character/leg06.png) - Now create a box to prepare the Boolean operation. Create a box bigger than the leg we created and from the front view, rotate it as the image plane. Select the leg and the shift select the box and apply Mesh / **Booleans / Difference.** ![leg07](img/maya/character/leg07.png) - This time create a cylinder which is a bit larger than the lower belt part and select the leg and the cylinder and apply Mesh / **Booleans / Difference.** ![leg08](img/maya/character/leg08.png) - Now right leg is done. Before duplicating it, let's clean it. Go to Edit and **Delete by Type / History.** ![leg09](img/maya/character/leg09.png) - In order to use the duplicate special, let's **reset Transformation** to make the manipulator locate in the world center. ![leg10](img/maya/character/leg10.png) - Let's duplicate special. Note that scale X value is -1. ![leg11](img/maya/character/leg11.png) - Great! Now we completed the legs. - Plus, we can duplicate legs and make them a bit larger and apply Booleans / Difference to the belt to complete the belt. ![leg12](img/maya/character/leg12.png) ---------------------------------------------------------------- ### Arm - Let's create a sphere and delete its faces to fit the contour of the image plane. - Then, extrude the edge three times (choose one edge and apply **Select / Contiguous Edges** to select the entire edge perimeter) to make a base arm mesh. (when you apply the second extrude, increase its Divisions to 4 to make more lines for its deformation later.) ![arm01](img/maya/character/arm01.png) - Now apply **Deform / Lattice** to shape the arm. You can control the grid complexity using S, T, U divisions and its components are the Lattice Point. Using the lattice points, you can control and shape the main geometry. ![arm02](img/maya/character/arm02.png) ![arm03](img/maya/character/arm03.png) ![arm04](img/maya/character/arm04.png) - Once shaping the arm is done, apply Mesh / Fill Hole to close it. ![arm05](img/maya/character/arm05.png) - You can use the sculpt tool to add more fine controls. ![arm06](img/maya/character/arm06.png) ### Hand - Preparation: let's start from a Polygon Pipe. Transform it and then in the component mode, delete faces to shape it. You can apply Mesh / Fill Hole to close the mesh. - Once it's done, you can apply lattices not only to an object but also to selected faces to deform. I applied the lattice to inner faces once and to outer faces again. ![hand01](img/maya/character/hand01.png) - When the hand is done, you can extrude the face from the arm to make a wrist. Then apply Booleans / Union to complete. ![hand02](img/maya/character/hand02.png) - Duplication: now delete its history and apply Reset Transformations and apply duplicate it with -1 scale X to complete both arms. ![hand03](img/maya/character/hand03.png) ![hand04](img/maya/character/hand04.png) - *Congratulations!* The low polygon modeling is completed. Before starting the UV layout, please delete all histories and work on naming in the outliner and layer editor. ![hand05](img/maya/character/hand05.png) # Hands on studio Team discussion & making # Assignment detail ## An (online) journal Keep working on it. ## Reading Please read ***"Chapter 3. Introduction to Texturing"*** from the book: Omernick, Matthew. Creating the Art of the Game. New Riders, 2004, *Online access (Toronto Public Library)* ## Making Keep working on your modeling pipeline.