POV-Ray : Newsgroups : povray.newusers : Highlight Effect : Re: Highlight Effect Server Time
2 Nov 2024 11:23:35 EDT (-0400)
  Re: Highlight Effect  
From: Hughes, B 
Date: 24 Mar 2004 15:45:52
Message: <4061f380$1@news.povray.org>
"How Camp" <kro### [at] hotmailcom> wrote in message
news:vhl360dkcd3b2l630nvvo05b1s0714s1p3@4ax.com...
>
> I have some text in my scene I'd like to draw special attention to.
> It would be rather nice to have some sort of 'highlight' effect where
> the particular word I'd like to emphasize flashes as if a bright light
> were crossing a shiny metal surface.  Try as I might, I cannot seem to
> reproduce this effect to my satisfaction.
>
> Eventually, I'll animate the effect to show a diagonal flash of light
> passing over the word, sort-of like you might see in some 1970's
> Marvel Comics type film.


Something like the super- (ha ha! little pun about comics) simple script
below?

You could probably reflect the light's box in the overlying plane too for a
lens flare effect, but what's really needed there is a true lens flare.

camera {
 location <0,0,-3>
 look_at <0,0,0>
}

#declare LightBox=box {-1,1 pigment {rgb 1} finish {ambient 1} scale
<0.25,5,0.1> rotate -45*z}

light_source {
 -10*z,1
 looks_like {LightBox}
 rotate <0,(45-90*clock),0>
}

//background {color rgb 1}

plane {
 z,-0.25
 pigment {
  rgbt 0.99
 }
 normal {
  bumps 0.1 scale 0.001
 }
 finish {
  ambient 0 diffuse 1
  specular 0.05 roughness 0.005
 }
}

text {
 ttf "times.ttf"
 "Flashy Text", 0.25, 0
 pigment {
  color rgb <1,0.9,0.3>
 }
 finish {
  ambient 0.1 diffuse 0.2
  specular 0.5 roughness 0.001
  metallic brilliance 2
  reflection {
   <1,0.9,0.3>,0.5
   metallic
  }
 }
 scale 0.5 translate <-1.25,-0.125,-0.125>
}


-- 
Bob H.
http://www.3digitaleyes.com


Post a reply to this message

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