POV-Ray : Newsgroups : povray.newusers : Focal blur and FurTex : Focal blur and FurTex Server Time
2 Jul 2024 22:36:42 EDT (-0400)
  Focal blur and FurTex  
From: y1tagawa
Date: 10 Jan 2011 11:20:01
Message: <web.4d2b3035b118322743f79f700@news.povray.org>
Gentlemen,

I borrowed the FurTex macro from http://runevision.com/ of Mr. Johansen.
Focal blur made the band of black dots with FurTex in my scene.
I tryed both of 3.62 and 3.7RC2.
How I remove the black dots?
Advices are really appriciated.

Best Regards,

SDL to recur here.

#version 3.6;

#include "colors.inc"
#include "functions.inc"
#include "textures.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
                        warp {turbulence 0.5}
                        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

/*
 Black dots appears on horizon if turn the FurTex on.
*/
#if (1)
 FurTex (MediumSeaGreen)
#else
 // if not, no black dots.
 pigment { DarkGreen }
#end
}


Post a reply to this message

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