Commit Graph

229 Commits (d4e9604700a1dbae3dbce58a3be0fda1465fd39c)

Author SHA1 Message Date
Graham Linden graham@lindenlab.com 190fa8614c Remove MSVC debug pragmas and comment out code to dump example grids.xml file w/ hard-coded grids. 2018-05-18 23:16:56 +01:00
Graham Linden graham@lindenlab.com 8082cb8668 Make nighttime elev constant _SIN, since it uses a sin value.
Put that constant in sky settings and eliminate dups.

Fix up logic around when to use heavenly bodies (fix broken moon in basic sky).

Remove unnecessary clip to horizon.

Put in temp code to ena/dis sun/moon based on LLEnvironment::getIsDaytime().
2018-05-18 23:14:56 +01:00
Graham Linden graham@lindenlab.com 39fb9cc9b4 Fix Mie Config validation in sky settings.
Start cleanup of heavenly body rendering.
2018-05-18 00:23:58 +01:00
Graham Linden graham@lindenlab.com 4d4a7dfb9f Merge and disable new sky render. 2018-05-16 23:45:56 +01:00
Rider Linden 3925e37532 Fix the blend code to record the amount of the blend and to store what is being blended towards. 2018-05-15 17:17:51 -07:00
Graham Linden graham@lindenlab.com 79e4a8c28a Fix up atmospheric helpers and transport shader for adv atmo path.
Basic hook-up of sky settings to llatmosphere model.

Moved mie aniso to be a top-level setting instead of a per-mie-layer setting.
2018-03-14 00:11:19 +01:00
Graham Linden graham@lindenlab.com 057dda6afe Fix storing legacy haze parameters in inner map by fixing
parameter update to not expect them at top level of LLSD for sky settings.
2018-03-13 17:21:10 +01:00
Graham Linden graham@lindenlab.com 54ee5bfc05 Remove MSVC-only debug pragma. 2018-03-08 17:46:42 +00:00
Graham Linden graham@lindenlab.com 89d71617f0 Prepare for validation and storage of legacy haze settings (still pass-through for now).
Isolate more use of legacy haze params behind wrapper funcs.
2018-03-08 17:45:43 +00:00
Graham Linden graham@lindenlab.com 087e210825 Add LLVoSky wrapper for current env sky light direction.
Make LLVo classes use LLVoSky wrappers instead of direct access.

Isolate more legacy haze param usage w/in settings.
2018-03-08 16:09:29 +00:00
Graham Linden graham@lindenlab.com 2eb03ae3ef Merge 2018-03-08 00:05:09 +00:00
Graham Linden graham@lindenlab.com 6d77503542 Isolate more legacy atmo param use in sky (convert to getLightAttenuation and getLightTransmittance).
Optimize sky texture creation.
2018-03-07 23:49:37 +00:00
Rider Linden 4235231b5a Fix for calculating azimuth and angle 2018-03-07 11:24:48 -08:00
Graham Linden graham@lindenlab.com 0f33f0a6f3 Don't add old atmo params to new settings defaults. 2018-03-07 18:46:40 +00:00
Graham Linden graham@lindenlab.com 62a0d579b5 Move legacy atmospherics code outside of llvosky (begin teasing apart). 2018-03-07 18:37:09 +00:00
Graham Linden graham@lindenlab.com 6e51714419 Isolate atmospherics LLSD conversion code.
Fix translateLegacySettings to add an array where an array is expected.
2018-03-06 20:16:49 +00:00
Graham Linden graham@lindenlab.com 5517eb3f6f Remove MSVC pragmas breaking OSX build. 2018-03-03 01:08:58 +00:00
Graham Linden graham@lindenlab.com 98862a53a7 Fix 16F enum for compat w/ SL gl headers on Mac.
Make density profile/layer parsing handle when
LLSD heard you liked arrays so it put an array
in your array.
2018-03-03 00:53:39 +00:00
Graham Linden graham@lindenlab.com acdead96cd Replace ifdefs with comments marking legacy atmo params. 2018-03-02 23:29:28 +00:00
Graham Linden graham@lindenlab.com 7951001081 Rework density profile validation, eliminate custom LLSettingsSky::settingsValidation
in favor of custom validator functor for each profile type (rayleigh, mie, absorption).
2018-03-02 00:58:04 +00:00
Graham Linden graham@lindenlab.com 73caf6f52d Fix accidental dups/deletes from merge and remove optimize pragmas. 2018-02-28 22:34:43 +00:00
Graham Linden graham@lindenlab.com 72270213f5 Add 3p package for adv atmospherics to autobuild.
Mark legacy atmospherics code with ifdefs.

Fix up legacy uplift to include new atmospherics settings.
2018-02-28 21:46:30 +00:00
Graham Linden graham@lindenlab.com 6cc4a091b3 Add settings/validations for new advanced atmo settings. 2018-02-22 00:35:24 +00:00
Rider Linden 7838189843 boost->std & same level interp 2018-02-06 17:27:56 -08:00
Rider Linden 0bf50e2f8c Cleanup on daycyle selection and stack. Move blenders into environment.
(Transition bronken, instant only. Shaddows moved based on region, not parcel)
2018-01-30 16:42:34 -08:00
Rider Linden 536aeb54a6 MAINT-8052: One more step towards parcel environments. 2018-01-23 17:34:25 -08:00
Rider Linden 1b8c2b5ebb MAINT-8052: Initial support for new EEP cap 2018-01-23 08:54:34 -08:00
Rider Linden 8211f57205 MAINT-7699: Deliver new settings to viewer via cap 2018-01-08 15:10:25 -08:00
Rider Linden d7dd10b88b Split for viewer/simhost sync LLSD with simhost. 2017-11-30 11:32:22 -08:00