Page MenuHome

Dynamic grid, texel size and pixel resolution
Closed, ResolvedPublicDESIGN

Authored By
Daniel Bystedt (dbystedt)
Jun 28 2020, 8:18 PM
Tags
Tokens
"Party Time" token, awarded by Alumx."Love" token, awarded by 14AUDDIN."Love" token, awarded by unrealer."Love" token, awarded by NickLondon."Like" token, awarded by christianclavet."Love" token, awarded by gilberto_rodrigues."Love" token, awarded by Kronk."Like" token, awarded by deadpin."Love" token, awarded by Idlero."Love" token, awarded by APEC."Love" token, awarded by ReinhardK."Like" token, awarded by chironamo.

Description

UI
UI Example UI from UV-editor

This design is related to
https://developer.blender.org/T78391

Settings in the uv editor for the following:

Dynamic grid size

  • How many units in UV-space is a grid unit. It can be handy with a dynamic grid size. Sometimes you need to snap to a texture atlas that is divided into a 6x6 grid within a 0-1 uv space. Note: The UV 0-1 space is always static (eg the true UV unit length is always the same).
Dynamic grid = 4 (4 grids per UV unit)Dynamic grid = 2 (2 grids per UV unit)

Texel size:

  • How many units in uv space one unit in 3d space represents. This can be used to get consistent texture scale when using tiling textures.
  • Texel size should affect unwrap, but not packing since we usually want to pack into a specific area.

Sample texel size

  • Add operator for “Sample texel size, which sets texel size from selected object(s) in 3d view

Pixel resolution:

  • How big is a pixel in uv space when no image is assigned in the uv editor. This can be used for UV move up/down/left/right (described in other UV editing design).
1 unit in 3d = 0.5 units in UV space (i.e Texel size = 0.5)Texel size = 0.5 (i.e edge length = orig length * Texel size
}
The goal is to get consistent texture scale between objects and faces when unwrapping. The Texel size acts as a scale multiplier to the unwrapped uv’s

Event Timeline

Daniel Bystedt (dbystedt) changed the task status from Needs Triage to Confirmed.Jun 28 2020, 8:18 PM
Daniel Bystedt (dbystedt) created this task.
Daniel Bystedt (dbystedt) moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.Jun 28 2020, 9:41 PM

Closing as this has been committed.