stride3d/stride

LOD: Add a LOD script

Open

#39 aperta il 4 ago 2018

Vedi su GitHub
 (1 commento) (6 reazioni) (0 assegnatari)C# (886 fork)batch import
area-Graphicsenhancementgood first issue

Metriche repository

Star
 (6001 star)
Metriche merge PR
 (Merge medio 10g 11h) (22 PR mergiate in 30 g)

Descrizione

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.

Guida contributor