Hi,
I have been playing with Java little bit, and small program "PvModelViewerG3d" is result of it. It currently supports only g3d (version 3 and 4). It does not support particles, maps, or anything else except g3d models.
G3d file format specification / descriptionG3d version 4G3d version 3It
should run on: windows, macosx, linux.
It
runs on: windows vista 32-bit, windows 7 64-bit + java 32-bit, linux 64 bit + java 64-bit.
Issuesindian tent looks weird - Z-zoom isn't as expected? and Z-rotation (of model-view) should default to the same value as in Glest
Feature requests- when manually changing animation stage, it should jump through end/begin (0.98, 0.99, 0.00, 0.01, ...)
(added)
- the axis text (X, Y, Z) should not scale while zooming
(added)
- add pause/resume camera movement option
(added)
- use mouse for camera movement (wheel for zoomin, buttons for rotation)
(added)
- g3d version 3 support
(added)
- reset the camera position
(added)
- keyboard shortcuts:
+- zoom,
pause pause/resume camera animation,
backspace reset camera,
spacebar pause/resume model animation
(added)
- add settings for speed like in Glest: speed in seconds = ceiling(1.0/(speed in glest/4000.0))/40.0
- add support for Z-X grid
- grid should default to "Glest tile size" in density (but how?)
- add drag & drop support
- remember last-used settings
- remember last-used directory, remember recent-files list
Example g3d files version 4MegaGlest/techs/megapack/factions/egypt/units/snake/models/snake_standing.g3d
MegaGlest/techs/megapack/factions/tech/units/battle_machine/models/battle_machine_attacking.g3d
Example g3d files version 3MegaGlest/techs/megapack/factions/indian/units/archer/models/archer_walking.g3d
MegaGlest/techs/megapack/factions/indian/units/horseman/models/horseman_attacking.g3d
Tell me what you think, and if it is of any use to anybody. Maybe you would like to have more features? E.g. more formats, make it map viewer too, etc.
If it doesn't start correctly:
(A) it complains about missing library: run it with "java -Done-jar.verbose=true -jar PvModelViewerG3d-all.jar > log.txt" and send me file log.txt
(B) it complains about other error - just say so
Dependencies of program: none (except standard Java 6).Screenshot:
Download:
http://trampolina.hys.cz/MG/my/PvModelViewerG3d/PvModelViewerG3d-all.jarCheers!