|
|
> I did that but it still generates a solid white sphere. It is not
> transparent,
> and does not fade at the edges. There must be another setting or command
> that
> has to change. The planet and the atmosphere get put together with this:
>
> #declare Planet = union {
> object { PlanetSphere }
> #ifndef (Quick)
> object { PlanetCloudSphere0 }
> object { PlanetAtmosphere }
> #end
> }
>
> Is this a good way to do it?
This media is intended to be around a unit sphere.
If you wish to use a different size, scale it after union...
#declare PlanetSurface = sphere { <0,0,0>, 1
pigment {
image_map {
jpeg "earth02.jpg"
map_type 1
}
rotate <0,-150,0>
}
};
#declare Planet = union {
object {PlanetAtmosphere}
object {PlanetSurface}
};
object {
Planet
scale 2
translate <-1.5,-0.5,0>
}
Post a reply to this message
|
|