<div dir="ltr"><div>hi, Sebastian</div><div><br></div>Is fog operating independently of light?<div><br></div><div>Cheers.<br><br><br><br>2020년 6월 23일 화요일 오후 4시 47분 48초 UTC+9, OpenSceneGraph Users 님의 말:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div lang="DE" link="blue" vlink="purple"><div><p class="MsoNormal"><span>Hi, </span></p><p class="MsoNormal"><span> </span></p><p class="MsoNormal"><span lang="EN-US">As there is no concept of day/night in OSG you need to adapt the color based on the time passed (you can use the osg-time for this or use a separate timer) .</span></p><p class="MsoNormal"><span lang="EN-US">Simply adapt the fog-color during the update-traversal.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Cheers</span></p><p class="MsoNormal"><span lang="EN-US">Sebastian </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> osg-users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MYBhvTUGBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-user...@lists.<wbr>openscenegraph.org</a>> <b>On Behalf Of </b>OpenSceneGraph Users<br><b>Sent:</b> Dienstag, 23. Juni 2020 09:02<br><b>To:</b> OpenSceneGraph Users <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="MYBhvTUGBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@googlegroups.com</a>><br><b>Subject:</b> Re: [osg-users] I want to darken the osg::fog at night too, what should I do?</span></p><p class="MsoNormal"> </p><div><p class="MsoNormal">hi,</p><div><p class="MsoNormal"> </p></div><div><div><p class="MsoNormal">I don’t change the color to make it dark</p></div><div><p class="MsoNormal">I want to express that it darkens naturally as time passes by the influence of light.</p></div><p class="MsoNormal"><br><br>2020<span style="font-family:"Malgun Gothic",sans-serif">년</span> 6<span style="font-family:"Malgun Gothic",sans-serif">월</span> 23<span style="font-family:"Malgun Gothic",sans-serif">일</span> <span style="font-family:"Malgun Gothic",sans-serif">화요일</span> <span style="font-family:"Malgun Gothic",sans-serif">오후</span> 3<span style="font-family:"Malgun Gothic",sans-serif">시</span> 55<span style="font-family:"Malgun Gothic",sans-serif">분</span> 40<span style="font-family:"Malgun Gothic",sans-serif">초</span> UTC+9, OpenSceneGraph Users <span style="font-family:"Malgun Gothic",sans-serif">님의</span> <span style="font-family:"Malgun Gothic",sans-serif">말</span>:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm"><div><div><p class="MsoNormal">Hi, ?</p><p class="MsoNormal"> </p><p class="MsoNormal"><span lang="EN-US">Simply set the fog-color to a darker color?</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> osg-users <<a>osg-user...@lists.<wbr>openscenegraph.org</a>> <b>On Behalf Of </b>OpenSceneGraph Users<br><b>Sent:</b> Dienstag, 23. Juni 2020 04:21<br><b>To:</b> OpenSceneGraph Users <<a>osg-...@googlegroups.com</a>><br><b>Subject:</b> Re: [osg-users] I want to darken the osg::fog at night too, what should I do?</span></p><p class="MsoNormal"> </p><div><p class="MsoNormal">plz.. help.. I want to darken fog at night .<br><br>2020<span style="font-family:"Malgun Gothic",sans-serif">년</span> 5<span style="font-family:"Malgun Gothic",sans-serif">월</span> 29<span style="font-family:"Malgun Gothic",sans-serif">일</span> <span style="font-family:"Malgun Gothic",sans-serif">금요일</span> <span style="font-family:"Malgun Gothic",sans-serif">오전</span> 4<span style="font-family:"Malgun Gothic",sans-serif">시</span> 23<span style="font-family:"Malgun Gothic",sans-serif">분</span> 1<span style="font-family:"Malgun Gothic",sans-serif">초</span> UTC+9, DAE WOO Ryu <span style="font-family:"Malgun Gothic",sans-serif">님의</span> <span style="font-family:"Malgun Gothic",sans-serif">말</span>:</p><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt"><div><div><div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Verdana",sans-serif;color:black">I want to darken the osg::<b><span style="background:#ffff99">fog</span></b> at night too, what should I do?<br><br>There seems to be a simple way, but I can't find it.<br><br>I need help..</span></p></div></div></div></blockquote></div><p class="MsoNormal">-- <br>You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a>osg-...@googlegroups.com</a>.<br>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/e017cee5-49e8-4190-89d4-c5e86e18afe8o%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/osg-users/e017cee5-49e8-4190-89d4-c5e86e18afe8o%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/osg-users/e017cee5-49e8-4190-89d4-c5e86e18afe8o%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/osg-users/e017cee5-49e8-<wbr>4190-89d4-c5e86e18afe8o%<wbr>40googlegroups.com</a>.</p></div></div></blockquote></div></div><p class="MsoNormal">-- <br>You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br>To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="MYBhvTUGBwAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">osg-...@<wbr>googlegroups.com</a>.<br>To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/6d379ba6-d5c8-4df7-a39b-5a9bf4325b3co%40googlegroups.com?utm_medium=email&utm_source=footer" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/d/msgid/osg-users/6d379ba6-d5c8-4df7-a39b-5a9bf4325b3co%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;" onclick="this.href='https://groups.google.com/d/msgid/osg-users/6d379ba6-d5c8-4df7-a39b-5a9bf4325b3co%40googlegroups.com?utm_medium\x3demail\x26utm_source\x3dfooter';return true;">https://groups.google.com/d/<wbr>msgid/osg-users/6d379ba6-d5c8-<wbr>4df7-a39b-5a9bf4325b3co%<wbr>40googlegroups.com</a>.</p></div></div></blockquote></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/f069bfed-dc36-4540-921b-99417208d2f1o%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/f069bfed-dc36-4540-921b-99417208d2f1o%40googlegroups.com</a>.<br />