Warn about too high LOD
parent
8dc81d0f94
commit
2cefc396cf
|
|
@ -3024,6 +3024,14 @@ void login_show()
|
|||
//LLPanelLogin::show( gViewerWindow->getWindowRectScaled(), login_callback, NULL );
|
||||
FSPanelLogin::show( gViewerWindow->getWindowRectScaled(), login_callback, NULL );
|
||||
// </FS:Ansariel> [FS Login Panel]
|
||||
|
||||
// <FS:PP> Warning about too high LOD on startup
|
||||
if (gSavedSettings.getF32("RenderVolumeLODFactor") >= 4.0f)
|
||||
{
|
||||
LLNotificationsUtil::add("RenderVolumeLODFactorWarning");
|
||||
}
|
||||
// </FS:PP>
|
||||
|
||||
}
|
||||
|
||||
// Callback for when login screen is closed. Option 0 = connect, option 1 = quit.
|
||||
|
|
|
|||
|
|
@ -284,6 +284,14 @@ static bool handleVolumeLODChanged(const LLSD& newvalue)
|
|||
{
|
||||
LLVOVolume::sLODFactor = (F32) newvalue.asReal();
|
||||
LLVOVolume::sDistanceFactor = 1.f-LLVOVolume::sLODFactor * 0.1f;
|
||||
|
||||
// <FS:PP> Warning about too high LOD on LOD change
|
||||
if (LLVOVolume::sLODFactor >= 4.0f)
|
||||
{
|
||||
LLNotificationsUtil::add("RenderVolumeLODFactorWarning");
|
||||
}
|
||||
// </FS:PP>
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -13190,4 +13190,18 @@ Due to server load, mass toggling online status visibility can take a while to b
|
|||
name="okignore"
|
||||
yestext="OK"/>
|
||||
</notification>
|
||||
<notification
|
||||
icon="alert.tga"
|
||||
name="RenderVolumeLODFactorWarning"
|
||||
type="alert">
|
||||
WARNING: Your Level of Detail (LOD) seems to be set to a high value.
|
||||
|
||||
Values higher than 8 are meaningless and give no improvement. You should set this to no higher than 4, and only in exceptional situations (like taking high-resolution photos). Setting this too high seriously lowers your graphics performance.
|
||||
|
||||
For everyday use LOD set to 2 should suffice. If you own some objects that look deformed with such value, then you should consider replacing them.
|
||||
<usetemplate
|
||||
ignoretext="Warn about high Level of Detail"
|
||||
name="okignore"
|
||||
yestext="OK"/>
|
||||
</notification>
|
||||
</notifications>
|
||||
|
|
|
|||
|
|
@ -4934,4 +4934,12 @@ Czy chcesz autoryzować [APP_NAME] do ładowania zdjęć na Flickr?
|
|||
Ze względu na obciążenie serwera masowa zmiana widoczności online może zająć trochę czasu. Prosimy o cierpliwość.
|
||||
<usetemplate ignoretext="Informuj mnie, że masowa zmiana widoczności online może zająć trochę czasu" name="okignore" />
|
||||
</notification>
|
||||
<notification name="RenderVolumeLODFactorWarning">
|
||||
UWAGA: Wygląda na to, że poziom detali (LOD) jest ustawiony na wysoką wartość.
|
||||
|
||||
Wartości wyższe niż 8 są bez znaczenia i nie powodują żadnej poprawy. Powinieneś/aś ustawić go na nie więcej niż 4, a i to tylko w wyjątkowych sytuacjach (jak robienie zdjęć w wysokiej rozdzielczości). Ustawienie zbyt wysokiej wartości poważnie obniża wydajność grafiki.
|
||||
|
||||
Do codziennego użytku LOD ustawiony na 2 powinien wystarczyć. Jeśli posiadasz obiekty, które wyglądają na zdeformowane z taką wartością, to powinieneś/aś rozważyć ich wymianę.
|
||||
<usetemplate ignoretext="Ostrzegaj o wysokim poziomie detali" name="okignore" />
|
||||
</notification>
|
||||
</notifications>
|
||||
|
|
|
|||
Loading…
Reference in New Issue