I made a simple "augmented reality" thing for Plethora's overlay glasses which basically just allows text to be displayed when you're near "beacons" (computers with modems transmitting data).
Client: https://pastebin.com/jpKfiEgm
(must be run on a neural interface with a modem and overlay glasses)
Server: https://pastebin.com/vdmRK38T
(must be run on a computer with a wireless modem)
Example config (save it to conf.tbl): https://pastebin.com/8y03YZrL
(for server)
If text is weirdly positioned, that's because I attempt to rightalign it and that's quite hard to do with Plethora. If you know how to make it work, please tell me.
0
ARC - Really Simple Plethora Augmented Reality
Started by osmarks, Jul 31 2018 08:13 AM
2 replies to this topic
#1
Posted 31 July 2018 - 08:13 AM
#2
Posted 01 August 2018 - 06:31 AM
osmarks, on 31 July 2018 - 08:13 AM, said:
If text is weirdly positioned, that's because I attempt to rightalign it and that's quite hard to do with Plethora. If you know how to make it work, please tell me.
See this:
https://github.com/h...shatter.lua#L77
ox and oy are 6 and 9, respectively.
EDIT: There is a minor downside that some letters look like they're oddly spaced apart, but I think that's better than your dilemma.
Edited by hugeblank, 01 August 2018 - 06:34 AM.
#3
Posted 01 August 2018 - 07:13 AM
hugeblank, on 01 August 2018 - 06:31 AM, said:
osmarks, on 31 July 2018 - 08:13 AM, said:
If text is weirdly positioned, that's because I attempt to rightalign it and that's quite hard to do with Plethora. If you know how to make it work, please tell me.
See this:
https://github.com/h...shatter.lua#L77
ox and oy are 6 and 9, respectively.
EDIT: There is a minor downside that some letters look like they're oddly spaced apart, but I think that's better than your dilemma.
EDIT: I just implemented ranges which are cuboidal, so you can designate areas which aren't spheres centred on beacons. See the example config file for details.
Edited by osmarks, 01 August 2018 - 08:04 AM.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users