X-Accept-Language: en MIME-Version: 1.0 To: Michael Greenhalgh Subject: perl script Dear Michael, I have attached three files : genrelief.pl, panel.inp and Relief.Info genrelief.pl : perl script to generate VRML file which loads images into the picture slots. panel.inp : input file for genrelief.pl which contains required information for the basement gallery. Relief.Info : an example image database. You already have the following directory structure : sistine 512 IMG WRL Execute the genrelief.pl script in 512 directory as follows : perl genrelief.pl Relief.Info > relief.Q1.wrl Relief.Info is your image database. relief.Q1.wrl will be generated and will contain the VRML image definitions. I would advise you not to change the file name relief.Q1.wrl as this is accessed in Q1.wrl (or change the name in Q1.wrl as well ) Scores of html and wrl files will be created in WRL directory (PLEASE NOTE THAT IF THE WRL DIRECTORY IS ABSENT THESE FILES WILL NOT BE CREATED) The files in this directory will contain the actual information for putting up the images in the slot and linking up these with the larger high definition ones. The files in this directory access the images from IMG directory and Reliefs directory (which is at the level of 512). When you execute the genrelief.pl script it will also create a file called Viewpoints. The file as the name suggests will contain all the viewpoints, which you may use it to replace the older ones in Q1.wrl (but there is no need to do it as the coordinates in both the cases will be same, only the viewpoint names would be different - this would matter if you want to jump from high definition image to the gallery). So you must now have Q1.wrl, relief.Q1.wrl, Viewpoints, Relief.Info(or whatever name you choose) and panel.info, genrelief.pl (if you choose to keep these files in the same directory as others, it is desirable to keep these two files apart in a separate directory from the others) Since the html files in WRL directory access the larger images in Reliefs directory at the level of 512 you may keep the following directory structure : sistine Reliefs <<== contains the high definition images 512 WRL <<== wrl and html files for each panel IMG <<== lower definition images other files