Black matcap when object located on a curve #37663

Closed
opened 2013-11-30 11:08:35 +01:00 by So3Datel · 19 comments

System Information
Windows 8x64
nVidia GTX 560 1GB

Blender Version
Broken: Blender 2.69

Sorry for my English, I use the Google translator

a short video (58 seconds).
I place an object on a curve, and then the object with the applied Mattsap becomes black
https://www.youtube.com/watch?v=rfIMdqdNFtw
Matcap_Bug.blend

2013-11-30_12-06_Blender.jpg

**System Information** Windows 8x64 nVidia GTX 560 1GB **Blender Version** Broken: Blender 2.69 Sorry for my English, I use the Google translator a short video (58 seconds). I place an object on a curve, and then the object with the applied Mattsap becomes black https://www.youtube.com/watch?v=rfIMdqdNFtw [Matcap_Bug.blend](https://archive.blender.org/developer/F34691/Matcap_Bug.blend) ![2013-11-30_12-06_Blender.jpg](https://archive.blender.org/developer/F34692/2013-11-30_12-06_Blender.jpg)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @AxelMening-4

Added subscriber: @AxelMening-4
Author

Blender 2.69 r60995

Blender 2.69 r60995
Brecht Van Lommel changed title from Black Matkap when object located on the curve to Black matcap when object located on a curve 2013-12-01 14:53:40 +01:00

Added subscriber: @brecht

Added subscriber: @brecht

I couldn't redo the problem yet on OS X. It seems in the video it works for a moment then stops working when you change the matcap, I tried this but still found no problem.

Does it show any error in the Window menu > Console?

I couldn't redo the problem yet on OS X. It seems in the video it works for a moment then stops working when you change the matcap, I tried this but still found no problem. Does it show any error in the Window menu > Console?
Author

I asked other people to check this error on their computers, but no one responded.
If you tell me what to see or where to check for error messages, I'll do it. But I do not see any error messages.
Here's a video, it's about how I noticed it, I did the caterpillar to the tank, according to this principle, and matkap became black. On other objects Matcap works perfectly.
https://www.youtube.com/watch?v=1V1D-00efxE

I asked other people to check this error on their computers, but no one responded. If you tell me what to see or where to check for error messages, I'll do it. But I do not see any error messages. Here's a video, it's about how I noticed it, I did the caterpillar to the tank, according to this principle, and matkap became black. On other objects Matcap works perfectly. https://www.youtube.com/watch?v=1V1D-00efxE
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I can confirm this on my laptop (havent checked my workstation)
This happens on object duplication types "frames", "verts" & "faces" (so doesnt really have to be on a curve) when you change the matcap and stays black even when changed back to the "original". [will try to have a look at code as well...]

my opengl specs

renderer: 'Mesa DRI Intel(R) Sandybridge Mobile '
vendor: 'Intel Open Source Technology Center'
version: '3.0 Mesa 9.2.3'

I can confirm this on my laptop (havent checked my workstation) This happens on object duplication types "frames", "verts" & "faces" (so doesnt really have to be on a curve) when you _change_ the matcap and stays black even when changed back to the "original". [will try to have a look at code as well...] **my opengl specs** renderer: 'Mesa DRI Intel(R) Sandybridge Mobile ' vendor: 'Intel Open Source Technology Center' version: '3.0 Mesa 9.2.3'
Author

one guy with Win 7 x64 said that he's okay. He repeated an example of the video and it all works fine.
Sorry if this is a bug only on my machine

one guy with Win 7 x64 said that he's okay. He repeated an example of the video and it all works fine. Sorry if this is a bug only on my machine

It seems we have it confirmed on two quite different configurations now, so there is most likely some sort of bug involved, like an invalid OpenGL state.

It seems we have it confirmed on two quite different configurations now, so there is most likely some sort of bug involved, like an invalid OpenGL state.
Author
https://www.youtube.com/watch?v=J2xLy2M_G7E
Author

thanks guys))

thanks guys))
Sergey Sharybin self-assigned this 2013-12-02 10:03:41 +01:00

@brecht, can redo the issue here. Will look into it, but maybe i'll need some tips from you.

@brecht, can redo the issue here. Will look into it, but maybe i'll need some tips from you.
Author

Sergey you speak Russian?
if I understand you correctly, and if you need something from me, I'll try to help

Sergey you speak Russian? if I understand you correctly, and if you need something from me, I'll try to help

@AxelMening-4 i indeed speak russian. Nothing needed from you at this point, i've tracked the issue down, but need @brecht's advice on how to best solve the issue.

@brecht, the issue is caused by GLSL used from inside of OpenGL list in function draw_dupli_objects_color. For some reason, shader doesn't work correct here on both integrated intel and nvidia optimus cards. My guess is that this happens because GLSL is being de-initialized after the object was drawn so shader can not access textures when called from the displist. And this actually applies to both matcap and regular GLSL viewport. Will submit patch which works here in a minute.

@AxelMening-4 i indeed speak russian. Nothing needed from you at this point, i've tracked the issue down, but need @brecht's advice on how to best solve the issue. @brecht, the issue is caused by GLSL used from inside of OpenGL list in function `draw_dupli_objects_color`. For some reason, shader doesn't work correct here on both integrated intel and nvidia optimus cards. My guess is that this happens because GLSL is being de-initialized after the object was drawn so shader can not access textures when called from the displist. And this actually applies to both matcap and regular GLSL viewport. Will submit patch which works here in a minute.

This issue was referenced by blender/blender-addons-contrib@4627516884

This issue was referenced by blender/blender-addons-contrib@462751688449108899a821f500cffc03658d6e3d

This issue was referenced by 4627516884

This issue was referenced by 462751688449108899a821f500cffc03658d6e3d

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

Closed by commit 4627516884.

Closed by commit 4627516884.
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
5 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#37663
No description provided.