armory3d / armory

3D Engine with Blender Integration
https://armory3d.org/engine
zlib License
3.07k stars 316 forks source link

Linked LOD? #1483

Open j2l opened 4 years ago

j2l commented 4 years ago

Description I played with linked_proxy and LOD, turning subsurfed cube to strong decimated versions. I tested all the possible ways I think:

Expected behavior See the LOD versions in Krom. Further goal: keeping heavy meshes in blend files and the LOD versions in linked_proxy with Krom reading the original mesh only when needed according to LOD distance, NOT in the linked_proxy blend file viewport. Possible?

System Blender: 2.8 Armory: 2019.11 OS: Win Graphics card: GTX970

Test File https://github.com/armory3d/armory_examples/tree/master/linked_proxy

j2l commented 4 years ago

Linking an already LODed object should work since objects are in Krom:

image

But for any reason, the LOD script doesn't switch visibility by itself, only manual action make it visible.

Edit: When Proxied, LOD seams to work, BUT it doesn't remove the LOD version: image

Edit2: NO! Opening the linked object updates something and now I have 2 LODs

j2l commented 4 years ago

any news?

luboslenco commented 4 years ago

Sorry no news on this.

j2l commented 4 years ago

OK, @luboslenco thanks for the update. I don't know how to dig into armory data. bpy.data...?