|
|
On 9-8-2018 8:07, Mike Horvath wrote:
> Here's a partial render.
>
> I would like to make the edge of the sun a bit sharper, and also make
> the sun smaller while keeping the haze generally the same. Here is the
> sphere I use for this:
>
>
> /////////////////////////////////////////////////////////////////
> #declare RWorld_Corona_Radius = 95000*4;
> #declare RWorld_Corona_Object = sphere
> {
> 0, RWorld_Corona_Radius
> hollow
> material
> {
> texture
> {
> pigment {rgbt 1}
> }
> interior
> {
> media
> {
> scattering {1, RWorld_Light_Point_Color/2000}
> density
> {
> function {1/(x*x + y*y +
z*z)/RWorld_Corona_Radius}
> density_map
> {
> [0.0 rgb 0]
> [1.0 rgb 1]
> }
> scale RWorld_Corona_Radius
> }
> }
> }
> }
> }
> /////////////////////////////////////////////////////////
>
>
> Any idea on how I can accomplish this?
>
>
I would suggest to play with the settings of the density_map. Not
tested, but something like:
density_map {
[0.00 rgb 0.0]
[0.90 rgb 0.9]
[0.90 rgb 1.0]
}
--
Thomas
Post a reply to this message
|
|