stride icon indicating copy to clipboard operation
stride copied to clipboard

LOD: Add a LOD script

Open xen2 opened this issue 5 years ago • 3 comments

Idea is to allow users to have LOD with a small custom script, while a better system is being designed. Starting point for such a script: https://github.com/xenko3d/xenko/issues/37#issuecomment-410456584

It could either be an asset template or a component in the Engine class (first option is maybe better so that it is not hardcoded in engine and user can customize/extend it).

Probably need to adjust how to find current camera, and ideally gamestudio should automatically fill the ModelComponent to the one contained in the Entity this script is added to.

xen2 avatar Aug 04 '18 15:08 xen2

Working on a pr. Coming asap..

kalysti avatar Dec 10 '21 19:12 kalysti

Auto Lod is ready to rumble. Currently there is just one issue. For some reasons i cant generate Thumbnails. So mby somebody else can help me to understand the issue. image

kalysti avatar Dec 11 '21 13:12 kalysti

That's great news, thank you and welcome to the community!

If you make a PR and mark it as draft we can look into the code and make better suggestions. You could also point to the code where you want to generate the thumbnail.

tebjan avatar Dec 11 '21 14:12 tebjan