Geometry nodes. Attribute mix work wrong way #84106

Closed
opened 2020-12-24 11:11:10 +01:00 by Vyacheslav Kobozev · 11 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-23 18:13, hash: c9efb54240

Short description of error
Using Attribute Mix produces on Vertex Groups produces incorrect results.

Exact steps for others to reproduce the error

  • Open the attached file.
  • Select Result vertex groups in the Object Data Properties
    You should notice that at factor 1 the result does not match the input from Painted. The result looks equal at a factor of about 0.58.

mixbad.blend

As title says.
I am mixing two vertex groups with zeros and random values and Factor=1. So result should be equal to second group.
But it is not.

2020-12-24_13-17-04.mp4

**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: GeForce GTX 660 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-23 18:13, hash: `c9efb54240` **Short description of error** Using *Attribute Mix* produces on Vertex Groups produces incorrect results. **Exact steps for others to reproduce the error** - Open the attached file. - Select *Result* vertex groups in the *Object Data Properties* You should notice that at factor 1 the result does not match the input from *Painted*. The result looks equal at a factor of about 0.58. [mixbad.blend](https://archive.blender.org/developer/F9532596/mixbad.blend) As title says. I am mixing two vertex groups with zeros and random values and Factor=1. So result should be equal to second group. But it is not. [2020-12-24_13-17-04.mp4](https://archive.blender.org/developer/F9527896/2020-12-24_13-17-04.mp4)

Added subscriber: @Vyach

Added subscriber: @Vyach

I suppose, randomize cause issues.
2020-12-24_13-24-09.mp4

I suppose, randomize cause issues. [2020-12-24_13-24-09.mp4](https://archive.blender.org/developer/F9527908/2020-12-24_13-24-09.mp4)

Added subscriber: @rjg

Added subscriber: @rjg

I don't think this is a bug. If you randomize the attribute to values between 0 and 1 that was formerly all zero and then mix it with another attribute, the result will not be all zero anymore. Could you please explain what the expected result is with regards to the second video you've posted?

I don't think this is a bug. If you randomize the attribute to values between 0 and 1 that was formerly all zero and then mix it with another attribute, the result will not be all zero anymore. Could you please explain what the expected result is with regards to the second video you've posted?

@rjg even without randomizer I have wrong result. I am mixing 0 and gradient and result is different from that gradient
mixbad.blend
2020-12-28_05-06-36.mp4

I expect, mix should work like this custom nodegroup
mixgood.blend

2020-12-28_05-12-41.mp4

@rjg even without randomizer I have wrong result. I am mixing 0 and gradient and result is different from that gradient [mixbad.blend](https://archive.blender.org/developer/F9532596/mixbad.blend) [2020-12-28_05-06-36.mp4](https://archive.blender.org/developer/F9532597/2020-12-28_05-06-36.mp4) I expect, mix should work like this custom nodegroup [mixgood.blend](https://archive.blender.org/developer/F9532600/mixgood.blend) [2020-12-28_05-12-41.mp4](https://archive.blender.org/developer/F9532606/2020-12-28_05-12-41.mp4)

I can't reproduce the problem with a build based on 960a0b892c 2020-12-27 14:55 on Linux. Could you please test this again with a current daily build? You seem to be using a different color gradient for display in weight painting (normally zero is blue), perhaps modified through an add-on? Does this also happen when you start Blender with factory defaults?

I can't reproduce the problem with a build based on `960a0b892c` 2020-12-27 14:55 on Linux. Could you please test this again with a current daily build? You seem to be using a different color gradient for display in weight painting (normally zero is blue), perhaps modified through an add-on? Does this also happen when you start Blender with factory defaults?

@rjg 2020-12-28_15-39-55.mp4
Already tested. Same result.

@rjg [2020-12-28_15-39-55.mp4](https://archive.blender.org/developer/F9533860/2020-12-28_15-39-55.mp4) Already tested. Same result.

My bad, I see the problem now. That is indeed strange, you get approximately equal results at about 0.58.

My bad, I see the problem now. That is indeed strange, you get approximately equal results at about 0.58.

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

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

This issue was referenced by 17be2149a8

This issue was referenced by 17be2149a805a3f43a10ff6f800ada429889aa6b
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Jacques Lucke self-assigned this 2021-01-04 10:44:25 +01: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
4 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#84106
No description provided.