Incorrect display normal-map on model with 2 UV's #33810

Closed
opened 2013-01-08 22:13:53 +01:00 by Michael Soluyanov · 8 comments

%%%--- Operating System, Graphics card ---
Ubuntu 12.10

- Blender version with error, and version that worked ---

Tested on:
2.56 (from blender.org)
r53596 (ppa)
r53473 (ppa)

- Short description of error ---

Even when UV-channel is set, normal-map displayed differently, while selecting different UV-sets in "Object Data"

- Steps for others to reproduce the error (preferably based on attached .blend file) ---
  1. Turn on GLSL materials.
  2. Open "Object Data" buttons and try to select different UV-sets.
  3. You should see what the normals (pimples) turn inside.

%%%

%%%--- Operating System, Graphics card --- Ubuntu 12.10 - Blender version with error, and version that worked --- Tested on: 2.56 (from blender.org) r53596 (ppa) r53473 (ppa) - Short description of error --- Even when UV-channel is set, normal-map displayed differently, while selecting different UV-sets in "Object Data" - Steps for others to reproduce the error (preferably based on attached .blend file) --- 1) Turn on GLSL materials. 2) Open "Object Data" buttons and try to select different UV-sets. 3) You should see what the normals (pimples) turn inside. %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

%%%Same in render.%%%

%%%Same in render.%%%

%%%Seems tangent space calculation always uses active UV layer and think it's better be using render layer instead. At least for render it shall use it. Here's a patch which solve this.

Brecht, couple of questions:

  • Is it indeed bug here or it's actually how it's intended to work? (which is confusing actually)
  • Shouldn't we support multiple tangent spaces?
  • Afraid this patch will break some files..
  • Which UV layer should be used for viewport render?%%%
%%%Seems tangent space calculation always uses active UV layer and think it's better be using render layer instead. At least for render it shall use it. Here's a patch which solve this. Brecht, couple of questions: - Is it indeed bug here or it's actually how it's intended to work? (which is confusing actually) - Shouldn't we support multiple tangent spaces? - Afraid this patch will break some files.. - Which UV layer should be used for viewport render?%%%
Author
Member

%%%It is big problem for me, because I use other UV layer for coloring objects on particle system "Base_pero" using "From Dupli" method. So for normals needs one layer, for "From Dupli" - second one%%%

%%%It is big problem for me, because I use other UV layer for coloring objects on particle system "Base_pero" using "From Dupli" method. So for normals needs one layer, for "From Dupli" - second one%%%

%%%Ideally multiple tangent spaces should be supported, but it indeed was not implemented. This patch would probably break quite a few existing files, better solution would be to implement this properly but at the moment not sure how difficult it would be.%%%

%%%Ideally multiple tangent spaces should be supported, but it indeed was not implemented. This patch would probably break quite a few existing files, better solution would be to implement this properly but at the moment not sure how difficult it would be.%%%

%%%Brecht, by "implement this properly" you mean add support of multiple tangent spaces?

I've looked into shadeinput and seems it first calculates tangent space and then applies all the textures. If it's indeed so afraid i'll need to rewrite some areas here :) If you think it worth doing i could spend time supporting this.%%%

%%%Brecht, by "implement this properly" you mean add support of multiple tangent spaces? I've looked into shadeinput and seems it first calculates tangent space and then applies all the textures. If it's indeed so afraid i'll need to rewrite some areas here :) If you think it worth doing i could spend time supporting this.%%%

%%%This is probably not so much difficult to support, but it requires quite a few of changes in BI renderer. I'll move the report to our TODO list (http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render#Render_Engine) since it's not actual bug, but just a limitation of current system.%%%

%%%This is probably not so much difficult to support, but it requires quite a few of changes in BI renderer. I'll move the report to our TODO list (http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Render#Render_Engine) since it's not actual bug, but just a limitation of current system.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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
3 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#33810
No description provided.