Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOD: Add a LOD script #39

Open
xen2 opened this issue Aug 4, 2018 · 3 comments
Open

LOD: Add a LOD script #39

xen2 opened this issue Aug 4, 2018 · 3 comments
Labels
area-Graphics enhancement New feature or request good first issue Good for newcomers

Comments

@xen2
Copy link
Member

xen2 commented Aug 4, 2018

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: #37 (comment)

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.

@kalysti
Copy link

kalysti commented Dec 10, 2021

Working on a pr. Coming asap..

@kalysti
Copy link

kalysti commented Dec 11, 2021

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

@tebjan
Copy link
Member

tebjan commented Dec 11, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Graphics enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants