POV-Ray : Newsgroups : povray.advanced-users : smothing material_map ? : Re: smothing material_map ? Server Time
28 Jul 2024 18:26:42 EDT (-0400)
  Re: smothing material_map ?  
From: Gilles Tran
Date: 26 Aug 2004 16:51:12
Message: <412e4d40$1@news.povray.org>

news:web.412df87acb1c6a0ee5987fa60@news.povray.org...

> Unfortunaly, my mapping image has a very poor resolution and I'm looking
for
> a way to smooth eadges of area w/o increasing the resolution of the image.
> Any idea ?

Something that can be tried is to turn the map into an isosurface and add
some turbulence (in the pigment function) and/or random noise (to the
function), thus creating bogus information. It's not going to be fast
though.

#declare hff=function{
    pigment {
        image_map {png "testhf.png" interpolate 2}
//        turbulence 0.1
        rotate 90*x
        translate <-0.5,0,-0.5>
    }
}


isosurface {
    function{y-hff(x,y,z).gray
     -f_noise3d(x*1000,0,z*1000)*0.005
     }
    max_gradient 125
    bounded_by {box {<-1,0,-1>,<1,1,1>}}
    texture{pigment{slope y color_map{[0.65 Yellow][0.7 Green*0.5]}}}
    scale <10000,3000,10000>
}

G.


-- 
**********************
http://www.oyonale.com
**********************
- Graphic experiments
- POV-Ray and Poser computer images
- Posters


Post a reply to this message

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