hogre-examples: Examples for using Hogre.

[ graphics, mit, program ] [ Propose Tags ]

Examples for using Hogre, Haskell bindings to OGRE (Object-Oriented Graphics Rendering Engine) (http://www.ogre3d.org/). example_01 creates a simple scene with a moving entity. example_02 demonstrates use of SDL for input and window creation. example_03 demonstrates ray scene queries and loading a world configuration from a file.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.1.0, 0.1.4
Dependencies base (>=3 && <5), haskell98, hogre (>=0.0.1), SDL (>=0.4.0), stm (>=2.1.1.2) [details]
License LicenseRef-OtherLicense
Copyright Antti Salonen 2009
Author Antti Salonen<ajsalonen at gmail dot com>
Maintainer Antti Salonen<ajsalonen at gmail dot com>
Category Graphics
Home page http://github.com/anttisalonen/hogre-examples
Source repo head: git clone git://github.com/anttisalonen/hogre-examples.git
Uploaded by AnttiSalonen at 2010-05-15T13:10:40Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables example_03, example_02, example_01
Downloads 4077 total (13 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-29 [all 7 reports]

Readme for hogre-examples-0.0.3

[back to package description]
Introduction:

Examples for using Hogre, Haskell bindings to OGRE
(Object-Oriented Graphics Rendering Engine)
(http://www.ogre3d.org/).

Usage:

1. Install non-Haskell dependencies (OGRE: http://www.ogre3d.org/,
SDL: http://www.libsdl.org/).
2. Install Haskell dependencies (hogre (see 
http://github.com/anttisalonen/hogre), SDL, stm) either using
cabal, by downloading and installing the packages manually.
3. Unpack hogre-examples
4. cabal configure [--user] && cabal build
5. Define the directory where the OGRE plugins are installed in plugins.cfg.
The default is /usr/lib/OGRE.
6. dist/build/example_0[123]/example_0[123]

You need to run all the examples in the directory where the directory Media
is located (root directory of the package), otherwise the content will not 
be found.

Example descriptions:

example_01 creates a simple scene with a moving entity.
It roughly corresponds to OGRE basic tutorial #2 but without input.
If nothing is rendered, try deleting the ogre.cfg file.

example_02 demonstrates use of SDL for input and window creation.
Use arrow keys and page up/down to move, mouse with right mouse button down
to look around and 'q' or escape to exit.

example_03 demonstrates ray scene queries and loading a world configuration 
from a file.
It roughly corresponds to OGRE intermediate tutorial #2.
Use arrow keys and page up/down to move, mouse with right mouse button down
to look around and 'q' or escape to exit. With the left mouse button you can
create some robots on the landscape.