Issues.00525 - lordmundi/wikidoctest GitHub Wiki

00525: Erroneously culled planet geometry when planet has large elevation deviations

« 00524 | Issues | 00526 »

Summary: Erroneously culled planet geometry when planet has large elevation deviations

Created: 2014–10–14 09:01

Status: Released

Category: Bug

From: frankie

Version: 2.3

Released_In: 2.4

Description:

If you have a planet definition that loads elevation that significantly adjusts the spheroid (such as an oddly shaped moon like Phobos), it seems that certain geometry along the horizon can sometimes disappear or be culled out. This can cause the horizon to blip away as the camera rotates.


Comments

frankie October 15, 2014, at 11:42 AM: This update adds an additional/optional argument to the "elevation" command for a planet layer just after the the "elv_max" field. This last argument is called the "visibility_extend_factor" and can range from -inf to inf. So the syntax for the "elevation" command is now:

elevation(<layer>,<elv_serv>,<elv_scale>,<elv_min>,<elv_max>,<visibility_extend_factor>);

where the values are treated as follows:

  • val = 1.0 is default
  • val > 1.0 extends visibility horizon
  • 0.0 < val <1.0 reduces visibility horizon
  • val <= 0.0 disables the horizon visibility cull

« 00524 | Issues | 00526 »

Associated Commits

| commit | 769c921904eb5441bc0df9bb5472a78bb53201cf [link] | || | Author: | Frank Graffagnino | | Date: | Wed Oct 15 12:50:05 2014 -0500 | | Message: | [@Issue 00525: Updated planet2_earth to document new elevation layer parameter The new parameter to extend or limit the horizon visibility test for oddly shaped planets is documented along with all other parameters in planet2_earth.cfg. @] |

Affected Files:

configs/planet2_earth.cfg | 8 ++++++&plusmn;
 1 file changed, 7 insertions(+), 1 deletion(-)

| commit | 4204068922e3bc129e4f90ceab96bcf0b8a1a319 [link] | || | Author: | Brad Bell | | Date: | Wed Oct 15 10:32:29 2014 -0500 | | Message: | [@Issue 00525: added a feature to allow the tuning of the horizon culling in dsp_planet2 when specifying elevation for a planet layer, this will allow for tweaking the culling function to account for how far elevation deviates from the reference elipsoid shape @] |

Affected Files:

plugin_Darwin/dsp_planet2.so    | Bin 518100 -> 518100 bytes
 plugin_Linux_FC3/dsp_planet2.so | Bin 554371 -> 554415 bytes
 plugin_Win32/dsp_planet2.dll    | Bin 1382537 -> 1382537 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)
⚠️ **GitHub.com Fallback** ⚠️