Object Info node not working in material view #51346
Labels
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#51346
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Windows 10 Pro {Pre Creators Update - deferred}
GTX 1070
Blender Version
2.78c Hash:
e92f235283
Short description of error
Connect Object Info>Random to Hue Saturation Value>Hue to Diffused BSDF>Color to Material Output>Surface
If you duplicate objects with that material, they all stay the same color with same hue. The value of Random is always ZERO.
I searched for two hours and didn't see anyone report this issue.
Updated
RandomProblem.blend
Changed status to: 'Open'
Added subscriber: @antonrr90
Added subscriber: @LazyDodo
Seems to be working fine, please attach a .blend demonstrating the problem
Ojbect Info node > Random is not working, only outputs absolute ZEROto Object Info node > Random is not working, only outputs absolute ZEROAdded subscriber: @zeauro
Is saturation of color of HSV node different of zero ?
By default color of this node is a white with H=0 , S=0, V=0.906.
If saturation stays equal to zero ; you can have a different hue for each object : result will be same white for all.
I updated the Task to include .blend file and screen shots of the problem. If I disconnect the random node and use the hue slider between 0.0 and 1.0 I get all the hues of this color, but with Random connected, it results 0.0 hue. I'm am not great at python, but could someone tell me what I can enter in the Console to see what the value is of Random for each of these objects?
Seems allright in rendered view? material view they are all blue indeed.
This comment was removed by @antonrr90
Is it suppose to do that in material view?
Object Info node > Random is not working, only outputs absolute ZEROto Object Info node not working in material viewAdded subscriber: @MikeErwin
I took a quick peek at the code, everything indicates this should be working, but it's not. @MikeErwin mind taking a quick peek here?
Location works, but anything coming out of the vec3 info in node_object_info from gpu_shader_material.glsl seems to be 0 ( object_index / material_index / random )
I do appreciate you all looking into this, because material view is the only way I can even view some of the large scenes without crashing the process. I love procedural textures, but they really do break the bank when creating large scenes and trying to view them in Render View.
Yes I'll take a look tomorrow, try to figure it out.
Added subscriber: @brecht
Changed status from 'Open' to: 'Archived'
OpenGL viewport support for this node was only added recently in D2425, and will be available in the upcoming 2.79 and daily builds from https://builder.blender.org/download/. It is not supported in 2.78c.
That's good to hear, thanks for the update.