{"repo":"ebicochineal/E512W3D","free":true,"listed":false,"github":"https://github.com/ebicochineal/E512W3D","clone":"git clone https://github.com/ebicochineal/E512W3D.git","description":"3d-software-renderering m5stickc/m5stack/console-app/windows-app/ncurses/emscripten/android/raspberry-pi-pico/raspberry-pi-pico2","language":"C++","stars":16,"topics":["m5stickc","3d-engine","wireframe","polygon","m5stickc-library","variable-length-array","cpp","software-rendering","3d-graphics","texture-mapping"],"license":"MIT","category":"mobile-apps","readme_excerpt":"3d-software-rendering m5stickc/m5stack/console-app/windows-app/ncurses/emscripten/android/raspberry-pi-pico/raspberry-pi-pico2 - C++で3Dモデルの表示やゲームなどを作成できます - ソフトウェアレンダリングなのでマイコンボードなどでも動作します - 複数のウィンドウ - ワイヤーフレーム、ポリゴン、法線カラー、半透明、テクスチャ - テクスチャパース補正 - Directional Light - Ambient - テクスチャなしなら8000ポリゴンくらいまで(m5stickc) - emscriptenを使用すればWebブラウザで動作させることもできます - シングルコアで動作します。2コアで動作するバージョンもあります - タイルマップなど2Dゲームを作成するための機能 - multicore - gui - tilemap --- - M5StickC - console-app - ncurses - windows-app - emscripten - android - raspberry-pi-pico --- examples Arduino以外の環境ではexampleの拡張子を.inoから.cppにしてください Arduino以外の環境でもsetup関数が最初に呼ばれ、loop関数を繰り返し実行されます example1 example2 example3 example4 vert:1183, face:2208, vertuv:1183, faceuv:2208,texture:64x32 example4 exampletm --- Blender 3Dファイルエクスポート設定 objファイルをスクリプトでhppに変換 pngファイルをスクリプトでhppに変換 --- M5StickC arduino ide M5StickC以外ではテストしていませんが他のボードでも動くかもしれません - M5StickCPlus - M5Stack - M5Stack-Fire - M5Stack-Core2 Arduino IDE設定 Arduino IDEで書き込み --- console-app gcc ncurses導入済みでこっちを使う場合はE512W3DUtilsXの#define USENCURSESをコメントアウト --- ncurses gcc, ncurses ncursesインストール --- windows-app mingw --- emscripten emscripten e512w3d.jsとe512w3d.wasmが作成されるかと思います 以下のindex.htmlをテキストエディタなどで作成し pythonなどでローカルwebサーバを立ち上げwebブラウザでアクセスしてください index.html --- android Visual Studio 2019 Visual Studio 2019インストール デスクトップとモバイル C++によるモバイル開発 - テンプレート Native-Activity - ソリューションのプラットフォームを切り替えるARM64など - プロジェクトのプロパティ リンカー コマンドライン 追加のオプション -lm - 画面の回転を横に固定する AndroidManifest.xml activityタグにandroid:screen","default_branch":null,"files":null,"tree":[],"storefront":"/r/ebicochineal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ebicochineal/E512W3D/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}