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

Feature request: LOD #8

Open
keiya01 opened this issue Jun 24, 2023 · 0 comments
Open

Feature request: LOD #8

keiya01 opened this issue Jun 24, 2023 · 0 comments

Comments

@keiya01
Copy link
Owner

keiya01 commented Jun 24, 2023

Overview

Implement LOD(Level Of Detail). This helps the performance when loading the geometry.

Three.js has already implemented this feature by LOD API.

const lod = new THREE.LOD();

//Create spheres with 3 levels of detail and create new LOD levels for them
for( let i = 0; i < 3; i++ ) {
	const geometry = new THREE.IcosahedronGeometry( 10, 3 - i )
	const mesh = new THREE.Mesh( geometry, material );
	lod.addLevel( mesh, i * 75 );
}

scene.add( lod );

Bevy doesn't supported it yet, but there is an issue for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant