Jump to content




ARC - Really Simple Plethora Augmented Reality


2 replies to this topic

#1 osmarks

  • Members
  • 22 posts

Posted 31 July 2018 - 08:13 AM

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.

#2 hugeblank

  • Members
  • 122 posts
  • LocationA grocery store near you!

Posted 01 August 2018 - 06:31 AM

View Postosmarks, 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.
For shatter I write each character as its own object so that they are equidistant from each other and I don't get this problem.
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 osmarks

  • Members
  • 22 posts

Posted 01 August 2018 - 07:13 AM

View Posthugeblank, on 01 August 2018 - 06:31 AM, said:

View Postosmarks, 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.
For shatter I write each character as its own object so that they are equidistant from each other and I don't get this problem.
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.
I'm probably just going to stick with the current system, which makes text look right but be oddly placed.

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