Face instancing giving unexpected behaviour in combination with the mirror modifier and various deform modifiers #88708

Closed
opened 2021-05-31 16:17:58 +02:00 by Mr Chocolate Bar · 5 comments

System Information
Operating system:
Win10
Graphics card:

Blender Version
Broken: 3.0.0 Alpha
Worked: -

Short description of error

Mirroring & using deform modifiers result in unpredictable results when using "face instancing".

As you can see in the screenshot, the "instanced" geometry (the children of the object using face instancing) wont mirror accordingly. Similar issues appear when using many of the deform modifiers,
image.png

Expected behaviour
Face instancing should be able to use in combination with modifiers, and the results should display appropriately.

Exact steps for others to reproduce the error
Create a new blend file, add a plane & enable face instancing, parent the default cube under it and move it so you can see the plane & cube separately.

Now add another mesh, move it to a location of choice & add a mirror modifier to our face instance plane & set the mirror object to this new mesh.

Rotate the default cube by some odd value, say 25 degrees on every angle and apply the rotation.

Now you should be able to clearly see how the cube doesnt mirror properly when instanced with the face instancing.

This can also be reproduced with most deform modifiers.

If you apply the modifiers of our face instanced plane, enable Viewport > Edit mode > Overlays > Developer > Indices you will see something like this:
image.png
and from here we can make a guess that likely, the face instancing algorithm uses face instances to determine the rotation of the face. Which gets broken by the mirror modifier (and several deform modifiers).

**System Information** Operating system: Win10 Graphics card: **Blender Version** Broken: 3.0.0 Alpha Worked: - **Short description of error** Mirroring & using deform modifiers result in unpredictable results when using "face instancing". As you can see in the screenshot, the "instanced" geometry (the children of the object using face instancing) wont mirror accordingly. Similar issues appear when using many of the deform modifiers, ![image.png](https://archive.blender.org/developer/F10150832/image.png) **Expected behaviour** Face instancing should be able to use in combination with modifiers, and the results should display appropriately. **Exact steps for others to reproduce the error** Create a new blend file, add a plane & enable face instancing, parent the default cube under it and move it so you can see the plane & cube separately. Now add another mesh, move it to a location of choice & add a mirror modifier to our face instance plane & set the mirror object to this new mesh. Rotate the default cube by some odd value, say 25 degrees on every angle and apply the rotation. Now you should be able to clearly see how the cube doesnt mirror properly when instanced with the face instancing. This can also be reproduced with most deform modifiers. If you apply the modifiers of our face instanced plane, enable Viewport > Edit mode > Overlays > Developer > Indices you will see something like this: ![image.png](https://archive.blender.org/developer/F10150849/image.png) and from here we can make a guess that likely, the face instancing algorithm uses face instances to determine the rotation of the face. Which gets broken by the mirror modifier (and several deform modifiers).

Added subscriber: @Olliver

Added subscriber: @Olliver

Seems there is an abandoned branch for this already: https://developer.blender.org/D8445

Seems there is an abandoned branch for this already: https://developer.blender.org/D8445
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

I think this is actually to be considered as a Known Limitation

https://docs.blender.org/manual/en/dev/scene_layout/object/properties/instancing/faces.html#limitations-considerations

But yeah, since we already have #77575 (collection instance rotates 90 degrees automatically when being instantiated by another object with mirror modifier) I think it makes sense to merge these reports.
And using geometry nodes might get the recommended way of doing this (even though the face method is a lot quicker to set up)

I think this is actually to be considered as a Known Limitation https://docs.blender.org/manual/en/dev/scene_layout/object/properties/instancing/faces.html#limitations-considerations But yeah, since we already have #77575 (collection instance rotates 90 degrees automatically when being instantiated by another object with mirror modifier) I think it makes sense to merge these reports. And using geometry nodes might get the recommended way of doing this (even though the face method is a lot quicker to set up)
Member

Closed as duplicate of #77575

Closed as duplicate of #77575
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
2 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#88708
No description provided.