|
|
Well, this is what I did.
#macro PlanetMac(Pic1,Pic2,Rad,Prec)
union {
#local Pig1 =pigment{image_map {png Pic1 interpolate 2 map_type 1}}
#local Pig2 =pigment{image_map {png Pic2 interpolate 2 map_type 1}}
#local Pic= function{pigment{Pig1}}
#local R0=Rad;
#local FUNC1=function {"sphere",<R0>}
// more highlighting (water)
#declare Tex1=texture {
pigment {Pig2}
finish {
blinn 1 facets .2 reflect_metallic conserve_energy diffuse .3
roughness .04 reflection .15
}
}
// less highlighting (land)
#declare Tex2=texture {pigment {Pig2}finish {blinn 0 specular 0 phong
0}}
isosurface
{
function{FUNC1(x,y,z)-(Pic(x,y,z)*R0*Prec)}
contained_by {sphere {0,R0*(1+Prec)}}
method 2 max_gradient 10
material{
texture {
image_pattern { png Pic2 map_type 1} // use_alpha
texture_map { [.33 Tex1][.33 Tex2]}
}
interior{ior 20}
}
}
sphere {0,0 hollow pigment{ Blue transmit .8}} // to be used as water
later
}
#end
Bob Hughes wrote:
>
> Real neat, there's some leftover water parts not getting the same highlight
> but it makes it look like different water surfaces.
> I was trying more on this concept too and found it very difficult to get the
> right index set up. I was even trying to go by what was in a paletted Gif but
> the palette was in chaos. Needs to be a very orderly palette, and then I'm not
> sure how that would be for applying over a non-Gif image_map. I also tried to
> get the whole thing to go onto one sphere without any luck. I'd have told you
> about it if I were able to do so.
>
> Bob
>
> "mr.art" <mr.### [at] gcinet> wrote in message news:38965E6F.60BBC079@gci.net...
> | This is a large pic. I tried to get the land to have
> | a different finish than the water. Seems to have worked.
> | --
> | Mr. Art
> |
> | "Often the appearance of reality is more important
> | than the reality of the appearance."
> | Bill DeWitt 2000
>
> --------------------------------------------------------------------------------
--
Mr. Art
"Often the appearance of reality is more important
than the reality of the appearance."
Bill DeWitt 2000
Post a reply to this message
|
|