Difference between revisions of "CCGPU"

From ComputerCraft Wiki
Jump to: navigation, search
(Fix links)
 
(19 intermediate revisions by 9 users not shown)
Line 1: Line 1:
The CCGPU peripheral is an addon for [[ComputerCraft]] which allows you to do [http://en.wikipedia.org/wiki/OpenGL OpenGL] operations within computercraft using a [http://www.lua.org/ Lua] syntax. The peripheral currently comes with two blocks a [[#GPU]] peripheral and a [[#Monitor]] output device.
+
The CCGPU peripheral is an addon for [[ComputerCraft]] which allows you to do [http://en.wikipedia.org/wiki/OpenGL OpenGL] operations within computercraft using [http://www.lua.org/ Lua].
 +
The peripheral currently comes with two elements: a [[#GPU|GPU]] peripheral and a [[#Monitor|Monitor]] output device. This is not to be confused with the [[CCLights2]] GPU peripheral, which is a different GPU peripheral.
  
== Crafting ==
+
== GPU ==
Coming soon
+
A GPU can be attached to a [[Computer]] on all sides except for the bottom.
 +
The GPU peripheral comes with it's own [[:Category:APIs|API]] featuring extra methods that cannot be accessed using [[Peripheral_(API)|peripheral.wrap]].
 +
 
 +
You can find the GPU api over [[GPU_(API)|here]]
 +
 
 +
== Graphics Devices ==
 +
A graphics device operates on a certain frequency (corresponding to a [[#GPU|GPU]]'s id) and has an id indicating which buffer it is bound to.
 +
All graphics devices have a certain resolution corresponding to the resolution of the graphics they can handle.
 +
 
 +
=== Graphics Output Devices ===
 +
Output devices are used to display a certain output buffer to the user.
 +
 
 +
==== Monitor ====
 +
The Monitor block can be placed facing up to 4 directions and
 +
 
 +
=== Graphics Input Devices ===
 +
Currently CCGPU doesn't have any default input devices.
 +
A camera might be added in the future.
 +
[[Category:User Created Peripherals]]
 +
 
 +
== See also ==
 +
* [[GPU (API)|CCGPU API]]

Latest revision as of 16:02, 13 July 2015

The CCGPU peripheral is an addon for ComputerCraft which allows you to do OpenGL operations within computercraft using Lua. The peripheral currently comes with two elements: a GPU peripheral and a Monitor output device. This is not to be confused with the CCLights2 GPU peripheral, which is a different GPU peripheral.

GPU

A GPU can be attached to a Computer on all sides except for the bottom. The GPU peripheral comes with it's own API featuring extra methods that cannot be accessed using peripheral.wrap.

You can find the GPU api over here

Graphics Devices

A graphics device operates on a certain frequency (corresponding to a GPU's id) and has an id indicating which buffer it is bound to. All graphics devices have a certain resolution corresponding to the resolution of the graphics they can handle.

Graphics Output Devices

Output devices are used to display a certain output buffer to the user.

Monitor

The Monitor block can be placed facing up to 4 directions and

Graphics Input Devices

Currently CCGPU doesn't have any default input devices. A camera might be added in the future.

See also