Prototype for instancing in node tree #82534

Closed
opened 2020-11-09 14:10:16 +01:00 by Jacques Lucke · 11 comments
Member

Should be able to validate the design so the instancing system can work:

  • Fast
  • Memory efficient
  • Doable in a sprint (1 week even)

912b38001f
b081108819
5877e34eb4

Should be able to validate the design so the instancing system can work: * Fast * Memory efficient * Doable in a sprint (1 week even) 912b38001f b081108819 5877e34eb4
Author
Member

Added subscribers: @JacquesLucke, @dfelinto

Added subscribers: @JacquesLucke, @dfelinto
Jacques Lucke self-assigned this 2020-11-09 14:57:48 +01:00
Contributor

Added subscriber: @KenzieMac130

Added subscriber: @KenzieMac130

Added subscriber: @MiroHorvath

Added subscriber: @MiroHorvath
Author
Member

I made some progress on this. The code is currently in the temp-modifiers-instancing branch. It's still fairly limited, but it's getting there. :)

One issue is that this only works when the modifier is on a point cloud object for now. That is because to make it work, I had to change the way modifiers are evaluated a bit. That is obviously much easier to do for point cloud objects, because there is nothing that I can break. Making it work when the modifier is on a mesh object is a bit more involved, but should still be doable. I'll look into that a bit later.

2020-11-10 16-34-37.mp4

I made some progress on this. The code is currently in the `temp-modifiers-instancing` branch. It's still fairly limited, but it's getting there. :) One issue is that this only works when the modifier is on a point cloud object for now. That is because to make it work, I had to change the way modifiers are evaluated a bit. That is obviously much easier to do for point cloud objects, because there is nothing that I can break. Making it work when the modifier is on a mesh object is a bit more involved, but should still be doable. I'll look into that a bit later. [2020-11-10 16-34-37.mp4](https://archive.blender.org/developer/F9253216/2020-11-10_16-34-37.mp4)
Contributor

Will the instances be allowed to be converted to geometry inside the node tree for further editing?

Will the instances be allowed to be converted to geometry inside the node tree for further editing?

@astrand130 it is a bit early for this question. The prototype is intended to understand what can and can't be done given the requirements above (fast, memory efficient, can be implemented in a short time). This is enough for the use case that the project will support first. Anything beyond that falls outside the scope of the feature at this stage. It can be contemplated, but it won't be used to drive the decisions.

For completion sake, we also talked about what happens to the instances when you plug a subsurf modifier after the Nodes modifier. Or a boolean modifier. Ideally it should all be supported, but it is not a hard requirement for the initial scenarios.

@astrand130 it is a bit early for this question. The prototype is intended to understand what can and can't be done given the requirements above (fast, memory efficient, can be implemented in a short time). This is enough for the use case that the project will support first. Anything beyond that falls outside the scope of the feature at this stage. It can be contemplated, but it won't be used to drive the decisions. For completion sake, we also talked about what happens to the instances when you plug a subsurf modifier *after* the Nodes modifier. Or a boolean modifier. Ideally it should all be supported, but it is not a hard requirement for the initial scenarios.

On an related note, to be involved with the project It is easier to contact any team member on blender.chat to see where to help. This is not one of the nodes we would leave to contributors. But there are other parts that you can contribute to.

On an related note, to be involved with the project It is easier to contact any team member on blender.chat to see where to help. This is not one of the nodes we would leave to contributors. But there are other parts that you can contribute to.

Added subscriber: @randum

Added subscriber: @randum

Instances can be joined but boolean node seems does not work. I guess it should?

{F9398028, size=full}

Instances can be joined but boolean node seems does not work. I guess it should? {[F9398028](https://archive.blender.org/developer/F9398028/boolean_on_instances.gif), size=full}

@randum instancing happens outside the modifier tree. So boolean is not operating in the final evaluated mesh. Once this is committed to master (soon) this information will be present in the user manual entry for the point instance node. Meanwhile you can read about it here .

@randum instancing happens outside the modifier tree. So boolean is not operating in the final evaluated mesh. Once this is committed to master (soon) this information will be present in the user manual entry for the point instance node. Meanwhile you can read about it [here ](http://dalaifelinto.com/geometry-nodes/modeling/modifiers/nodes/point/point_instance.html).

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

Changed status from 'Needs Triage' 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
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#82534
No description provided.