You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library was incorrectly referred to as "TinyGL". This would make it difficult for the user to follow the tutorial,
including finding the library in Library Manager and the example sketches once the library was installed.
Copy file name to clipboardExpand all lines: content/hardware/10.mega/shields/giga-display-shield/tutorials/09.3d-engine-tutorial/content.md
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ tags: [Display, 3D, TinyGL]
7
7
8
8
## Introduction
9
9
10
-
Using a 3D engine to construct and render objects can be a hardware heavy process. Now with the GIGA R1 WiFi, GIGA Display Shield and the [TinyGL](https://github.com/arduino-libraries/TinyGL) library this can be an easy process! The powerful GIGA R1 WiFi board can run the 3D engine while rendering it on the display shield, utilizing the touch interface of the display to move and interact with the rendered objects.
10
+
Using a 3D engine to construct and render objects can be a hardware heavy process. Now with the GIGA R1 WiFi, GIGA Display Shield and the [Arduino_TinyGL](https://github.com/arduino-libraries/Arduino_GigaDisplay_TinyGL) library this can be an easy process! The powerful GIGA R1 WiFi board can run the 3D engine while rendering it on the display shield, utilizing the touch interface of the display to move and interact with the rendered objects.
11
11
12
12
In this tutorial, we will show you how to make use of these features!
***Please note that the development status of the [TinyGL](https://github.com/arduino-libraries/TinyGL) library is in an experimental phase.***
18
+
***Please note that the development status of the [Arduino_TinyGL](https://github.com/arduino-libraries/Arduino_GigaDisplay_TinyGL) library is in an experimental phase.***
19
19
20
20
## Hardware & Software Needed
21
21
@@ -27,17 +27,17 @@ In this tutorial, we will show you how to make use of these features!
27
27
28
28
The Arduino Mbed OS Giga Boards Board Package contains most of the libraries you need to work with the shield's camera connector. To install the Board Package for GIGA boards, navigate to **Tools > Board > Boards Manager** or click the Boards Manager icon in the left tab of the IDE. In the Boards Manager tab, search for giga and install the latest Arduino Mbed OS Giga Boards version, the [Arduino_H7_Video library](https://github.com/arduino/ArduinoCore-mbed/tree/main/libraries/Arduino_H7_Video) library is included in the Board Package.
29
29
30
-
To install the required libraries for this tutorail, search for **TinyGL**, **LVGL** and **Arduino_GigaDisplayTouch**. Install these libraries as they are needed for the TinyGL example to work.
30
+
To install the required libraries for this tutorail, search for **Arduino_TinyGL**, **LVGL** and **Arduino_GigaDisplayTouch**. Install these libraries as they are needed for the Arduino_TinyGL example to work.
31
31
32
-
## TinyGL Library
32
+
## Arduino_TinyGL Library
33
33
34
-
The TinyGL library will enable us to run an engine that can render 3D objects on the GIGA Display Shield. TinyGL is based on OpenGL, meaning the objects that we want to be rendered are defined in a `.c` file. Let's take a closer look at these files!
34
+
The Arduino_TinyGL library will enable us to run an engine that can render 3D objects on the GIGA Display Shield. Arduino_TinyGL is based on OpenGL, meaning the objects that we want to be rendered are defined in a `.c` file. Let's take a closer look at these files!
35
35
36
-
- The source code for this library is available [here](https://github.com/arduino-libraries/TinyGL)
36
+
- The source code for this library is available [here](https://github.com/arduino-libraries/Arduino_GigaDisplay_TinyGL)
37
37
38
38
## Rotating Gears Example
39
39
This example will render a set of rotating gears on your GIGA Display Shield's display, which you can move around and inspect using your fingers.
40
-
Open the example by going to **Files > Examples > TinyGL > Gears** in the Arduino IDE, this will open both the required files in the IDE. You should see a `Gears.ino` and a `gears.c` file as tabs in the IDE. Let's first have a look at the `gears.c` file!
40
+
Open the example by going to **Files > Examples > Arduino_TinyGL > Gears** in the Arduino IDE, this will open both the required files in the IDE. You should see a `Gears.ino` and a `gears.c` file as tabs in the IDE. Let's first have a look at the `gears.c` file!
41
41
42
42
### Gears.c
43
43
@@ -91,7 +91,7 @@ For more information about how to use the touch functions on the display shield,
91
91
92
92
## Running the Sketch
93
93
94
-
Since the sketch requires the `gears.c` file to compile correctly we recommend opening the example directly in the Arduino IDE from the **TinyGL** library. After downloading the library the example can be found in **Files > Examples > TinyGL > Gears**.
94
+
Since the sketch requires the `gears.c` file to compile correctly we recommend opening the example directly in the Arduino IDE from the **Arduino_TinyGL** library. After downloading the library the example can be found in **Files > Examples > Arduino_TinyGL > Gears**.
95
95
96
96
After uploading the sketch you should see the same result as shown in the gif below:
0 commit comments