Nate,<div><br></div><div>Your expression is still dependent on earth rotation, what is not good. Don't know who to fix it.<div><br></div><div>For you Earth model, citylights should be an emission shader, so it lights in shadow.<br clear="all">
<div><br></div><div><div>Adriano</div></div>
<br><br><div class="gmail_quote">2012/8/11 Nate Wiebe <span dir="ltr"><<a href="mailto:natewiebe13@gmail.com" target="_blank">natewiebe13@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Just for fun, I went ahead and tried using it. I'm not totally happy<br>
with it, but here's my result: <a href="http://natewiebe.com/earth_test1.png" target="_blank">http://natewiebe.com/earth_test1.png</a><br>
<br>
-NateW<br>
<div class="HOEnZb"><div class="h5"><br>
On Sat, Aug 11, 2012 at 12:47 PM, Nate Wiebe <<a href="mailto:natewiebe13@gmail.com">natewiebe13@gmail.com</a>> wrote:<br>
> Thanks, hope it's useful.<br>
><br>
> -NateW<br>
><br>
> On Sat, Aug 11, 2012 at 11:14 AM, Adriano Oliveira<br>
> <<a href="mailto:adriano.ufrb@gmail.com">adriano.ufrb@gmail.com</a>> wrote:<br>
>> Pretty good job, Nate!<br>
>><br>
>> @Antony: I didn't get it. Would you make an example?<br>
>><br>
>><br>
>> Adriano A. Oliveira<br>
>><br>
>><br>
>><br>
>> 2012/8/11 Nate Wiebe <<a href="mailto:natewiebe13@gmail.com">natewiebe13@gmail.com</a>><br>
>>><br>
>>> Okay, so I think I've managed to come up with a pretty good rig here.<br>
>>> I used a mapping node using rotation of the sun lamp as a driver.<br>
>>> Position of the sun lamp/earth doesn't effect anything, rotating the<br>
>>> earth doesn't effect anything, just the rotation of the sun. Control<br>
>>> the sharpness of the transition using the black slider of the color<br>
>>> ramp, and control where the median of the transition line is using the<br>
>>> Z position value of the mapping node. Everything should make more<br>
>>> sense when you look at the file.<br>
>>><br>
>>> If you make any improvements, or this helps you out, let me know. =)<br>
>>><br>
>>> I have uploaded on ubuntuone as pasteall isn't working at the moment:<br>
>>> <a href="http://ubuntuone.com/6bk2t4ZxIcFBFnVsNHnTZ4" target="_blank">http://ubuntuone.com/6bk2t4ZxIcFBFnVsNHnTZ4</a><br>
>>><br>
>>> -NateW<br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Aug 10, 2012 at 9:54 PM, Adriano Oliveira<br>
>>> <<a href="mailto:adriano.ufrb@gmail.com">adriano.ufrb@gmail.com</a>> wrote:<br>
>>> > Is there a way to map a texture in the shadow area of a geometry.<br>
>>> > I'm trying to map a citylight map as emission in the shadow of planet<br>
>>> > Earth.<br>
>>> ><br>
>>> > Adriano A. Oliveira<br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Bf-cycles mailing list<br>
>>> > <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
>>> > <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
>>> ><br>
>>> _______________________________________________<br>
>>> Bf-cycles mailing list<br>
>>> <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
>>> <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Bf-cycles mailing list<br>
>> <a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
>> <a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
>><br>
_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
</div></div></blockquote></div><br></div></div>