NOTE: This script works hand in hand with my renderscript.py
NOTE: Read the code far below for documentation.
Updates:
Apr-23-07:
- Cleaned up the code quite a bit. I have implemented event-tables for various modes of the viewer.
- Hooked popup menus to LMB/MMB/RMB.
- LMB (Image mode and List mode) used for navigating the images
- MMB (Image mode) used to scale and toggle image alpha.
- Bug fixes
- While in list-mode, A and S keys were still functional. Now only functional during image-mode.
- If any keys were pressed during reloading, they were executed once its done. Now i flush all events on the queue after reloading ends. This will avoid unnecessary state changes and redundant reloading.
- Next step is adding HTML output functionality.
Apr-22-07:
- Added ability to reload images (RKEY). I still have to implement a smart caching mechanism to load only the newer images.
- Also, cleaned up the code quite a bit and implemented a basic reloading mode.
- Today i modified the code in renderscript.py to store the metadata for my rendered
stills to the files images directory. So i had to accordingly change my viewer code.
The viewer starts in List Mode, listing all the review images with a small thumbnail. Use arrow keys to select image.
Pressing ENTER will take you to Image Mode, showing the description at bottom and also viewer state.
SKEY toggles the size of image. Right now 3 sizes are available: half-size, full-size, double-size
AKEY displays image with alpha.
Code :
The latest code can be downloaded from here



