Page MenuHome

Game Engine: Level of detail support and tools
ClosedPublic

Authored by Daniel Stokes (kupoman) on Dec 16 2013, 9:37 AM.

Details

Summary

Levels of detail can be added and modified in the object panel. The object panel also contains new tools for generating levels of detail, setting up levels of detail based on object names (useful for importing), and clearing an object's level of detail settings. This is meant as a game engine feature, though the level of details settings can be previewed in the viewport.

Diff Detail

Event Timeline

Daniel Stokes (kupoman) updated this revision to Unknown Object (????).Dec 16 2013, 9:39 AM

Fixing a stray white space change.

Moving this over to the new code review system. The previous code review and discussion can be found here:
https://codereview.appspot.com/12216043/

Thanks, can't remember exactly, maybe I was waiting for the expand_doit stuff, but that seems to have been solved now. I think that if this starts to get used for games you will want a "hysteresis threshold" but it shouldn't block this getting committed.

Couldn't find more issues looking over the code and doing some quick tests.

source/blender/blenkernel/intern/object.c
923

Unused variable, gives a warning here.

Huh, I thought that you got the ok to commit this to master a while ago already.

Daniel Stokes (kupoman) updated this revision to Unknown Object (????).Dec 17 2013, 11:23 PM

Removing an unused variable.