Appleseed interactive render - transformation distorted after Blender 2.82a release #78502

Closed
opened 2020-07-01 17:23:04 +02:00 by Leonard Siebeneicher · 10 comments

System Information
Operating system: Linux-5.4.0-39-generic-x86_64-with-debian-bullseye-sid 64 Bits
Blenderseed on Linux and Windows affected.

Graphics card: GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-30 20:02, hash: a3e6b7c2ce
(All Blender releases since 2.82a are affected.)
Worked: Blender 2.82a

Short description of error
Blenderseed addon interactive rendering did work with Blender 2.82a. Using newer Blender releases, same Blenderseed addon shows odd transformations in interactive rendering.

Exact steps for others to reproduce the error
Use recent 'blenderseed' addon. (currently, windows-only).

Load this scene …
appleseeed_cube.blend
… or use default cupe with render engine set to appleseed.

Switch to interactive render mode. Switch to Solid render mode. Switch back to interactive render mode. Suddenly, interactive rendering shows distorted transformations.

Here you can see bug in action …
as_bug.mp4

Same Blenderseed addon does work fine with Blender 2.82a. In Blender support chat, someone told me to send this Bug report.

This bug is registered for Blenderseed.
https://github.com/appleseedhq/blenderseed/issues/519

**System Information** Operating system: Linux-5.4.0-39-generic-x86_64-with-debian-bullseye-sid 64 Bits Blenderseed on Linux and Windows affected. Graphics card: GeForce RTX 2060 SUPER/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.100 **Blender Version** Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-30 20:02, hash: `a3e6b7c2ce` (All Blender releases since 2.82a are affected.) Worked: Blender 2.82a **Short description of error** Blenderseed addon interactive rendering did work with Blender 2.82a. Using newer Blender releases, same Blenderseed addon shows odd transformations in interactive rendering. **Exact steps for others to reproduce the error** Use recent 'blenderseed' addon. (currently, windows-only). Load this scene … [appleseeed_cube.blend](https://archive.blender.org/developer/F8657213/appleseeed_cube.blend) … or use default cupe with render engine set to appleseed. Switch to interactive render mode. Switch to Solid render mode. Switch back to interactive render mode. Suddenly, interactive rendering shows distorted transformations. Here you can see bug in action … [as_bug.mp4](https://archive.blender.org/developer/F8657218/as_bug.mp4) Same Blenderseed addon does work fine with Blender 2.82a. In Blender support chat, someone told me to send this Bug report. This bug is registered for Blenderseed. https://github.com/appleseedhq/blenderseed/issues/519

Added subscriber: @siebeneicher

Added subscriber: @siebeneicher
Contributor

Added subscriber: @povmaniac

Added subscriber: @povmaniac
Contributor

I think is not a bug... seems a fault in your viewport quad + zoom + aspect ratio code.

I think is not a bug... seems a fault in your viewport quad + zoom + aspect ratio code.

Hi Pedro,

I am no Blenderseed dev.

Blenderseed addon works flawlessly with Blender 2.82a.

I like to understand why same addon (installed from same zip file) does show this behaviour on more recent Blender releases.

It appears to me that something changed on Blender since 2.82a which does break Blenderseed preview.

Hi Pedro, I am no Blenderseed dev. Blenderseed addon works flawlessly with Blender 2.82a. I like to understand why same addon (installed from same zip file) does show this behaviour on more recent Blender releases. It appears to me that something changed on Blender since 2.82a which does break Blenderseed preview.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Richard Antalik self-assigned this 2020-07-02 04:35:09 +02:00

Thanks for report, but unfortunately we don't have resources to study functionality of 3rd party addons.

If you could point exactly to where problem is and make simple python script we would be able to accept this report.

Since you already reported this on blenderseed tracker, we will wait on their report to us if there is bug on our side

Thanks for report, but unfortunately we don't have resources to study functionality of 3rd party addons. If you could point exactly to where problem is and make simple python script we would be able to accept this report. Since you already reported this on blenderseed tracker, we will wait on their report to us if there is bug on our side

In Blender python shell, we could create an y-up transformation matrix …

> m = Matrix([[1,0,0],[0,0,-1], [0,1,0]])
> m

Matrix(((1.0, 0.0, 0.0),
        (0.0, 0.0, -1.0),
        (0.0, 1.0, 0.0)))

Now, we chain y-up transformations

> m @ m

Matrix(((1.0, 0.0, 0.0),
        (0.0, -1.0, 0.0),
        (0.0, 0.0, -1.0)))

This matrix matches how Blenderseeds interactive view transformation behaves. Y- and Z-Axis gets mirrored.

Is it possible, that there was a change from Blender 2.82a to Blender 2.83+, in the sense that more recent Blender does y-up transformation itself?

In Blender python shell, we could create an y-up transformation matrix … ``` > m = Matrix([[1,0,0],[0,0,-1], [0,1,0]]) > m Matrix(((1.0, 0.0, 0.0), (0.0, 0.0, -1.0), (0.0, 1.0, 0.0))) ``` Now, we chain y-up transformations ``` > m @ m Matrix(((1.0, 0.0, 0.0), (0.0, -1.0, 0.0), (0.0, 0.0, -1.0))) ``` This matrix matches how Blenderseeds interactive view transformation behaves. Y- and Z-Axis gets mirrored. Is it possible, that there was a change from Blender 2.82a to Blender 2.83+, in the sense that more recent Blender does y-up transformation itself?

Added subscriber: @jdent02

Added subscriber: @jdent02

Hi, I'm the primary developer for blenderseed.

After some further exploration we think the issue is on our side with our callback method for interactive rendering. Has anything changed under the hood with OpenGL from 2.82 to 2.83?

Hi, I'm the primary developer for blenderseed. After some further exploration we think the issue is on our side with our callback method for interactive rendering. Has anything changed under the hood with OpenGL from 2.82 to 2.83?
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
4 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#78502
No description provided.