-ambient Color
Ollj
our themepark-stalking nightmare Fade Join Date: 2002-12-12 Member: 10696Members
I have some problems with "-ambient color" (ambient light) using Batch Compiler 2.01 and 1.7p10.
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Set ambient world light.
This option sets a minimum light value to every face so that nothing comes out pitch black.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
In NS its always Black or white (like fullbright but its just white ambient light all over)
Ambient light might be used rarely.
Maybe its an NS specific problem.
Whats the correct Syntax for an aditional parameter ?
Update: Blue (0 0 255) worked fine. but I want grey.
2:
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Command line: C:\PROGRA~1\BATCHC~1\HLRAD.EXE -extra -sparse -oldmath -bounce 2 -smooth 80 -chop 256 -texchop 128 -lights complexlig.rad <b>-ambient 0,501960784313725 0,501960784313725 1</b> -chart -estimate -noinfo -low "F:\mapedit\- Maps\selfmade\compile.map"<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> WTH? %value with 15 decimals?
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Set ambient world light.
This option sets a minimum light value to every face so that nothing comes out pitch black.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
In NS its always Black or white (like fullbright but its just white ambient light all over)
Ambient light might be used rarely.
Maybe its an NS specific problem.
Whats the correct Syntax for an aditional parameter ?
Update: Blue (0 0 255) worked fine. but I want grey.
2:
<!--QuoteBegin--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> </td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->
Command line: C:\PROGRA~1\BATCHC~1\HLRAD.EXE -extra -sparse -oldmath -bounce 2 -smooth 80 -chop 256 -texchop 128 -lights complexlig.rad <b>-ambient 0,501960784313725 0,501960784313725 1</b> -chart -estimate -noinfo -low "F:\mapedit\- Maps\selfmade\compile.map"<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--> WTH? %value with 15 decimals?
Comments
there must be something wrong with the batch compiler if it only sends 2 values to hlrad.exe
<ul>
<li>Cagey wrecked the lighting code during his 'optimizations' :O
<li>15 decimals are too much for the internal text-to-number conversion of HLRAD
</ul>
hmm I wonder if you can create lists in lists in this forum...
*makeswierdlist*
<ul>
<li><ul><li>I1</ul>
<li>I2
<ul>
<li>I3<li>
</ul>
</ul>
Looks like a map of known galaxies or something.
numbers between 0.1 and 1 (or 0,1 and 1) failed too wich confused.
now numbers between 0 and 0.01 work fine!
so <b>0.01 = 100%</b> (<!--emo&???--><img src='http://www.unknownworlds.com/forums/html/emoticons/confused.gif' border='0' style='vertical-align:middle' alt='confused.gif'><!--endemo-->) in RGB values.
0.002 0.002 0.002 is dark grey (20%).
0.005 0.005 0.005 is bright grey (50%).