grichardsldn / darkbat

wireframe display adapter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

darkbat

display adapter for global application desktop

architecture

architecture

what's actaully implemented here

implemeneted here

compiling for mac

  • install xquartz
  • (I had to) create a symbolic link from /usr/local/include/X11 to /opt/X11/include/X11

Viewer

$ cd viewer
$ make
$ ./view

keys

  • h left
  • j back
  • k forward
  • l right
  • u up
  • , down
  • - zoom out
  • = zoom in

Clicking on something clickable highlights it, keypresses that are not the viewer keys are sent to the client application that owns the highlighted item.

There's a #define STEREOSCOPIC in viewer/viewcpp, setting that to 1 will give red/green 3d, though it just stamps the green over the red, so it's a bit cranky.

demo client

These are a ui for a bank of volume control sliders. They project to an adjustable position, a bit behind the starting viewpoint of the view.

keys

  • 1 slider down
  • 2 slider up

compilation

$ cd api
$ make

example

  • start the viewer
  • move the view back a bit
  • in a 2nd shell, make a volume panel: $ ./dkbtest
  • in a 3rd shell, make another next to it: $ ./dkbtest 20
  • the triangles are the handles, click on a triangle and 1 and 2 will adjust the sliders

About

wireframe display adapter


Languages

Language:C++ 80.1%Language:C 17.3%Language:Makefile 2.6%