POV-Ray : Newsgroups : povray.newusers : Casting sinusoidal shadow on an object ? : Re: Casting sinusoidal shadow on an object ? Server Time
30 Jul 2024 18:22:22 EDT (-0400)
  Re: Casting sinusoidal shadow on an object ?  
From: Christopher James Huff
Date: 12 Nov 2003 18:38:43
Message: <cjameshuff-3748BE.18355612112003@netplex.aussie.org>
In article <web.3fb29a7b2d6843d5d947fdc0@news.povray.org>,
 "Omega" <nomail@nomail> wrote:

> I'd like to create a sinusoidal shadow on an object.
> 
> Does anyone have an idea on how to do that?

Put a sinusoidal object between it and the light?


> Here what I've tried: I created several boxes objects between the source
> light and the object to be shadowed. I then set the light to be a an
> area_light type. But...it creates a triangular shadow (when doing a line
> profile in X).

I'm having trouble understanding what kind of shadow you are trying to 
achieve. You want something sinusoidal in intensity rather than shape? 
You use the term "Ronchi" several times...you're trying to simulate a 
Ronchi grating?

Try a plane with a partially transparent texture instead:
plane {-z, 1900 hollow
    texture {
        pigment {gradient x scale Ronchi_Line_Width
            sine_wave
            color_map {[0 rgb 1] [1 rgbf 1]}
        }
    }
}


> Something I would have liked to try, is defocusing the shadow produced by my
> boxes objects using some kind of lens...but I don't know how to do that.

Well, fuzzy shadows can be had with an area light, but you already know 
that...if you're looking for a true diffraction effect, POV is incapable 
of simulating it.


> ////////////////////////////////////////////////////////////////
> /// Synthesize a BGA 19x19 image

BGA 19x19?

-- 
Christopher James Huff <cja### [at] earthlinknet>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tagpovrayorg
http://tag.povray.org/


Post a reply to this message

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