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

<Detailed /> #393

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

<Detailed /> #393

JaimeTorrealba opened this issue May 1, 2024 · 0 comments
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
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
None yet
Development

No branches or pull requests

1 participant