Skip to content

Commit 84d2173

Browse files
author
Roberto De Ioris
authored
Update PlottingGraphsWithMatplotlibAndUnrealEnginePython.md
1 parent fea39c6 commit 84d2173

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,12 @@ pip install matplotlib
5858

5959
## Testing matplotlib in Unreal Engine: generating a graph-texture
6060

61+
Time to check if all is working well.
62+
63+
We will start by generating a texture asset. The content of this texture will be generated by matplotlib.
64+
65+
The steps are generating a texture in memory, plotting the graph, transferring the graph data into texture memory, save it as an asset and opening the related editor:
66+
6167
```python
6268
import unreal_engine as ue
6369
# EPixelFormat defines the various pixel formats for a texture/image, we will use RGBA with 8bit per channel
@@ -101,6 +107,9 @@ ue.open_editor_for_asset(texture)
101107

102108
![Texture Created](https://github.com/20tab/UnrealEnginePython/blob/master/tutorials/PlottingGraphsWithMatplotlibAndUnrealEnginePython_Assets/texture_created.png)
103109

110+
111+
if you end with the texture editor opened on your new graph, you are ready for the next step
112+
104113
## Our project: Plotting a Pie chart tracking overlap events
105114

106115
Our objective is to have a special blueprint in our level exposing 3 cube in 3 different colors.

0 commit comments

Comments
 (0)