https://www.sjbaker.org/wiki/index.php?title=GameTools_mk3dgallery&feed=atom&action=historyGameTools mk3dgallery - Revision history2024-03-29T12:38:58ZRevision history for this page on the wikiMediaWiki 1.24.4https://www.sjbaker.org/wiki/index.php?title=GameTools_mk3dgallery&diff=69&oldid=prevSteveBaker: New page: A screenshot made by mk3dgallery The '''mk3dgallery''' tool takes models in the '.plb' XML format or any format that PLIB can load and renders eac...2007-10-24T03:39:42Z<p>New page: <a href="/wiki/index.php?title=File:LoL_Jeep.jpg" title="File:LoL Jeep.jpg">A screenshot made by mk3dgallery</a> The '''mk3dgallery''' tool takes models in the '.plb' XML format or any format that PLIB can load and renders eac...</p>
<p><b>New page</b></p><div>[[Image:LoL Jeep.jpg|thumb|right|250px|A screenshot made by mk3dgallery]]<br />
<br />
The '''mk3dgallery''' tool takes models in the '.plb' XML format or any format that PLIB can load and renders each one in turn - saving a screendump for each page. This is useful for producing online image galleries showing all of our models.<br />
<br />
The '''''[http://www.sjbaker.org/games/lol/model_images/ LoL model gallery]''''' page was made using '''mk3dgallery'''.<br />
<br />
Usage:<br />
<br />
/u/games/tools/src/mk3dgallery modelfiles...<br />
<br />
The resulting images are placed into a subdirectory called 'screendumps' and named after the original model with the extension '.jpg'. The 'mogrify' tool is used as a part of the processing and must be installed on your computer for this to work.<br />
<br />
Because it uses the image pathnames built into the PLB loader, it needs to be run from the directory that's above both the model directory and the image directory that contains the textures. Hence:<br />
<br />
cd /u/lol<br />
/u/games/tools/src/mk3dgallery models/vehicles/jeep.plb models/vehicles/moke.ac<br />
<br />
This produces 'screenshot/jeep.plb.jpb' and 'screenshot/moke.ac.jpg'.<br />
<br />
More commonly, one might say:<br />
<br />
cd /u/lol<br />
rm screendumps/*<br />
/u/games/tools/src/mk3dgallery models/*/*{plb,ac}<br />
cd screendumps<br />
/u/videotools/gallery/mkgallery -n *jpg<br />
scp index.html ???_*.jpg root@zion:/home/www/games/lol/model_images/<br />
<br />
...this makes the screensdumps, constructs an HTML image gallery from them and copies the resulting files onto our webserver '''''[http://www.sjbaker.org/games/lol/model_images/ here]'''''.<br />
<br />
{{gameTools}}<br />
{{LoL}}</div>SteveBaker