SyntaxHighlighter

Wednesday 24 July 2013

Day 33: Results of hard labour

Stuffage

Today I did the following:
  • got the FileSystemWatcher working in ExportJPEGs (calls an event handler whenever a file is added to the folder)
  • Implemented ExportJPEGs to do everything up to the uploading of the gif, when user clicks export button
  • Implemented ExportJPEGs to automatically run lftp monitor upon starting
  • Implemented ExportJPEGs to fix model and rename regex inside fbx files when file is added to watch directory
  • Implemented ExportJPEGs to automatically build models after the files are ready
Now I basically want a system where new heads that are imported from the webserver show up in the GUI.

So the new files get built automatically and sent to the common folder (that LowryDemo and this ExportJPEGs can access).

ExportJPEGS displays a list of all head files that are ready for loading (the pre-load building is happening automatically, after files are built they are shown in this list).

The user can select a head from the list and click a button to load it, which brings it into the view so they can move it about and export it as a gif as and when required. In this way the user can switch between heads back and forth and re-make-and-upload gifs.

Update: Just found out GoblinXNA has only a half-finished version of a ScrollPane. Its basically disabled, but in the source code you can see a mostly-complete-looking implementation of a ScrollPane with the comment "IMPLEMENTATION NOT YET FINISHED" at the top.

Without a ScrollPane our list won't be able to scroll up or down, so when we have 50 or so heads in they will just overflow the view and run off the end.

Well... I've been having a crack at fixing scroll pane myself. Joy.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.