Generated (ORCO) texture mapping is wrong #40580

Closed
opened 2014-06-11 17:14:23 +02:00 by Fabian Emmes · 6 comments

Blender Version
Broken: current master, e53c00a2

Setting the texture coordinates to "Generated" (ORCO) in the texture properties panel, will not use the original coordinates, but (apparently) coordinates normalized to the bounding box of the object.

This can be seen in mapping_bug.blend, where both squares have the same (local) vertex coordinates, but "Plane.001" has an additional triangle, extending its bounding box. This results in both squares being mapped differently, although they have the same coordinates.

Suggestions: Change the documentation of the "Generated" setting from "Use the original undeformed coordinates of object" to something like "Use the bounding box coordinates of object.". Additionally, add an option called "Local" with the former description "Use the original undeformed coordinates of object", which doesn't uses the local coordinates of the object.

**Blender Version** Broken: current master, e53c00a2 Setting the texture coordinates to "Generated" (ORCO) in the texture properties panel, will not use the original coordinates, but (apparently) coordinates normalized to the bounding box of the object. This can be seen in [mapping_bug.blend](https://archive.blender.org/developer/F93909/mapping_bug.blend), where both squares have the same (local) vertex coordinates, but "Plane.001" has an additional triangle, extending its bounding box. This results in both squares being mapped differently, although they have the same coordinates. Suggestions: Change the documentation of the "Generated" setting from "Use the original undeformed coordinates of object" to something like "Use the bounding box coordinates of object.". Additionally, add an option called "Local" with the former description "Use the original undeformed coordinates of object", which doesn't uses the local coordinates of the object.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @der_fab

Added subscriber: @der_fab
Author

The last sentence should read: Additionally, add an option called "Local" with the former description "Use the original undeformed coordinates of object", which uses the local coordinates of the object.

The last sentence should read: Additionally, add an option called "Local" with the former description "Use the original undeformed coordinates of object", which uses the local coordinates of the object.

Added subscriber: @Sergey

Added subscriber: @Sergey

Well, this is actually how blender works and the original wording is much closer to what's actually happens here: it gets original (undeformed) coordinates and maps them to the original bounding box in order to get reliable s,t coordinates of the textures. It doesn't use final object's BB as it sounds from your description.

Description could be improved here, but we can't do it now because RC should happen today and such a change would break all the translations. We'll look into changing the wording after the release.

To get behavior you're looking for you can use Object mapping and point to self.

Since it's not strictly speaking a bug, archiving it. As was mentioned we'll try to improve wording after the release.

Well, this is actually how blender works and the original wording is much closer to what's actually happens here: it gets original (undeformed) coordinates and maps them to the original bounding box in order to get reliable s,t coordinates of the textures. It doesn't use final object's BB as it sounds from your description. Description could be improved here, but we can't do it now because RC should happen today and such a change would break all the translations. We'll look into changing the wording after the release. To get behavior you're looking for you can use Object mapping and point to self. Since it's not strictly speaking a bug, archiving it. As was mentioned we'll try to improve wording after the release.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-06-12 10:14:22 +02:00
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#40580
No description provided.