Jump to content
Sign in to follow this  
CarlGustaffa

Colors in world config, what are they?

Recommended Posts

Hi

Well I'm able to get some really crazy colors on Utes by changing values in DayLightingBrightAlmost, deepNight, earlyMorning and a bunch more of those, I have really no idea what I'm doing.

I took a quick peek in the CMB, but I wasn't able to find much information about world configs. Many entries seem to be built from a number which I assume is sun elevation, and six arrays of colors (sometimes only have one array), and one number at the end I don't know what is.

Has anyone decoded these and is able to change things in a knowledgeable way? I'm just getting more and more confused.

Share this post


Link to post
Share on other sites

check this

http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?;act=ST;f=69;t=75103

http://flashpoint.ru/forum/showthread.php?t=49587&highlight=%EE%F1%E2%E5%F9%E5%ED%E8%E5

http://flashpoint.ru/forum/showpost.php?p=1561689&postcount=6

--------------------------------

sorry for google translator

[] = {-15, / / ​​total brightness

{0.037,0.063,0.091}, / / ​​total shade

{0.001,0.001,0.0012}, / / ​​ambient

{0.067,0.075,0.091}, / / ​​color of the illuminated side

{0.003,0.004,0.006}, / / ​​color shaded side

{0.0001,0.0001,0.0002}, / / ​​cast haze on the horizon

{} 0.0001,0.0001,0.0002, 0}, / / ​​hue and brightness of the solar halo

Edited by nikita320106

Share this post


Link to post
Share on other sites

