Dynamic grid, texel size and pixel resolution #78389

Closed
opened 2020-06-28 20:18:40 +02:00 by Daniel Bystedt · 6 comments
Member

UI

{F8651863, height = 300}
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).
image.png image.png
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).
{F8651868, height = 300} {F8651871, height = 300}
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
{F8651875, height = 300}}
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
**UI** |{[F8651863](https://archive.blender.org/developer/F8651863/image.png), height = 300}| | -- | |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). |![image.png](https://archive.blender.org/developer/F8651928/image.png) |![image.png](https://archive.blender.org/developer/F8651931/image.png) | | -- | -- | |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). | {[F8651868](https://archive.blender.org/developer/F8651868/image.png), height = 300}|{[F8651871](https://archive.blender.org/developer/F8651871/image.png), height = 300} | | -- | -- | |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| |{[F8651875](https://archive.blender.org/developer/F8651875/image.png), height = 300}} | | -- | |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|
Author
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author
Member

Added subscribers: @DanielBystedt, @ideasman42

Added subscribers: @DanielBystedt, @ideasman42

Added subscriber: @APEC

Added subscriber: @APEC

Added subscriber: @Idlero

Added subscriber: @Idlero

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2022-04-27 09:28:02 +02:00

Closing as this has been committed.

Closing as this has been committed.
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#78389
No description provided.