Skip to content

AscendingMan/meshpreview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use

Copy Assets/Editor and Assets/Editor Default Resources folders into your project and the built-in Mesh Inspector will be overridden with the updated one. Should work with Editor versions 2019.3 and up.

What's new in the updated Mesh Inspector

Mesh Inspector

The top part of the Inspector was updated to display information about mesh data format, memory usage, submeshes etc.

DataPreview

Preview 3D Controls

Middle Mouse Button (Scroll Wheel) click and hold - Pan
Scroll Wheel - Zoom
Left Mouse Button - Rotate
Right Mouse Button - Rotate Directional lights
F - Focus object (resets pan and zoom, but not rotation)

The Mesh Preview window allows meshes to be viewed in one of the following ways:

Shaded

A simple shaded preview of the Mesh.

ShadedPreview

When the mesh has multiple sub-meshes, they are tinted with unique colors. The colors are listed in the top inspector part for each submesh:

SubmeshPreview

UV Checker

Previews a Mesh with a checkerboard texture applied. You can use the slider next to UVChannel dropdown to adjust the tiling of the texture.

CheckerPreview

UV Layout

Previews unwrapped UVs. Any UV Channel can be previewed, if available. The view can be zoomed and panned, and initially shows 0..1 UV range.

LayoutPreview

Vertex Color

Previews Vertex Colors of a Mesh.

VertColorPreview

Normals

Preview Mesh Normals. We've opted to not displays normals as tiny vectors poking out of vertices, since it feels like without full-on navigation inside the preview window, they would just be a mess for non-trivial meshes.

NormalPreview

Tangents

Preview Mesh Tangents. We've opted to not displays tangents as tiny vectors poking out of vertices, since it feels like without full-on navigation inside the preview window, they would just be a mess for non-trivial meshes.

TangentPreview

Blendshapes

Preview Mesh Blendshapes. An additional drop down is displayed when this option is selected where you can choose which blendshape to display.

BlendShapePreview

About

Mesh preview project repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published