Hello, everyone, I'm ds84182, the developer of CCLights2, a Minecraft mod that adds a GPU as an addon for the ComputerCraft mod. CCLights2 allows you to show graphics to various displays, currently I only have 3 displays, a Monitor (uses a Gui), a Big Monitor (doesn't use a Gui), and the tablet (uses both a Gui and an outside display).
CCLights2 comes with an easy to use API to draw to the screen, and soon will come with the ability to load PNG images from a computer and the web and display them to the screen.
You can read more about it at it's forum thread at the ComputerCraft forums:
http://www.computercraft.info/forums2/index.php?/topic/10216-
Also, here is a crappily recorded (I have terrible internet) video showing off some of it's features:
And here's an imgur album that will get updated with more images soon: http://imgur.com/a/aqoxk
CCLights2 lets you create graphics in ComputerCraft, something that was not possible before. Throw away that terminal, and indulge yourself in pixely goodness. Try CCLights2 today.
Technical Info: (TL;DR, blah blah blah I am not responsible for flashing lights!)
CCLights2 comes with an easy to use API to draw to the screen, and soon will come with the ability to load PNG images from a computer and the web and display them to the screen.
You can read more about it at it's forum thread at the ComputerCraft forums:
http://www.computercraft.info/forums2/index.php?/topic/10216-
Also, here is a crappily recorded (I have terrible internet) video showing off some of it's features:
And here's an imgur album that will get updated with more images soon: http://imgur.com/a/aqoxk
CCLights2 lets you create graphics in ComputerCraft, something that was not possible before. Throw away that terminal, and indulge yourself in pixely goodness. Try CCLights2 today.
Technical Info: (TL;DR, blah blah blah I am not responsible for flashing lights!)
- The CCLights2 GPU does not use anything like OpenGL. It uses a custom graphics API by me that only modifies pixels.
- You do not need to tell the GPU when you want to draw graphics, just draw them! The GPU lets you draw anything at anytime, to any texture you want.
- Bit depths are supported, you can do 1, 2, and 4 bpp graphics in the mod.
- Textures can be drawn to. Yes, any texture can become your framebuffer, no special initialization needed to draw to a texture.
- When you do an operation, you know it is finished when it returns. That means that you don't need to create special synchronization functions just to save a screenshot of a texture.
- The CCLights2 render pipeline: Call from computer > Do render > Put render info on stack > Undump stack and send to players
- All rendering is done on both the server and the client.
- Texture drawing can be a bit buggy. Use with caution.
- There is no global way to set colors. I'm sorry.
- I'd hate to have to say this, although it hasn't happened yet but, CCLights2 can produce strobelights in both single and multiplayer. I will not be held accountable for anything that happens to you with this mod, but the one who created the program to harm you in any way is. Just like in the real world, a company can offer you a tv, but if a television program comes on that gives you a seizure, blame the company who made the television program, not the company who made the tv.
- You need to make your programs sleep after rendering. This does not bypass any CC restrictions
- Rendering seems slow or you are able to see individual things be rendered? Render it to a texture, then present the texture to the screen (This is how most to all games work!)