Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
marcin212

[MC 1.7.10][OC 1.4.0] OpenGlasses

Recommended Posts

Hello everyone! This is Direwo... wait, no...

But, since I've caught your attention now, I'd like to show you a mod that I've been creating for some time now.

The Mod is called OpenGlasses ans is an extension to OpenComputers.It is analogous to glasses from the OpenPeripherals add-on for ComputerCraft, but adds a few more nifty features.



0dae77fa683bde0a44bfe27a611c6214.png



Download: LINK
Wiki: LINK
Issues: LINK

Link to post
Share on other sites

This looks positively amazing, will definitely play around with this :-)

 

Did you consider making the terminal available as an upgrade, too, so it could be built into tablets? (or is it already and I missed that on the wiki?)

 

Also, another idea - triggered by the geolyzer in the recipe - did you consider making information on what the player is looking at available? So you could overlay information about a block as floating text in the world, for example? Possibly even T2 terminal/glasses that use OC's block drivers to provide yet more information about certain blocks (i.e. provide the component created by a driver while looking at the block, so you could read stuff like stored energy, fluids, items, ...)?

Link to post
Share on other sites
Did you consider making the terminal available as an upgrade, too, so it could be built into tablets?

Maybe in the future.

 

 

Also, another idea - triggered by the geolyzer in the recipe - did you consider making information on what the player is looking at available? So you could overlay information about a block as floating text in the world, for example? Possibly even T2 terminal/glasses that use OC's block drivers to provide yet more information about certain blocks (i.e. provide the component created by a driver while looking at the block, so you could read stuff like stored energy, fluids, items, ...)?

I made some basic components as a start. I will add more in the future. This feature is partially possible by the floating text and cube widgets (with the Looking At attribute set).

Link to post
Share on other sites

Amazing. I ever wanted to create one Terminator/Robocop/Futuristic HUD program, but without the world positioned holograms, a lot of triangulation work was necessary using OpenPeripheral Glasses.

Huh, I don't think you need methods to know where the player is looking at, as the OpenPeripheral's Sensor does the job pretty well.

Link to post
Share on other sites
Guest Tavisco

Wow! Nice!

Thanks for the mod, using it right now! Very useful.

 

If you allow me, I want to make a request: A way to interact with the computers without been on it, since clicking in the overlay is impossible, I would like to ask you to make the computer "listen" to the chat, so, for example,if I write in the chat "@Next_page", it will trigger the computer, that will be waiting for any message, similar to the OpenPeripheral's way.

 

Thanks again!

Link to post
Share on other sites

Wow! Nice!

Thanks for the mod, using it right now! Very useful.

 

If you allow me, I want to make a request: A way to interact with the computers without been on it, since clicking in the overlay is impossible, I would like to ask you to make the computer "listen" to the chat, so, for example,if I write in the chat "@Next_page", it will trigger the computer, that will be waiting for any message, similar to the OpenPeripheral's way.

 

Thanks again!

 

Use the OpenComputers Tablet, it does the work.

Link to post
Share on other sites

I'm a big-time PyOpenGL developer and wanted to use this mod a while back to add characters in game...

 

low and behold, I was very disappointed when I found out what this mod couldn't do:

- per-vertex normals

- per-vertex colors

- per-vertex UVs

- depth testing

- I'm not going through the list of possible capabilities

 

I had to hack this mod and decompile it to look at how your functions worked because there was no offline docs and found you were using the GL FFP to draw triangles.

 

if you could get vertex arrays working (could care less about it being cruddy ARB rather than native GL arrays)

it would really help out :)

 

I wouldn't mind lending a hand if you're a noob and need info...

but keep in mind, I'm not a java programmer...

I will however start working on my own mod for 1.10 which does something similar to your admired mod,

so if you want to take over earlier versions, feel free :)

 

yes, I very much admire your mod, because it's awesome ;D

 

will you be working on supporting any of these mentions?? :)

Link to post
Share on other sites

i've forked the mod and added some features, and will probably add some more soon. pikachu if you are still interested in helping you're welcome.

  • baubles support
  • glasses use ForgeEnergy (charging is now done in OC Charger or any FE compatible device, like EIO Wireless Charger/Capbanks)
  • glasses can be upgraded on Anvil
    • OC Battery Upgrades increase Energy Capacity
    • OC Database Upgrades increase the Widget limit)
    • OC Motionsensor enables the Sneaking Detection for Modifiers
    • OC Geolyzer enables the Swimming Detection for Modifiers
    • OC Tank Upgrade enables the Weather Detection for Modifiers
    • Minecraft Daylight Sensor enables the Light Detection for Modifiers
  • ingame manual (new tab in the OpenComputers handbook)
  • private widgets, widgets without owner render for all linked glasses
    • (widget)->setOwner("playername")
    • (widget)->getOwner()
    • (widget)->getOwnerUUID()
  • Custom Shapes for 2D Overlay + 3D World
    • setShading("modename")
      • modes: "SMOOTH" / "FLAT"
    • setGLMODE("modename")
      • modes: "TRIANGLES" / "TRIANGLE_STRIP"
  • Wavefront Object Widget
  • Entity Tracking
  • Item Render for 2D Overlay + 3D World 
    • addItemIcon
    • setItem("minecraft:stone", 0)
      • sets the item to stone block
    • setItem("minecraft:stone", 5)
      • sets the item to andesite block
  • rectangle boxes with gradients for 2D Overlay
  • 2D Widgets can be aligned
    • (widget)->setHorizontalAlign("center")
      • left, center, right
    • (widget)->setVerticalAlign("top")
      • top, middle, bottom
  • new render pipeline which adds modifiers to change apperiance of widgets
    • (widget)->addColor(r, g, b, alpha)
    • (widget)->addScale(x, y, z)
    • (widget)->addRotation(angle, x, y, z)
    • (widget)->addTranslation(x, y, z)
  • easing functions to animate widgets
    • really, read the projects wiki on github about that...
  • conditions to toggle the modifiers (some need a upgrade to be added on Anvil to get useable)
    • overlay active / inactive
    • weather rain/clear
    • swimming / not swimming
    • sneaking / not sneaking
    • lightlevel min / max (0-15)

 

builds for 1.10.2 and 1.12.x can be found here:

https://github.com/ben-mkiv/OCGlasses/releases

Check my Wiki for new API Functions

https://github.com/ben-mkiv/OCGlasses/wiki

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.