Git Product home page Git Product logo

caltech_formfactor's Introduction

On the Formfactor between Two Polygons

Abstract

Form factors are used in radiosity to describe the fraction of diffusely reflected light leaving one surface and arriving at another. They are a fundamental geometric property used for computation. Many special configurations admit closed form solutions. However, the important case of the form factor between two polygons in three space has had no known closed form solution. We give such a solution for the case of general (planar, convex or concave, possibly containing holes) polygons.

Authors

  • Peter Schröder
  • Pat Hanrahan

Changes

  • CMake project & build support
  • MSVC compatibility fixes
  • data export for "geometry for two rectangles sharing a common edge" figure

Figure generator

ffData = Import["caltechFF.txt", "Table"];

ListLinePlot[Transpose[ffData], PlotRange -> {{0, 528}, {0, 1.025}},
 ImageSize -> {840 - 24, 512 - 24}, AxesLabel -> {Style["\!\(\*
StyleBox[\"\[Theta]\", \"InlineCode\"]\)", Black,
    FontFamily -> "Cambria", FontSize -> 24],
   Style["F12", Black, FontFamily -> "Cambria", FontSize -> 24]},
 PlotStyle -> Directive[Black, Thick],
 AxesStyle -> Directive[Black, Thick, 16],
 Ticks -> {Table[{i, 180 i/512 \[Degree]}, {i, 512/18, 512, 512/18}],
   Table[N[i], {i, 1/5, 1, 1/5}]}, ImageMargins -> 16]

References

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.