O'Reilly logo

Mastering Oculus Rift Development by Jack Donovan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Displaying dynamic detail with LODs

An LOD chain is simply a collection of versions of a single mesh, all optimized to be viewed at different distances. If the player is far away from the mesh, it can be rendered using the mesh with the smallest level of detail because the player can't see details from far away anyway. As the player gets closer, the LOD chain replaces the mesh with others in the chain that get progressively more detailed.

To see this technique in action, we'll tweak some Simplygon settings that will enable us to write out several different LODs in a chain at one time.

Delete your old compressed StanfordBunny mesh, leaving just the original behind. Reselect the original in your Hierarchy and go back to the Simplygon menu, but select ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required