|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hello,
I've just tried to render the Earth using 'isosurface' of POV-Ray 3.5.
The pov code for the Earth is below, and the image map files were
obtained from http://apollo.spaceports.com/~jhasting/earth.html
which has been recently discussed in povray.general.
R. Suzuki
//------------------------------------
#declare Ebump=function{
pigment {
image_map {jpeg "earthbump1k.jpg"
map_type 1
interpolate 2
}
}
}
isosurface{
function{f_sphere(x,y,z,1)-Ebump(x,y,z).gray*0.05 }
contained_by{sphere{0,1.05}}
texture {
pigment {
image_map {jpeg "earthmap1k.jpg"
map_type 1
interpolate 2
}
}
}
}
Post a reply to this message
Attachments:
Download '011027a2.jpg' (24 KB)
Preview of image '011027a2.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"R. Suzuki" wrote:
>
> Hello,
> I've just tried to render the Earth using 'isosurface' of POV-Ray 3.5.
>
> The pov code for the Earth is below, and the image map files were
> obtained from http://apollo.spaceports.com/~jhasting/earth.html
> which has been recently discussed in povray.general.
>
Nice, how long did it take to render?
Of course the height is strongly exaggerated...
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ooo sweet! Why don't you try to add a cloudy layer too?
And I like that gold!
--
Jonathan.
"R. Suzuki" <r-s### [at] aistgojp> ha scritto nel messaggio
news:3bdbbdb2@news.povray.org...
> Hello,
> I've just tried to render the Earth using 'isosurface' of POV-Ray 3.5.
>
> The pov code for the Earth is below, and the image map files were
> obtained from http://apollo.spaceports.com/~jhasting/earth.html
> which has been recently discussed in povray.general.
>
> R. Suzuki
>
> //------------------------------------
> #declare Ebump=function{
> pigment {
> image_map {jpeg "earthbump1k.jpg"
> map_type 1
> interpolate 2
> }
> }
> }
>
> isosurface{
> function{f_sphere(x,y,z,1)-Ebump(x,y,z).gray*0.05 }
> contained_by{sphere{0,1.05}}
> texture {
> pigment {
> image_map {jpeg "earthmap1k.jpg"
> map_type 1
> interpolate 2
> }
> }
> }
> }
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Great! I like
The http://apollo.spaceports.com/~jhasting/ web site provides some
interesting textures. It gives me some ideas!
Laurent
"R. Suzuki" <r-s### [at] aistgojp> a ecrit dans le message news:
3bdbbdb2@news.povray.org...
> Hello,
> I've just tried to render the Earth using 'isosurface' of POV-Ray 3.5.
>
> The pov code for the Earth is below, and the image map files were
> obtained from http://apollo.spaceports.com/~jhasting/earth.html
> which has been recently discussed in povray.general.
>
> R. Suzuki
>
> file://------------------------------------
> #declare
mp=function{
> pigment {
> image_map {jpeg "earthbump1k.jpg"
> map_type 1
> interpolate 2
> }
> }
> }
>
> isosurface{
> function{f_sphere(x,y,z,1)-Ebump(x,y,z).gray*0.05 }
> contained_by{sphere{0,1.05}}
> texture {
> pigment {
> image_map {jpeg "earthmap1k.jpg"
> map_type 1
> interpolate 2
> }
> }
> }
> }
>
>
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>Nice, how long did it take to render?
Thanks.
It took about half an hour for 640x480 AA0.3 with
area-light 7x7 and photons (Celeron 600MHz).
The calculation time of the gold base was much larger
than that of the Earth.
R. Suzuki
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
>Ooo sweet! Why don't you try to add a cloudy layer too?
Thanks.
Well, it's easy to add a cloudy layer but I would like to
demonstrate the isosurface capablility in that image.
>And I like that gold!
The POV code of the gold is following (the texture is
'T_Gold_3E').
object{
union{
isosurface {
function {
f_mesh1(atan2(x,z)/pi*2,f_r(x,0,z)-0.4*(y*y+1),
y, 0.1, 0.1, 0.25, 0.005, 1)
}
contained_by { box { <-0.6,-0.6,-0.6>, <0.6,0.2,0.6> } }
threshold 0.0075
accuracy 0.0005
max_gradient 1.2
}
torus{ 0.2*0.2*0.4+0.4, 0.03 translate y*0.2}
torus{ 0.6*0.6*0.4+0.4, 0.03 translate y*-0.6}
}
}
R. Suzuki
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"R. Suzuki" wrote:
>
> It took about half an hour for 640x480 AA0.3 with
> area-light 7x7 and photons (Celeron 600MHz).
> The calculation time of the gold base was much larger
> than that of the Earth.
That sounds really fast. Last time i tried an image map in isosurface
functions it felt incredibly slow, but that could have been a different
reason.
Christoph
--
Christoph Hormann <chr### [at] gmxde>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Christoph Hormann" wrote
> That sounds really fast. Last time i tried an image map in isosurface
> functions it felt incredibly slow, but that could have been a different
> reason.
>
> Christoph
That might be due to an interpolation bug in 'image.c'.
I am not sure it still exists in v3.5 because I don't have the source
code of v3.5.
Anyway, I will report it in povray.beta-test.
R. Suzuki
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |