Skip to content

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

License

Notifications You must be signed in to change notification settings

madjestic/e1338

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published