Grid mesh with x/y_subdivisions = 1762, 896 creates broken UV map #68314

Closed
opened 2019-08-06 15:07:15 +02:00 by Wolfgang Strobl · 8 comments

System Information
Operating system: Windows 10 Home, Ubuntu 18.04
Graphics card: builtin Intel GPU on Windows, Nvidia 1050 Ti on Ubuntu

Blender Version2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Works: recent development versions for 2.81

Short description of error

Grid mesh with subdivisions produce incorrect UV maps, depending on the number of subdivisions

Exact steps for others to reproduce the error
See the following script. Doing it manually gives identical results. Didn't find a pattern. Tried developer build from today and yesterday, those work as expected, i.e. produce a UV pattern like in "Correct" for all number pairs that I tried.

import bpy
w=1762
h=896
bpy.ops.mesh.primitive_grid_add(x_subdivisions=w, y_subdivisions=h, size=1.0, enter_editmode=False, location=(0,0,0))
grid=bpy.context.active_object
grid.name="Kaputt2"

w=1763
h=896
bpy.ops.mesh.primitive_grid_add(x_subdivisions=w, y_subdivisions=h, size=1.0, enter_editmode=False, location=(0,0,0))
grid=bpy.context.active_object
grid.name="Correct"

Kaputt2.JPG

Kaputt2a.JPG

Correct.JPG

**System Information** Operating system: Windows 10 Home, Ubuntu 18.04 Graphics card: builtin Intel GPU on Windows, Nvidia 1050 Ti on Ubuntu **Blender Version**2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f54494e Works: recent development versions for 2.81 **Short description of error** Grid mesh with subdivisions produce incorrect UV maps, depending on the number of subdivisions **Exact steps for others to reproduce the error** See the following script. Doing it manually gives identical results. Didn't find a pattern. Tried developer build from today and yesterday, those work as expected, i.e. produce a UV pattern like in "Correct" for all number pairs that I tried. ``` import bpy w=1762 h=896 bpy.ops.mesh.primitive_grid_add(x_subdivisions=w, y_subdivisions=h, size=1.0, enter_editmode=False, location=(0,0,0)) grid=bpy.context.active_object grid.name="Kaputt2" w=1763 h=896 bpy.ops.mesh.primitive_grid_add(x_subdivisions=w, y_subdivisions=h, size=1.0, enter_editmode=False, location=(0,0,0)) grid=bpy.context.active_object grid.name="Correct" ``` ![Kaputt2.JPG](https://archive.blender.org/developer/F7651611/Kaputt2.JPG) ![Kaputt2a.JPG](https://archive.blender.org/developer/F7651613/Kaputt2a.JPG) ![Correct.JPG](https://archive.blender.org/developer/F7651615/Correct.JPG)

Added subscriber: @ws01

Added subscriber: @ws01

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish

This should be fixed already. Can you try the latest build on builder.blender.org? Thanks

This should be fixed already. Can you try the latest build on builder.blender.org? Thanks

Well, I already did, see "Works: recent development versions for 2.81" and "Tried developer build from today and yesterday, those work as expected, i.e. produce a UV pattern like in "Correct" for all number pairs that I tried." above.

Well, I already did, see "Works: recent development versions for 2.81" and "Tried developer build from today and yesterday, those work as expected, i.e. produce a UV pattern like in "Correct" for all number pairs that I tried." above.

I wrote a bug report because the behaviour looks somewhat random and because I did't find an earlier report, so it might show up in later builds, again, because it seems, well, random. Given that we will have to wait for an 2.81 release, it would be beneficial to know about possible workarounds. If it is indeed already fixed, it might be possible to deduce that from the actual fix.

I wrote a bug report because the behaviour looks somewhat random and because I did't find an earlier report, so it might show up in later builds, again, because it seems, well, random. Given that we will have to wait for an 2.81 release, it would be beneficial to know about possible workarounds. If it is indeed already fixed, it might be possible to deduce that from the actual fix.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
William Reynish self-assigned this 2019-08-06 17:43:41 +02:00

If it works in the latest builds, it is resolved. If this is important, you could just use a newer build rather than 2.80

If it works in the latest builds, it is resolved. If this is important, you could just use a newer build rather than 2.80

Well, thanks. :(

Well, thanks. :(
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#68314
No description provided.