it should be possible to scale lodNode distances based on camera FOV (patch included)
Bug #1009603 reported by
Josh Enes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Wishlist
|
rdb |
Bug Description
This patch adds the ability to scale the distances set on lodNodes per-camera.
This allows for a developer to adjust all LOD distances with one setting for example to have a user-defined LOD config option.
It also allows to push back the LOD distances when the FOV of the camera is changed for example if the game has a sniper scope or binoculars this will allow the developer to avoid having the low-detail models shown even though they are very large on the screen.
The added function is set_lod_
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Is there something I can do to improve this patch to make it more acceptable to be committed? I feel that this is a useful and needed feature for Panda.