POV-Ray : Newsgroups : povray.binaries.images : self-portrait : Re: self-portrait Server Time
16 Aug 2024 10:27:16 EDT (-0400)
  Re: self-portrait  
From: Dennis Miller
Date: 22 Mar 2002 22:38:14
Message: <3c9bf8a6@news.povray.org>
Just about right, but I "crossed" the image_map/pigment/function with a
sphere (function { x^2+y^2+z^2 }) and got this one.

#declare Pic = function { pigment {
  image_map {  tga concat("e:\\me\\me", str(clock*356,-3,0), ".tga")
map_type 1 interpolate 2   } } }

then

union {   isosurface {
    function {(1 - Pic(x, y, z).grey) * 0.4 +  Sphere(x, y, z)  }
    max_gradient 8
    threshold 0.9
    contained_by { sphere { 0, 0.999 } }
    no_shadow
    pigment { main_map }
     finish { ambient 0.8 specular .2 diffuse 0.7 }  }



I'm now using all sorts of other pigments as functions in place of the
sphere and morphing them [(function 1 * (1-clock)) + (function 2 * clock)]
and getting some amazing stuff.
Won't be sleeping much for the next few days!
d.


<Pet### [at] nymaliasnetalmost> wrote in message
news:3c9bd768.4993406@localhost...
> Let me guess ... spherical (map_type 2)
> image_map used as a function for an iso-surface
> and also as the pigment for that iso-surface.
>
> When I first figured out how to do that, I spent
> all day rendering it over and over with every picture
> I had on my HD.
>
> Cool stuff.
>
> Pete
>


Post a reply to this message

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