[ Download Binaries (MFCGonio_1.4.0.0.zip) ]
[ Download Sources (MFCGonio_1.4.0.0_src.zip) ]
MFCGonio is a virtual goniophotometer which uses the R.I.S.E. library to perform goniophotometric measurements on materials. It is useful for trying to visualize a BRDF and for testing out the scattering probability functions of new materials. This utility was written during the research behind the JGT paper titled "Improving the Reliability/Cost Ratio of Goniophotometric Comparisons.".
There two dialogs in the application. One shows the detector sphere, the other is a set of controls. The red cone is meant to visually indicate the position of the emitter. The reason that on start up the detector sphere is multicolored is to visualize how the different patches have been discretized. The 'Show Lobe' button in the UI dialog renders the lobe of the resulting BRDF using the existing detector sphere patch set. You can control the orientation of the viewer by clicking the left mouse button in the rendering window and dragging (for polar orientation) and the right mouse button and dragging (for azimuthal orientation). If you hold down the 'Ctrl' key while orienteering, you will control the position of the emitter instead. You can directly edit the position and orientation by changing the numbers in the text box in the UI. As you make changes they will be reflected in the rendering dialog.
You can change the number of patches in the phi and theta orientations by changing their numbers in the 'Detector Patch Properties' group. You must click on 'Rebuild Detector' for the change to take effect. You can also change the discretization type from the pulldown menu. Changing the discretization type will automatically regenerate the detector sphere. Note that if you regenerate the detector sphere, you will lose all currently computed results.
After a set of simulations, you may notice a strip of patches that are colored red. This represents the strip of patches that will get saved out if you click on the 'Save Strip' button.
By default, the emitter is set to be a collimnated point source and the specimen is an infinitismally small point. You specify a disk for the emitter by unchecking the 'Rays from Point' checkbox. You can specify a disk for the specimen by unchecking the 'Disk Radius' checkbox.
DirectX 8 is used to render the detector sphere and the lobe. MFC was used for the UI dialog. The Windows XP style is used, so you'll need Windows XP. Unless you have a copy of Visual Studio 2003 .NET installed or have installed some other application that has already installed the MSVCR runtimes, you will need those rumtimes and the MFC71 DLL. I'm not sure where you can get these, but if you need them, let me know and I'll see what I can do. I have recently tried this application on Windows Vista and Windows 7 and it works fine.
|