Tuesday 19 July 2011

The GUI

The first objective tackled was the GUI... sort of.  A basic GUI was made at the beginning, but it evolved as I complete the other objectives. The final product looks something like this:


This is what you see when you start up the program.  The menu you bar at the top gives you access to all the features which you can toggle on or off.  You can also open a lua file, which describes a scene, from there. There's (obviously) also the option to start rendering an opened file as well as the option to cancel a render in progress.
Under the menu is a label that displays some info about the current state. The currently opened file is shown as well as the image size to be rendered, the ray distribution method used (more on that later), whether or not multi-threading is on, and a list of other features that are turned on. The state of the current render is also displayed.
Below the label is a giant void to be filled in with the image when render is complete.  After running the program with a simple image describing some spheres, it looks like this:

No comments:

Post a Comment