not-gloss

Painless 3D graphics, no affiliation with gloss

LTS Haskell 21.25:0.7.7.0
Stackage Nightly 2023-06-21:0.7.7.0
Latest on Hackage:0.7.7.0

See all snapshots not-gloss appears in

BSD-3-Clause licensed by Greg Horn
Maintained by [email protected]
This version can be pinned in stack with:not-gloss-0.7.7.0@sha256:068d46e5babc8f7006c76c29d704bf85495a38cc6135559b83d5fc682ca8e804,1843

Module documentation for 0.7.7.0

This package intends to make it relatively easy to do simple 3d graphics using high-level primitives. It is inspired by gloss and attempts to emulate it. This is an early release and the api will certainly change. Note that transparency can be controlled by the alpha value: "makeColor r g b alpha" but that you must draw objects from back to front for transparency to properly work (just put clear things last). Also, transparent ellipsoids and cylinders have ugly artifacts, sorry. Look at the complimentary package not-gloss-examples to get started.

Changes

0.7.6.5:
- export LoadedObjModel data constructor

0.7.6.4:
- use matrix multiplication for DCM/quat rotations

0.7.6.3:
- support OpenGL 3

0.7.5.0:
- add z translation with middle mouse button

0.7.3.0:
- add object models

0.7.2.0:
- add option to set initial camera position

0.7.1.0:
- add an interface which makes a movie

0.7.0.0:
- pass in user options with Options type
- add an optional background color argument

0.6.0.0:
- use spatial-math 0.2, which uses types from `linear` package

0.5.0.5:
- GLUT/OpenGLRaw version bumps