Spec. and Alpha Intensity OpenGL issue #34156

Closed
opened 2013-02-07 15:12:40 +01:00 by Moolah Nasreddin · 14 comments

%%%--- Operating System, Graphics card ---

WinXP SP3, 32bit, NVidia GeForce GTS 450, Driver 6.14.12.9610

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

r52844 - works fine
r53348 - crashes Blender right after opening this file (shows it opened and crashes)
r53510 - not working
r54336 - still

- Short description of error ---

Specular Intensity changes improperly in OpenGL viewport

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Just open the file and you'll see

The texture changes Specs but like it's all white without that baked details
The same thing happens with Alpha Int.%%%

%%%--- Operating System, Graphics card --- WinXP SP3, 32bit, NVidia GeForce GTS 450, Driver 6.14.12.9610 - Blender version with error, and version that worked --- r52844 - works fine r53348 - crashes Blender right after opening this file (shows it opened and crashes) r53510 - not working r54336 - still - Short description of error --- Specular Intensity changes improperly in OpenGL viewport - Steps for others to reproduce the error (preferably based on attached .blend file) --- Just open the file and you'll see The texture changes Specs but like it's all white without that baked details The same thing happens with Alpha Int.%%%

Changed status to: 'Open'

Changed status to: 'Open'

%%%P.S. Forgot to mention the same with Diff. Int. I suppose it's in all intensity channels.%%%

%%%P.S. Forgot to mention the same with Diff. Int. I suppose it's in all intensity channels.%%%

%%%Will check on this.%%%

%%%Will check on this.%%%

%%%Fixed in svn rev54374. Thanks for the report, closing.%%%

%%%Fixed in svn rev54374. Thanks for the report, closing.%%%

%%%Fixed rapidly. Thank you!%%%

%%%Fixed rapidly. Thank you!%%%

%%%Hi, Sergey!

r54441 - the issue is here (again or still). And I didn't checked this fix before this revision.
Also tested with r54475 (Buildbot).%%%

%%%Hi, Sergey! r54441 - the issue is here (again or still). And I didn't checked this fix before this revision. Also tested with r54475 (Buildbot).%%%

%%%Please, reopen this bug report. I've just tested the blend with 2.66 RC and it's not solved.
Ton just have told about regressions.. so it is.%%%

%%%Please, reopen this bug report. I've just tested the blend with 2.66 RC and it's not solved. Ton just have told about regressions.. so it is.%%%

%%%Hrrm. Seems tihng became broken again indeed :S%%%

%%%Hrrm. Seems tihng became broken again indeed :S%%%

%%%Ah no. This is all fine actually. This file was saved in trunk after we've made changed to alpha and before my fix to it. In this case it's not so easy to recover all the settings. Basically, you need to disable Use Alpha for image datablock -- texture was set to ignore alpha and now it is image flag.

If you resave this file with 2.65 release and open with current trunk or RC all flags would be nicely converted automatically.%%%

%%%Ah no. This is all fine actually. This file was saved in trunk after we've made changed to alpha and before my fix to it. In this case it's not so easy to recover all the settings. Basically, you need to disable Use Alpha for image datablock -- texture was set to ignore alpha and now it is image flag. If you resave this file with 2.65 release and open with current trunk or RC all flags would be nicely converted automatically.%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

%%%Sorry, Sergey.. but I've tried this. It doesn't help. Then I quickly recreated the same scene with 2.66 RC and it's the same (new file is attached - SpecIssue_Cube.blend).
Can this concrete png file depend on the issue somehow? I'm not a pro in this but just expect "no".
I'm sure you'll be solving this issue in an order of it's priority. For me it's not a major trouble (at least now). I don't know how it shows things in BGE, just didn't tested it.%%%

%%%Sorry, Sergey.. but I've tried this. It doesn't help. Then I quickly recreated the same scene with 2.66 RC and it's the same (new file is attached - SpecIssue_Cube.blend). Can this concrete png file depend on the issue somehow? I'm not a pro in this but just expect "no". I'm sure you'll be solving this issue in an order of it's priority. For me it's not a major trouble (at least now). I don't know how it shows things in BGE, just didn't tested it.%%%

%%%I think you're just misconfiguring setup. The thing is -- if Alpha is enabled for texture, then alpha would be used as influence on Specular intensity and in your case the whole image has got alpha=1, meaning there's no difference in how light affects on the object. If you disable alpha from the texture, then RGB values would be converted to influence (namely, luma of pixel is used for intencity).

The only difference in setting such a scene in comparison with previous release is that earlier you could have been controlling Alpha individually for textures (Image Sampling panel. Alpha -> Use), now it is a per-image setting, which is controlled in image settings panel and option is called Use Alpha.%%%

%%%I think you're just misconfiguring setup. The thing is -- if Alpha is enabled for texture, then alpha would be used as influence on Specular intensity and in your case the whole image has got alpha=1, meaning there's no difference in how light affects on the object. If you disable alpha from the texture, then RGB values would be converted to influence (namely, luma of pixel is used for intencity). The only difference in setting such a scene in comparison with previous release is that earlier you could have been controlling Alpha individually for textures (Image Sampling panel. Alpha -> Use), now it is a per-image setting, which is controlled in image settings panel and option is called Use Alpha.%%%

%%%Oh, yeah! It works ) Thank you for clearance!

Now I just can suggest to add an event:

if "Use Alpha" is ON and if spec. Intensity was clicked (from OFF to ON state)
then the message "to set the Color to Intensity influence check OFF Use Alpha in Image section" appears.

A kind of this. And for other Intensity (and Alpha) check boxes too. This will be helpful for all newbies (and not only maybe).%%%

%%%Oh, yeah! It works ) Thank you for clearance! Now I just can suggest to add an event: if "Use Alpha" is ON and if spec. Intensity was clicked (from OFF to ON state) then the message "to set the Color to Intensity influence check OFF Use Alpha in Image section" appears. A kind of this. And for other Intensity (and Alpha) check boxes too. This will be helpful for all newbies (and not only maybe).%%%

%%%when a texture is used for diffuse color, and its alpha is used for specular intensity, alpha will affect also the diffuse color. and an image can't be used in one texture with alpha enabled and in another with alpha disabled, because alpha is set per image.%%%

%%%when a texture is used for diffuse color, and its alpha is used for specular intensity, alpha will affect also the diffuse color. and an image can't be used in one texture with alpha enabled and in another with alpha disabled, because alpha is set per image.%%%
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#34156
No description provided.