stride3d/stride

LOD: Add a LOD script

Open

#39 opened on Aug 4, 2018

View on GitHub
 (1 comment) (6 reactions) (0 assignees)C# (6,001 stars) (886 forks)batch import
area-Graphicsenhancementgood first issue

Description

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.

Contributor guide