POV-Ray : Newsgroups : povray.newusers : Focal blur and FurTex : Re: Focal blur and FurTex Server Time
2 Jul 2024 22:20:23 EDT (-0400)
  Re: Focal blur and FurTex  
From: y1tagawa
Date: 11 Jan 2011 02:30:01
Message: <web.4d2c06203c811486162b234b0@news.povray.org>
Gentleman,

Thank you very much for your information.
I got POV-Ray 3.60.
3.60 didn't made the black dots as you said.
I wonder if I should report this to bugtracking system by any chance.

Meanwhile, I economized recurring SDL.
A warp directive dicides the appearance of the dots.

Best Regards,

-- form here --

#version 3.6;

#include "colors.inc"

global_settings {
 max_trace_level 20
}

camera {
 angle 35
 location <0,1.4,-6>
 look_at <0,0.8,0>
 sky y

 blur_samples 120
 aperture 0.1
 focal_point <0,1.4,0.6>
}

light_source {
 <-10,20,-10>
 White
 parallel
 point_at <0,0.8,0>
}

background {
 White
}

/*
FurTex by Rune Skovbo Johansen
http://runevision.com/
*/
   #macro FurTex(Color)
      texture {
         average
         texture_map {
            [
               pigment {
                  bozo
                  color_map {[0,color Color*0.9][1,color Color*1.1]}
                  scale 0.001
               }
               normal {
                  average
                  normal_map {
                     [
                        bumps 0.3*2
                        warp {turbulence 1}
                        scale 0.2
                     ]
                     [
                        bumps 0.2*2
/*
 Black dots appears on horizon if turn line warp on.
*/
#if (1)
                        warp {turbulence 0.5}
#end
                        scale 0.001
                     ]
                  }
               }
               finish {ambient 0.1*2 diffuse 0.6*2 brilliance 0.6}
            ]
            [
               pigment {color -Color}
               finish {ambient 0 diffuse 0 phong 0.5*2 phong_size 2 metallic}
            ]
         }
      }
   #end

plane {
 y, 0
 FurTex (MediumSeaGreen)
}


Post a reply to this message

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