|
![](/i/fill.gif) |
Hmm, and it's 21600x21600 chunks, too...how do I make an isosurface that
applies an image as a radius modifier to a section of a sphere so that
the entire image maps to a 45x45-degree segment?
The code I have for the entire image to the whole sphere is
#include "functions.inc"
#declare fn_EarthPigm1=function{
pigment{
image_map{
jpeg "srtm_ramp2.world.5400x2700.jpg"
map_type 1
once
interpolate 4
}
}
}
#declare EarthIso=isosurface{
function{f_sphere(x, y, z, 0.633)-(fn_EarthPigm1(x,y,z).red*0.006)}
contained_by{sphere{0,0.7}}
texture{pigment{rgb 1}}
scale <-1,1,1>
rotate <90,0,-90>
}
...I'm guessing there's a way to apply fn_EarthPigm1 to only part of the
sphere? But how?
--
Tim Cook
http://home.bellsouth.net/p/PWP-empyrean
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GFA dpu- s: a?-- C++(++++) U P? L E--- W++(+++)>$
N++ o? K- w(+) O? M-(--) V? PS+(+++) PE(--) Y(--)
PGP-(--) t* 5++>+++++ X+ R* tv+ b++(+++) DI
D++(---) G(++) e*>++ h+ !r--- !y--
------END GEEK CODE BLOCK------
Post a reply to this message
|
![](/i/fill.gif) |