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 /> #393

Open
4 tasks done
JaimeTorrealba opened this issue May 1, 2024 · 0 comments
Open
4 tasks done

<LOD /> #393

JaimeTorrealba opened this issue May 1, 2024 · 0 comments
Assignees
Labels
p2-nice-to-have Not breaking anything but nice to have (priority)

Comments

@JaimeTorrealba
Copy link
Member

Description

As a developer using Tres I would like to have different level of detailed mesh depending on the distance of the camera.

ThreeJs provide us with LOD. Which we can easily adapt it

Suggested solution

Could be based on: https://github.com/pmndrs/drei#detailed

Other alternatives are considered (I believe we can be a little more intuitive attaching the mesh directly and no by position)

Alternative

Also, it could be a composable like useLevelOfDetail

Additional context

No response

Validations

@JaimeTorrealba JaimeTorrealba added the p2-nice-to-have Not breaking anything but nice to have (priority) label May 1, 2024
@JaimeTorrealba JaimeTorrealba changed the title <TresDetailed /> <Detailed /> May 8, 2024
@JaimeTorrealba JaimeTorrealba changed the title <Detailed /> <LOD /> Aug 5, 2024
@JaimeTorrealba JaimeTorrealba self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-nice-to-have Not breaking anything but nice to have (priority)
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

1 participant