POV-Ray : Newsgroups : povray.newusers : POV-Ray for optics and modelling Server Time
26 Nov 2024 19:39:12 EST (-0500)
  POV-Ray for optics and modelling (Message 1 to 4 of 4)  
From: MVSmith
Subject: POV-Ray for optics and modelling
Date: 21 Jan 2004 20:56:12
Message: <400f2dbc@news.povray.org>
Hi there...I really love this app. I've been using computers for 35 years,
and it's been
a long time since I've wanted to go over every speck of the docs, and get
into all the
dark corners.

I have a couple of newbie questions, though, that I haven't had much luck
finding answers
for:

1) Pointers (links, etc) to info and approaches for using POV-Ray as a
virtual optics
    bench. Not asking the app to perfectly model optics--I just want to do
simple stuff. Example:
    I'm converting a parabolic satellite dish into a solar collector. I want
to place a secondary
    reflector just short of the focal point, and redirect the resulting beam
down through the
    axis of rotation. So this is all front-surface reflection, and I'd like
to look at the result of
    SORs for the secondary reflector before building something. I think I
can create an array
    of multiple-parallel-beam light sources (array of laser beams), so I can
look at the path of
    each beam through the system.

    So in this context (other than requesting general info on optics
projects in POV-Ray), is
    there a way to "blow smoke" in the air to see each beam without
attenuating it?

2) This is the more serious question. I'd like to model an object (for
example, the union of
    two extruded splines that are centered and parallel to the z-axis), take
cross-sections of
    the object at intervals, and read each cross-section out into a file so
the dataset can be converted
    into commands for a numerical-control milling machine. This is more for
artistic applications,
    so extreme precision isn't needed.

    So far, I've discovered only two possible methods, both of which are a
little kludgy:

    -- Derive the union of the shape and an intersecting plane, and using a
parallel light source
    project the slice onto a "screen" of sorts that is coincident with the
POV of the camera. Save
    the bitmap, and then use a conversion utility to read out the outline.
Very kludgy, but creative, no?

    -- Use POV-Ray's _inside_ function to determine if a given point is
inside or outside the
    object. Use an interative routine that "scans" along an array of XY
points on each z-plane
    cross-section, and then by successive approximation generate a series of
points that are
    just inside (or outside) the surface up to some limit of accuracy.

    I can see that I can generate a mesh, save the surface to a file, and
take cross-sections of that
    dataset, but I was wondering if there was a more generalized method one
could use with any
    given union of objects.

Thanks for at least reading this far! 8)

--Chris


Post a reply to this message

From: Bonsai
Subject: Re: POV-Ray for optics and modelling
Date: 22 Jan 2004 03:31:26
Message: <400f8a5e$1@news.povray.org>
MVSmith schrieb:
> I have a couple of newbie questions, though, that I haven't had much luck
> finding answers
> for:
> 
> 1) Pointers (links, etc) to info and approaches for using POV-Ray as a
> virtual optics bench.

Look at the sample files that come with POV-Ray. There is one called 
optics.pov (directory scenes/advanced) that simulates a optics bench. 
Use photons for your experiments...

Happy poving!

Bonsai

-- 
<--------------------------->
    ___ __ __  _ ___ ___  _
   | _ )  \  \( )  _) _ )( )
   | _ \() |\ \ |\ \/ _ \| |
   |___/__/_)\__)___)/ \_)_)

        www.b0n541.net
<--------------------------->

"Hi. I'm a signature virus. Add me to your signature - help me spread!"


Post a reply to this message

From: Dan P
Subject: Re: POV-Ray for optics and modelling
Date: 23 Jan 2004 18:33:51
Message: <4011af5f$1@news.povray.org>
"Bonsai" <bon### [at] b0n541net> wrote in message
news:400f8a5e$1@news.povray.org...
> MVSmith schrieb:
> > I have a couple of newbie questions, though, that I haven't had much
luck
> > finding answers
> > for:
> >
> > 1) Pointers (links, etc) to info and approaches for using POV-Ray as a
> > virtual optics bench.

As payment for our help, we get to see the results of this rather COOL idea
;-)


Post a reply to this message

From: MVSmith
Subject: Re: POV-Ray for optics and modelling
Date: 12 Feb 2004 12:54:29
Message: <402bbdd5$1@news.povray.org>
thank you 8) will do. I already have a parabolic solar reflector modeled
that has a secondary reflector just short of the focal point, but want to
add
an array of parallel "laser beams" with an atmospheric effect that would let
me see the reflected beam paths. Will upload images later in Feb.

--MVSmith


"Dan P" <dan### [at] yahoocom> wrote in message
news:4011af5f$1@news.povray.org...
> "Bonsai" <bon### [at] b0n541net> wrote in message
> news:400f8a5e$1@news.povray.org...
> > MVSmith schrieb:
> > > I have a couple of newbie questions, though, that I haven't had much
> luck
> > > finding answers
> > > for:
> > >
> > > 1) Pointers (links, etc) to info and approaches for using POV-Ray as a
> > > virtual optics bench.
>
> As payment for our help, we get to see the results of this rather COOL
idea
> ;-)
>
>


Post a reply to this message

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