initial lcmgl code is in (but not tested)