[Pipmak-Devel] Authoring features: What I am doing...
Status: Alpha
Brought to you by:
cwalther
From: Andrea V. <and...@gm...> - 2007-07-31 12:17:31
|
Hello Christian and Fabrizio, I want to show you what I'm doing. I have post a build (for Windows only, I'm sorry Chris, but I'm sure you could execute the same...) with preliminary Authoring features as I described in the Wiki. I want to clean up and tidy up the code before show it to you... My build is based on SVN 157 (i.e.: there aren't windows icon and fullscreen management). Download here: http://viarengo.altervista.org/download/Pipmak-157av.zip Try and tell me what you think about!! First exercise: Create a new project, close new project panel and after press F1 to enter "Authoring mode". Click (with Right or Left button) to view menu Go to "Face selection mode" and after click on a face to select it, click another time to load an image (you can choice a file in all your computer) Second exercise: With no face selected, click to show menu and select "Open project map". Try to add new nodes. Third exercise: Open demo.pipmak and view the project map and navigate in the project. All the dialog boxes are pipmak panels in the "Pipmak Resources" (I have leave this uncompressed) loaded as overlay node. There are nothing as definitive, the contents of menus and/or dialog boxes will change... I have added 4 source files: parserLua.c/.h and gui.c/.h with all the C function which I have added. Pay attention that you cannot modify project inside zipped file *.pipmak but only in uncompressed directory *.pipmak (Seems that Physfs can only read from zip, but cannot write into - Christian, do you confirm?) If you try to open "EthernitY" or "My House Virtual tour" and visualize the project map, after some pages (clicking on down arrow) you get an assertion failed on image->isFile=0 You can go ahead clicking on "ignore"... I'm not understand why until now: I'm loading a dialog background and after I write inside using drawtext, this panel is closed and opened a lot of time during project map navigation (if project have a lot of nodes, and therefore a lot of pages). Pipmak should set image->isFile to 0 when someone modify the image, so when the dialog background will be recalled, pipmak reload the original file and not the image in the cache, but sometime (randomly) doesn't work...and isFile=0 as data=0. 1) Christian, there is something wrong in how I build panel -40? 2) Christian, you think that this could be integrated with what you have in mind? Andrea |