GameTools mk3dgallery

From Wikiid
Revision as of 20:39, 23 October 2007 by SteveBaker (Talk | contribs) (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...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
A screenshot made by mk3dgallery

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.

The LoL model gallery page was made using mk3dgallery.


  /u/games/tools/src/mk3dgallery modelfiles...

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.

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:

  cd /u/lol
  /u/games/tools/src/mk3dgallery  models/vehicles/jeep.plb  models/vehicles/

This produces 'screenshot/jeep.plb.jpb' and 'screenshot/'.

More commonly, one might say:

  cd /u/lol
  rm screendumps/*
  /u/games/tools/src/mk3dgallery  models/*/*{plb,ac}
  cd screendumps
  /u/videotools/gallery/mkgallery -n *jpg
  scp index.html ???_*.jpg root@zion:/home/www/games/lol/model_images/

...this makes the screensdumps, constructs an HTML image gallery from them and copies the resulting files onto our webserver here.

Wikiid Pages relating to gameTools (edit)
gameTools - Main page
gameTools - Support Tools :
plb_to_ac3d, mklevel, mktile, mktree, tiled, autogen_java, mk3dgallery
gameTools - File Formats :
title_screen.rgb, ultimate.xml, material.xml, decoration.xml, physics.xml
tiled.xml, tiled_autotiles.xml, Level files, Tile naming scheme, PLB files
gameTools - Source Code :
Game functions: gameCamera, gameClock, gameChecksum/gameHashTable, gameHTTP,
gameIsect, gameJoystick, gameParticleManager, gameScreen/gameMouse,
gameSky, gameStarter, gameStrokeFont, gameUtils
Material database: MatList/MatEntry
Tile map handling: TileObject/MapFlag/MapEntry/Map
Java Interfacing: JavaLink
Image file loading: liImage/liImageFactory
3D Model file loading: loadPLB, PLB exporter
Physics: Sabot, Bullet, gameTools - Use with Blender, PLB exporter
Object management: Object

Wikiid Pages relating to Lemur of Lima (edit)
Lemur of Lima - Main page
Lemur of Lima - Controls
Lemur of Lima - Levels :
List of Levels, Level design, Screen shots, Models
Lemur of Lima - Java Plugins :
Java plugin API, Event handling, Flags, GameInterface API , Alphabetical Index
Lemur of Lima - Source Code Documentation :
Initialisation, Main Loop, gameTools