Skip to content

Commit 7d42d71

Browse files
committed
2 parents 6116893 + 1c00731 commit 7d42d71

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

readme.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
# MMD with ESP32
2-
## MMDモデルの表示
2+
## MMDモデルの表示 MMD model display test
33

44
<img src="http://i.imgur.com/qks27xH.jpg" alt="サンプル" width="200">
55

66
Mはげさんのソースコードから拝借して表示しました。
7-
## 回路
8-
ST7735S(160x128)を使います。Aitendoとかにあったのですが今は知りません。
7+
8+
# How to
9+
10+
## Pin assign
11+
ST7735S(160x128)を使います。
12+
for ST7735S (160x128)
13+
914
```c
1015
#define PIN_NUM_MISO 25
1116
#define PIN_NUM_MOSI 23
@@ -15,9 +20,13 @@ ST7735S(160x128)を使います。Aitendoとかにあったのですが今は知
1520
#define PIN_NUM_DC 21
1621
#define PIN_NUM_RST 18
1722
```
18-
このとおりです。DCはA0とかRSとか別名多数ですね。全てきちんと接続してくださいよ。
23+
1924
2025
## Performance
21-
160x128で22fpsです。STM32F4に大きく遅れを取ってます。
22-
最適化レベルは-O3で240MHz駆動です。
26+
@240MHz 160x128 about 30000 triangles/sec. not bad, not good.
27+
28+
## memo
29+
このシステムはラインスキャン法を使っています。高速かつ少ないメモリで処理可能で、一ライン分のみのzバッファを使っているため解像度を上げることも可能です。
30+
ただしパフォーマンスは低下します。
2331
32+
http://gombe.azurewebsites.net/2017/05/14/%e3%83%9e%e3%82%a4%e3%82%b3%e3%83%b3%e3%81%a73d%e8%a1%a8%e7%a4%ba%e5%9b%b3%e8%a7%a3/

0 commit comments

Comments
 (0)