Skip to content

Latest commit

 

History

History
83 lines (63 loc) · 1.65 KB

README.md

File metadata and controls

83 lines (63 loc) · 1.65 KB

e1338

a re-write of e1337 with BearRiver (and, maybe, MVars)

a youtube demo

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

Recent Progress:

  • 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).

Building and running:

$ cabal build
$ gpu ./run.sh

or, if optirun works for you:

$ optirun ./rungl.hs

Convert a Geo Model:

$ ./resources/convertGeo.sh earth

Creating a new Material:

$ 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)

Generate a new Project:

$ cabal run exe:genProject -- ./projects/test

Fix project's UUIDs:

$ cabal run exe:genUUID -- -p ./projects/test

Fix material's UUIDs:

$ cabal run exe:genUUID -- -m mat/test/test

Working with REPL:

  • compiling:
$ cabal repl exe:e1338