Git Product home page Git Product logo

photons's Introduction

Accurate Radio Transmission Using Photon Mapping

Getting the Code

https://github.com/laprej/photons will show available options for viewing and downloading the code as you see fit. Clicking on "Downloads" will present you with several options including "Download .tar.gz" and "Download .zip." Additionally, you can use git directly:

git clone git://github.com/laprej/photons.git

Running the Code

To build the code, simply type:

make

This should build the code. Assuming no errors, it can be run like so:

./render <parameters>

Typically parameters involve input files and number of photons to shoot. A good start would be something like this:

./render -input refloormapsobj/AE_quads.obj -num_photons_to_shoot 500

Additionally, we added the d command. Once the photons have completed firing, i.e. after the p key has been pushed and it has completed, pushing the d key will light the spheres according to a conventional color scheme. Green is good and means the sphere received enough photons for communication to take place. Red is bad and means it did not receive enough photons. Colors will vary between these two extremes as appropriate.

To repeat our experiments, you may run the following commands:

./render -input refloormapsobj/AE_Quads_Control.obj -num_photons_to_shoot 10000
./render -input refloormapsobj/AE_Quads_No_Transmit.obj -num_photons_to_shoot 10000

Of course, shooting 10000 photons will take quite a while. Consider using a smaller number (such as 500 or 1000).

photons's People

Contributors

laprej avatar markemer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

ly772696417

photons's Issues

Can I have the course web site?

I'm interested in your photon mapping project. As you mentioned it was a project for one course, I'm curious about contents of the course. So can you tell me the web site of the course? Or just tell me which university and the course number will be fine. Thanks.

License ?

Hello, under what license is this project released under ? Thank-you.

Compiling errors when using the command

HI dear author,
It's truly a honor to write a letter to you, I'm build your project nowadays and found the error when building as following, I wonder if there is a chance that you know the reason? :)

image

thank you
best regards to you
William

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.