Code Monkey home page Code Monkey logo

vf-blenderplanaruv's Introduction

VF Planar UV

Numerical planar projection of 3D meshes into UV space, allowing for accurate and replicable results instead of relying on Blender's "Project From View" (which is either non-repeatable by default or non-customisable in "orthographic" mode).

screenshot of Blender 3D and UV editor interfaces showing the plugin mapping a standard monkey head with X axis planar projection

Installation and Usage

  • Download VF_planarUV.py
  • Open Blender Preferences and navigate to the "Add-ons" tab
  • Install and enable the Add-on
  • It will show up in the 3D view VF Tools tab

Settings

screenshot of Blender 3D and UV editor interfaces showing the plugin mapping half of a standard monkey head with Y axis planar projection mapping rotated 180° and flipped

Main Settings

  • Axis sets the direction of the planar projection: X, Y, or Z
  • Centre sets the centre point of the projection space, allowing for any specific location to be mapped
  • Size defines the scale of the projection, allowing for known numerical translation from object space into UV space
  • Space sets local or world space for both loading selection settings and generating the UV map

Advanced Settings

  • Load Selection Settings calculates the bounding box of all selected vertices and sets the centre and size settings to exactly contain the selection (particularly helpful for mesh elements that aren't centred with the object pivot)
  • Rotation swizzles the input coordinates to offer 90° variations in mapping orientation (this is akin to rotating a camera capturing the geometry; it efficiently rotates the space the coordinates are loaded in)
  • Flip takes the resulting UV mapping and flips the U values (this operates before alignment and works reliably with both options below)
  • Alignment determines how the mesh will be aligned to UV space
    • Image is standard UV map usage, where the centre of the defined area will be aligned to 0.5, 0.5 in UV space
    • Zero is for situations where standard UV mapping principles may not apply, and the centre of the defined are should align to 0.0, 0.0 in UV space for reliable data storage within a UV map

screenshot of Blender 3D and UV editor interfaces showing the plugin mapping a standard monkey head with Y axis planar projection mapping aligned to UV 0,0 instead of centred within the UV frame

Note that this add-on operates in object space, not world space. Planar projection settings centre and size will not take into account the object's position, rotation, or scale in world space.

This software is provided without guarantee or warranty.

vf-blenderplanaruv's People

Contributors

jeinselen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.