armory3d / armory3d/armory

Wrong results when different objects with different modifiers share the same mesh

Open
#365 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
3.3k
Forks
353
Avg merge
3d 16h
Merged PRs (30d)
1

Description

As the title says, there are three objects in this scene, Fence 1, 2 and 3. They all share the same mesh, called 'Mesh'. But they apply different modifiers. In this case, these are array modifiers with 2 and 3 repetitions.

This is how it should look like (in Blender):
![image](https://user-images.githubusercontent.com/33040347/33235923-cc09288e-d244-11e7-8309-17f1c970635d.png)

This is what Armory does:
![image](https://user-images.githubusercontent.com/33040347/33235914-98368dd0-d244-11e7-8626-c3a1f4965b8d.png)

[modifiers.zip](https://github.com/armory3d/armory/files/1503504/modifiers.zip)

Contributor guide

No contributing guide indexed for this repository

Research direction

Open modifiers.zip in Blender and reproduce the scene with Fence 1, 2 and 3 sharing the Mesh object data. Compare the Blender result with Armory's output, then trace the Blender integration's handling of per-object array modifiers. Done means each fence preserves its own array repetition count when exported and rendered by Armory.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender
Domain
computer-graphics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.