Closed jonnenauha closed 11 years ago
Have been pushing stuff to this branch for the whole weekend and modified the info as I went. Added proper headless support to the config and started working on a proper headless renderer tailored for Tundras --headless
usage. Repo can be found here https://github.com/jonnenauha/ogre-headless-renderer and I'll be adding the dep path to Windows at some point.
Mac QJson deps build done here https://github.com/Adminotech/tundra/compare/a1397a0d7584...f2887f660dd8
Moving Windows to the new Headless renderer here https://github.com/Adminotech/tundra/compare/f2887f660dd8...b849735a6816
JSON core support
CoreJsonUtils.h
that has various functions to parse JSON toQVariant
and to serializeQVariant
to JSON.Core config JSON support
--config
support for JSON."60"
(although we still store everything as strings in framework).tundra.json
that "replaces"plugins.xml
andtundra-client.json
that "replaces"viewer.xml
.--config
this does not break anything that is out there.plugins.xml
is still default loaded if no--config
startup parameter is present!Rendering config JSON
Common
sections that get processed on all platforms and platform spesific sections.--headless
run rendering plugin. Even if in config can be overridden with--direct3d9
and--opengl
. DefinedRenderSystem_Headless
as the headless renderer for Windows.--ogreConfig
startup parameter.New headless renderer
I started working on a proper headless renderer at https://github.com/jonnenauha/ogre-headless-renderer. The currently used
RenererSystem_Null
is buggy (at least in debug mode) and it has a nasty GPL license for Tundra. The newRenderSystem_Headless
is tailored for Tundra--headless
usage and already working.With this pull request Windows moves to use the new headless renderer. Build and config paths included. This plugin will be automatically used if defined in the Ogre config headless section. But even then can be overridden with
--direct3d9
and--opengl
.Note on dependencies
Linux build path still needs to be implemented using either package manager or from sources, see more at http://qjson.sourceforge.net/build/.