Improve performance for Render Engines Addons #90471

Closed
opened 2021-08-06 01:32:55 +02:00 by Brian Savery (AMD) · 10 comments

Status: Ideas from this thread: https://devtalk.blender.org/t/render-engine-add-ons-performance/19251/7 to improve speed and ease for external render engines to work with Blender


Team
Commissioner: @brecht
Project leader: @BrianSavery
Project members: - Optional other developers, can be in multiple projects at once.

Description
Big picture: There are certain issues external renderers working with Blender have that Cycles does not due to it's access to the blender C data structures. Render Engine Addons have to work through the Python API and thus have limited performance. This "TODO" will include various subtasks for improving the render engine interface.

Use cases: Or possible things that could be improved

Branch: - Existing patches or branches.


Relevant links:

**Status:** Ideas from this thread: https://devtalk.blender.org/t/render-engine-add-ons-performance/19251/7 to improve speed and ease for external render engines to work with Blender --- **Team** **Commissioner:** @brecht **Project leader:** @BrianSavery **Project members:** `-` *Optional other developers, can be in multiple projects at once.* **Description** **Big picture:** There are certain issues external renderers working with Blender have that Cycles does not due to it's access to the blender C data structures. Render Engine Addons have to work through the Python API and thus have limited performance. This "TODO" will include various subtasks for improving the render engine interface. **Use cases**: Or possible things that could be improved * Faster reading of mesh vertices (as numpy array?) * Faster reading of hair or paritcles rather than using particle_system.co_hair(...) * Pre-load image data so that image.pixels.foreach_get() is not blocking. (see https://devtalk.blender.org/t/render-engine-add-ons-performance/19251/9) * Detecting deleted objects? **Branch**: `-` *Existing patches or branches.* --- **Relevant links**: * `-` https://devtalk.blender.org/t/render-engine-add-ons-performance/19251/
Brian Savery (AMD) self-assigned this 2021-08-06 01:32:55 +02:00
Author
Member

Added subscribers: @BrianSavery, @brecht

Added subscribers: @BrianSavery, @brecht

Added subscriber: @GeorgiaPacific

Added subscriber: @GeorgiaPacific

Added subscriber: @rsgnz

Added subscriber: @rsgnz
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Will confirm just to get this out of the Needs Triage status and this has @BrianSavery assigned.
Note that reading the devtalk thread, this does not mean it is officially confirmed to have core devs involved afaics.

Will confirm just to get this out of the `Needs Triage` status and this has @BrianSavery assigned. Note that reading the devtalk thread, this does not mean it is officially confirmed to have core devs involved afaics.

Added subscriber: @AlexeyAdamitsky

Added subscriber: @AlexeyAdamitsky

Added subscriber: @MauriceRaybaud

Added subscriber: @MauriceRaybaud

Added subscriber: @rotoglup

Added subscriber: @rotoglup
Brecht Van Lommel added this to the Render & Cycles project 2023-02-07 19:08:06 +01:00
Philipp Oeser removed the
Interest
Render & Cycles
label 2023-02-09 14:02:24 +01:00

I think this is superseded by Hydra support, which is now the preferred way for renderers to integrate with better performance than the Python API.

I think this is superseded by Hydra support, which is now the preferred way for renderers to integrate with better performance than the Python API.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-11-03 16:35:42 +01:00
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
8 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#90471
No description provided.