POV-Ray : Newsgroups : povray.text.scene-files : Spherical height field source Server Time
31 Oct 2024 14:12:13 EDT (-0400)
  Spherical height field source (Message 1 to 4 of 4)  
From: Gilles Tran
Subject: Spherical height field source
Date: 8 Feb 2000 10:35:58
Message: <38A037EB.504C1A6@inapg.inra.fr>
// Gilles Tran
#version unofficial Megapov 0.4;
#include "colors.inc"
#include "textures.inc"
#include "metals.inc"

// ----------------------------------------
camera
{
  location  <0.0, 0.5, -4.0>
  direction 1.5*z
  right     4/3*x
  look_at   <0.0, 0.0,  0.0>
}

background{color rgb 1}
light_source{<1000,1000,-1000> color rgb 1}

// ----------------------------------------
// text : WHITE letters on BLACK background
#declare hftext=function{pigment{image_map{png "text.png" map_type 1
interpolate 2}}}
isosurface{
        function{x*x+y*y+z*z + 0.3 - hftext(x,y,z)*0.3}
        contained_by{sphere{0,1}}
        eval
        max_gradient 150 // <--- important- adjust to your picture
otherwise strange things happen
        threshold 1
        texture{
                onion
                texture_map{
                [0 T_Silver_1B] // change this because reflection make
long renders
                [0.85 T_Silver_1B]
                [0.85 T_Gold_2C]
                [1 T_Gold_2C]
                }

        }
        rotate y*-65

}


Post a reply to this message

From: Rodolphe
Subject: Re: Spherical height field source
Date: 11 Feb 2000 16:47:34
Message: <38a48376@news.povray.org>
Gilles, mon ami,

message sur 3d-pov.

Rodolphe


Post a reply to this message

From: Ken
Subject: Re: Spherical height field source
Date: 11 Feb 2000 17:01:52
Message: <38A48688.425A63EB@pacbell.net>
Rodolphe wrote:
> 
> Gilles, mon ami,

> message sur 3d-pov.

> Rodolphe



-- 
Ken Tyler -  1300+ Povray, Graphics, 3D Rendering, and Raytracing Links:
http://home.pacbell.net/tylereng/index.html http://www.povray.org/links/


Post a reply to this message

From: Rodolphe
Subject: Re: Spherical height field source
Date: 12 Feb 2000 17:26:25
Message: <38a5de11@news.povray.org>

>



je le note oncle Ken
thank you :)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.