POV-Ray : Newsgroups : povray.unofficial.patches : UberPOV stand-alone installer released : Re: UberPOV stand-alone installer released Server Time
20 Apr 2024 05:27:15 EDT (-0400)
  Re: UberPOV stand-alone installer released  
From: Thomas de Groot
Date: 28 Jul 2014 07:15:10
Message: <53d630be@news.povray.org>
On 28-7-2014 11:03, Friedrich wrote:
> I'm missing: an example for blink feature!
> I tried to invoke the motion blur effect but ... failed :-(

Try this:

//With a James Holsenback metallic texture:
#macro MetalMat (Color)
material {
   texture {
     pigment {srgb Color*1.5}
     finish {
       brilliance 4
       diffuse 0
       metallic
       specular 0.80
       roughness 1/40
       reflection {srgb Color roughness 1e-5}
     }
   }
   interior {
     ior 1.5
   }
}
#end

//the calls: MetalMat (<0.65, 0.15, 0.25>) MetalMat (<0.5, 0.65, 0.25>) 
MetalMat (<0.25, 0.5, 0.65>)
#local Ovus =
ovus {
   1.00, 0.65 // base_radius, top_radius  with: top_radius< base_radius!
   translate 0.5*y
   scale 0.5
}

#local DeltaT = 0.1;

union {
   #for (T, 0.0, 1-DeltaT, DeltaT)
   object {Ovus rotate <0, 0, 2/T> blink 0, T+DeltaT}
   #end
   #for (T, 0.0, 1-DeltaT, DeltaT)
   object {Ovus rotate <0, 0, -2/T> blink 0, T+DeltaT}
   #end
   translate <-1.00, 0.0, -1>
   MetalMat (<0.65, 0.15, 0.25>)
}
//-------------------------------------------------------------------------

union {
#for (T, 0.0, 1-DeltaT, DeltaT)
   sphere {
     <T, 0.25, -1.2>, 0.25
     blink 0, T+DeltaT
   }
#end
     MetalMat (<0.5, 0.65, 0.25>)
}


Thomas


Post a reply to this message

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