X-POP3-Rcpt: mscytsy@csirisa
Date: Thu, 05 Jun 1997 10:39:36 +0100
From: Neil Gatenby <neil@lightwork.co.uk>
Reply-To: neil@lightwork.co.uk
Organization: LightWork Design Ltd
To: fiction@pressroom.com
CC: "Tralvex Yeap (T.Rex)" <mscytsy@scs.leeds.ac.uk>, iashdown@ledalite.com,
        renambot@irisa.fr, alz@lanminds.com, ali@eel.ufl.edu,
        pawel@proffa.cc.tut.fi, vlad@hops.cs.jhu.edu, accmdq@mail.telepac.pt,
        greg@floyd.lbl.gov, abraham@sp.ac.sg, ttwong@unixg.ubc.ca,
        Wim.Dumon@cs.kuleuven.ac.be, mart@dcre.leeds.ac.uk,
        rcl@scs.leeds.ac.uk, graham@scs.leeds.ac.uk, max@scs.leeds.ac.uk,
        kwb@scs.leeds.ac.uk, ltpf@scs.leeds.ac.uk, blob@cpsc.ucalgery.ca,
        pwp@cpsc.ucalgary.ca, hrd@dso.org.sg, slyeap@wcdf.viewlogic.com,
        syseng@singnet.com.sg, tracy@singnet.com.sg, tyeap@singnet.com.sg
Subject: Re: Radiosity Survey Results Part 2/2
References: <2.2.32.19970604125327.005cd0e8@csirisa> <3396fd23.977605@198.69.131.1>

erik robson wrote:
> 
> ->
> ->Neil suggested Discontinuity Meshing Radiosity and biased Monte Carlo
> ->path tracing.
> 
> Sorry to turn this into an impromptu mailing list, but because there isn't
> a radiosity-specific newsgroup, I have some spare questions.
> 
>  I was wondering if someone can provide an overview of discontinuity
> meshing radiosity... I saw some info on it at a university site, but the page
> seemed written for those who already had a history with the system.

Well, seeing as it was me that mentioned DMR ....

Consider a scene, made up from polygons (no spheres, NURBS, etc., unless
they have been polygonalised) which we want to perform radiosity on. 
Typically, the first thing one would do is to split up big polygons into
smaller "patch size" &/or "element size" pieces, and use these as the
starting point for my radiosity.

With DMR, we build the mesh as we go; inserting mesh edges where we
calculate shadow boundaries should be.  Imagine a point light source. 
Now imagine this illuminating a polygon floating about a floor.  If we
create lines which join the poly verts to point light, and trace these
lines to the floor, we'll get a set of dots on the floor.  If we join
these dots in the same way their causal poly verts are joined, we will
have drawn an outline of the poly's shadow on the floor.  Similar
geometry operations can get you a whole bunch of lines that make up a
(polygonal) area light's shadow ... with some lines being on the
lit/penumbra boundary of the shadow, some lines being on the
umbra/penumbra boundary, and some lines making up the detail of the
penumbra.  If we now mesh the surface, making sure to incorporate these
edges, then we end up with a mesh which will capture the shadow REALLY
well.  That is the basics.


> In the images I've seen, the shadows seem to have the best of
> both raytracing's crisp shadows (where appropriate) and radiosity's accurate
> diffuse illumination.
> Is this a CPU-expensive process?

Fairly, yes, but it depends how many discontinuity edges you are looking
for.  And you save on visibility calculations.

> If the process is fairly mature, why hasn't it been implemented in any
> commercial packages yet?

memory.  Whilst the process I described works well for primary light
sources, it is not a good idea to treat every secondary reflector in the
scene (thousands of them) which such vigour ... you will end up with
edges EVERYWHERE.  

> 
> Thanks all,
> 
> erik

Neil

