a re-write of e1337 with BearRiver (and, maybe, MVars)
clone repo, cabal build
, ./run.sh
w,a,s,d,q,e - 6-axis movement
PgUp/PgDown - roll left/right
arrow keys, mouse controls - yaw, pitch
LCtrl - slow
LShift - fast
LCtrl + LShift - very fast
C - switch camera
Space - reset
Esc - quit
- Basic shading and animations.
- Mercury, Venus, Earth (Moon), Mars, Jupiter.
- Project file supports multiple cameras with individual params.
- Logarithmic Space (rendering objects in real scale at 10 billion kilometers is ok).
- Improved camera controls.
- Project file generator.
- Speed controls for keyboard movement.
- Foreground and Background objects with different rendering options.
- Working on basic solvers (spinners, lodders, physics).
$ cabal build
$ gpu ./run.sh
or, if optirun works for you:
$ optirun ./rungl.hs
$ ./resources/convertGeo.sh earth
$ cabal run genMaterial matDir/matName
$ cabal run genMaterial mat/graph
> ./mat/graph/graph...
(that generates a ./mat/testMat01 material directory with a default conent (constant shader material)
$ cabal run exe:genProject -- ./projects/test
$ cabal run exe:genApplication -- -a ./applications/solarsystem
test:
./resources/convertGeo.sh box
cabal build exe:genProject
cabal build exe:genApplication
cabal run exe:genGUI
cabal run exe:genProject -- ./projects/test
cabal run exe:genUUID -- -p ./projects/test
cabal run exe:genApplication -- -p ./projects/test
cabal run exe:ProjectViewer ./applications/preview
$ cabal run exe:genUUID -- -p ./projects/test
$ cabal run exe:genUUID -- -m mat/test/test
- compiling:
$ cabal repl exe:e1338