From the commented configs of binMake

    /** all DayLigthing values consist of 6 values:
     angle of the sun above the horizon
     max. direct light and min. direct light when not hidden by a cloud
     max. direct light and min. direct light when hidden by a cloud
     diffuse is sun or moon? (1=sun, 0=moon)
   */

   // offset to set a basic for luminance values
   #define LV (-4)

  class DayLightingBrightAlmost
   {
     // note: during the nighttime we want the moon to be used instead
     // moon only
     deepNight[]={
       -15, // sun angle
       {0.05,0.05,0.06},{0.001,0.001,0.002}, // max/min direct light
       {0.02,0.02,0.05},{0.003,0.003,0.003}, // max/min direct light (sun hidden by a cloud, the cloud is shinning)
       {0.003,0.003,0.006},{0.003,0.003,0.006}, // sky, sky around sun
       0 // sun - moon weighting
     };
     fullNight[]={
       -5, // sun angle
       {0.05,0.05,0.06},{0.02,0.02,0.02}, // max/min direct light
       {0.04,0.04,0.04},{0.04,0.04,0.04}, // max/min direct light (sun hidden by a cloud, the cloud is shinning)
       {0.01,0.01,0.02},{0.08,0.06,0.06}, // sky, sky around sun
       0 // sun - moon weighting
     };
     // moon-sun crossing - no diffuse lighting used, only ambient
     sunMoon[]={
       -3.75,
       {0.04,0.04,0.05},{0.04,0.04,0.05},
       {0.04,0.04,0.05},{0.04,0.04,0.05},
       {0.04,0.035,0.04},{0.11,0.08,0.09},
       0.5
     };
     // early sun - most light is in ambient, diffuse visible
     earlySun[]={
       -2.5,
       {0.32,0.24,0.28},{0.08,0.06,0.07},
       {0.32,0.24,0.28},{0.08,0.06,0.07},
       {0.08,0.07,0.08},{0.14,0.10,0.12},
       1
     };
     // sun only
     sunrise[]={
       0,
       {{0.7,0.45,0.45},5.5+LV},{{0.07,0.09,0.12},4.5+LV},
       {{0.6,0.47,0.25},4.7+LV}, {{0.10,0.09,0.10},4.4+LV},
       {{0.5,0.4,0.4},4.5+LV}, {{0.88,0.51,0.24},6+LV},
       1
     };
     earlyMorning[]={
       5,
{{0.65,0.55,0.55},6+LV},{{0.08,0.09,0.11},5+LV},
{{0.55,0.47,0.25},5.75+LV}, {{0.10,0.09,0.10},4.75+LV},
{{0.5,0.4,0.4},7.5+LV}, {{0.88,0.51,0.24},8.75+LV},
       1
     };
     midMorning[]={
       15,
{{0.98,0.85,0.8},10.5+LV},{{0.08,0.09,0.11},6.5+LV},
{{0.87,0.47,0.25},9.5+LV}, {{0.09,0.09,0.10},7.5+LV},
{{0.5,0.4,0.4},9.5+LV}, {{0.88,0.51,0.24},9.75+LV},
       1
     };
     morning[]={
25,
{{1,1,0.9},15.5+LV}, {{0.17,0.18,0.19},12.5+LV},
{{1,1,0.9},14.5+LV}, {{0.17,0.18,0.19},13+LV},
{{0.15,0.15,0.15},14.5+LV},{{0.17,0.17,0.15},15.5+LV},
       1
     };
     noon[]={
       70,
       {{0.96,0.98,1},15.75+LV},{{0.36,0.49,0.61},13+LV},
       {{1,1,1},15+LV},{{0.36,0.37,0.38},13.5+LV},
       {{0.9,0.9,0.9},15+LV},{{1.0,1.0,0.9},16+LV},
       1
     };
   };

   // class DayLightingCloudy

   class DayLightingRainy
   {
     // so many clouds there is little difference between cloud or clear
     deepNight[]={
       -15, // sun angle
       {0.0034,0.0034,0.004},{0.003,0.003,0.003}, // max/min direct light
       {0.0034,0.0034,0.004},{0.003,0.003,0.003}, // max/min direct light (sun hidden by a cloud, the cloud is shinning)
       {0.003,0.003,0.006},{0.003,0.003,0.006}, // sky, sky around sun
       0 // sun - moon weighting
     };
     fullNight[]={
       -5, // sun angle
       {0.023,0.023,0.023},{0.02,0.02,0.02}, // max/min direct light
       {0.023,0.023,0.023},{0.02,0.02,0.02}, // max/min direct light (sun hidden by a cloud, the cloud is shinning)
       {0.01,0.01,0.02},{0.08,0.06,0.06}, // sky, sky around sun
       0 // sun - moon weighting
     };

     // moon-sun crossing - no diffuse lighting used, only ambient
     sunMoon[]={
       -3.75,
       {0.04,0.04,0.05},{0.04,0.04,0.05},
       {0.04,0.04,0.05},{0.04,0.04,0.05},
       {0.04,0.035,0.04},{0.11,0.08,0.09},
       0.5
     };
     // early sun - most light is in ambient, diffuse visible
     earlySun[]={
       -2.5,
       {0.0689,0.0689,0.0804},{0.06,0.06,0.07},
       {0.0689,0.0689,0.0804},{0.06,0.06,0.07},
       {0.08,0.07,0.08},{0.14,0.10,0.12},
       0.5
     };
     // sun only
     #define RainlyLight {1,1,1}
     //#define RainlyLightColor {0.8,0.9,1}
     earlyMorning[]={
       0,
       {RainlyLight,LV+3.95},{RainlyLight,LV+3.75},
       {RainlyLight,LV+3.95},{RainlyLight,LV+3.75},
       {RainlyLight,LV+4},{RainlyLight,LV+4.5},
       1
     };
     morning[]={
       5,
       {RainlyLight,LV+5.7},{RainlyLight,LV+5.5},
       {RainlyLight,LV+5.7},{RainlyLight,LV+5.5},
       {RainlyLight,LV+7},{RainlyLight,LV+7.5},
       1
     };
     lateMorning[]={
       25,
       {RainlyLight,LV+10.45},{RainlyLight,LV+10.25},
       {RainlyLight,LV+10.45},{RainlyLight,LV+10.25},
       {RainlyLight,LV+12},{RainlyLight,LV+12.5},
       1
     };
     noon[]={
       70,
       {RainlyLight,LV+10.7},{RainlyLight,LV+10.5},
       {RainlyLight,LV+10.7},{RainlyLight,LV+10.5},
       {RainlyLight,LV+12.25},{RainlyLight,LV+12.75},
       1
     };
   };

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×