Page MenuHome

Pass Index in Object Info node does not refresh in Node Tree on change for Object Index
Closed, ResolvedPublic

Description

System Information
Operating system and graphics card

Blender Version
Broken: (example: 2.79= 5bd8ac9, see splash screen)
Worked: (optional)

Pass Index in Object Info node does not refresh in Node Tree on change for Object Index

Exact steps for others to reproduce the error
See the blend file

for reference:

  1. In simple material node setup I connected Pass Index to Color material Input
  2. Initially the Material Index is connected. Try changing Pass Index option in Material Tab of Properties window from 0 to 10 - the color of the material changes from black to white.
  3. Connect now the Object Index (through the Divide node) and change the Pass index in Object Tab of Properties window from 0 to 10 - nothing changes.

You can update the change by selecting different frame or continuously by playing animation.

I expect both changes of Pass Indexes to behave the same way - preferably as in the case of Material Pass Index.

Event Timeline

ronan ducluzeau (zeauro) triaged this task as Confirmed, Medium priority.

Confirmed on ubuntu 16.04 64bits NVIDIA Titan Black with master 5bc2c17 and 2.79aRC.

Brecht Van Lommel (brecht) lowered the priority of this task from Confirmed, Medium to Needs Information from User.

Are we talking about the previews in the node editor? Those are not expected to update when changing the object index, they are only previewing the material in isolation, the object(s) in the scene have no influence.

You can update the change by selecting different frame or continuously by playing animation.

The update is visible in 3DView with material display. But it needs to be forced by a frame change.
The fact that cannot work with node previews is a point in favor to fix refreshing in 3DView.

Brecht Van Lommel (brecht) raised the priority of this task from Needs Information from User to Confirmed, Medium.Feb 18 2018, 7:24 PM

Ok, so this is about GLSL material display.