Edge of objects rendered out jerky when using OpenGL Rendering #33767

Closed
opened 2013-01-05 04:47:44 +01:00 by Daniel Cheng · 7 comments

%%%--- Operating System, Graphics card ---
OS: Ubuntu Release 12.04 (precise) 64-bit, Kernel Linux 3.2.0-35-generic, GNOME 3.4.2
GFX: nVidia FXQuadro 4500 512mb

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

ERROR: Blender 2.65a SVN53473
WORKED: 2.64a r51232

- Short description of error ---

When using OpenGL Rendering the active viewport (click on the little camera button), the edge of object looks jerky in the rendered image. This didn't occur in any previous version.

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

Please refer to the attached images (same .blend file rendered in both 2.64a and 2.65a with OpenGL rendering). The one made with 2.65a SVN53473 (2.65a.jpg) looks jerky.

%%%

%%%--- Operating System, Graphics card --- OS: Ubuntu Release 12.04 (precise) 64-bit, Kernel Linux 3.2.0-35-generic, GNOME 3.4.2 GFX: nVidia FXQuadro 4500 512mb - Blender version with error, and version that worked --- ERROR: Blender 2.65a SVN53473 WORKED: 2.64a r51232 - Short description of error --- When using OpenGL Rendering the active viewport (click on the little camera button), the edge of object looks jerky in the rendered image. This didn't occur in any previous version. - Steps for others to reproduce the error (preferably based on attached .blend file) --- Please refer to the attached images (same .blend file rendered in both 2.64a and 2.65a with OpenGL rendering). The one made with 2.65a SVN53473 (2.65a.jpg) looks jerky. %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%Error caused by alpha premul changes. Seems OpenGL render still uses transparent sky which is not supported now. Will investigate this.%%%

%%%Error caused by alpha premul changes. Seems OpenGL render still uses transparent sky which is not supported now. Will investigate this.%%%

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

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

%%%transparent alpha is useful for project paint 'Quick Edit', reverting rev53570,

Sergey: does some premul conversion need to be done here instead?, this wasnt a problem in previous releases.%%%

%%%transparent alpha is useful for project paint 'Quick Edit', reverting rev53570, Sergey: does some premul conversion need to be done here instead?, this wasnt a problem in previous releases.%%%

%%%Campbell, if you need transparent alpha, color should be set to black. If you want horizon color the most proper way is to make background opaque. In previous releases it wasn't a problem because for image it wasn't clear whether it's straight or premul alpha and it only kind of worked in this case because was displaying premul alpha on a screen configured for straight alpha.

If transparent background is needed for quick edit, make it so background is set to transparent black. But if other color is used for background, alpha shall be 1.0. Otherwise you'll screw up the whole color management.%%%

%%%Campbell, if you need transparent alpha, color should be set to black. If you want horizon color the most proper way is to make background opaque. In previous releases it wasn't a problem because for image it wasn't clear whether it's straight or premul alpha and it only kind of worked in this case because was displaying premul alpha on a screen configured for straight alpha. If transparent background is needed for quick edit, make it so background is set to transparent black. But if other color is used for background, alpha shall be 1.0. Otherwise you'll screw up the whole color management.%%%

%%%Commited another fix (rev53588) which should work for both texture painting and opengl render. Basically:

  • OpenGL render and sequencer's opengl preview will now reflect scene's Alpha Mode
  • Quick Edit will use OpenGL with transparent alpha mode

In my tests seems to be working fine, if some issue will be discovered, i'll reopen the report :)%%%

%%%Commited another fix (rev53588) which should work for both texture painting and opengl render. Basically: - OpenGL render and sequencer's opengl preview will now reflect scene's Alpha Mode - Quick Edit will use OpenGL with transparent alpha mode In my tests seems to be working fine, if some issue will be discovered, i'll reopen the report :)%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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#33767
No description provided.