I am Charmie

メモとログ

2019-04-01から1ヶ月間の記事一覧

Control HTC Vive with C++

will add as soon as I tested those libraries. C++ libraries for HMDs OpenVR OpenXR OpenHMD C++ libraries for graphics Ogre3d

OvrVisionPro with HTC Vive

タイトル通り,前ポストで散々けなしたOvrvision Proの映像をHTC Viveで閲覧した. 簡単.感動.Unity恐るべし!!Viva Ovrvision Pro!! バージョン 以下のバージョンで成功 Unity Ovrvision SDK SteamVR 2018.3.7f1 1.90 1.3.23 2019.1.3 1.90 ? 事前準備 以…

OvrVision Pro SDK

タイトル通り,Ovrvision ProのSDKを使ってみようという企画. 簡単にまとめると - SDKをダウンロードすればすぐ動く - 重要な説明が全く書いていないため,自分で新しくプロジェクトを作るのはほぼ不可能 - 買って失敗した UnityやUnreal Engineから使う,…

はてなブログ開設

10年近く続けていたwordpress.comでのブログを辞め,はてなブログに移行した. 以降の理由はwordpress.comでの記事作成にストレスを感じていたから.厳密には箇条書きが階層化できないとか些細な理由が蓄積していったんだと思う. どのサービスを使おうか検…

control HMD by C++

I just wanna show images and videos on an HMD, HTC Vive so far. To build as simple system as possible, I want C++ based development. Python is also fine. OpenVRC++ OpenXRC++ Ogre3dC++ library for graphics OpenHMD C++ for handling HMDs

Unreal Engine 4: 静的ライブラリの使用

このチュートリアルを読んだ.ビルドシステムを使ってUE4に静的ライブラリをリンクする方法.読んでて飽きたから途中まで. Visual Studioのバージョンに気を付ける.当然のことだけど,静的ライブラリをコンパイルしたVSとUE4と一緒に使うVSのバージョンは…

Unreal Engine 4: Media Playerで動画再生

全然スマートじゃないけどMedia Playerで動画を再生できた.銃を持っているのが気になるけど,1人称視点のテンプレートについてきただけ.手順も思ったほど複雑じゃない. 手順1 動画を読み込むContent Browserを使って再生したい動画ファイルを読み込む.Co…

Unreal Engine 4: Media Editor

このチュートリアルを読んだ. プレイヤーウィンドウメディアの再生表示だけではなく,再生オプションの定義なども行うウィンドウ.プレイヤーウィンドウ左側にあるドロップダウンメニューからCapture Devicesオプションを選択できる.Capture Devicesオプシ…

Unreal Engine 4: Media Framework

Unreal Engine 4で動画を再生する方法についてメモ.公式ドキュメントのMedia Frameworkを参照. 以下の2種類が提供されている.ゲーム中で動画を再生する場合はMedia Frameworkと考えれば良いのかな.- Startup Movie Player: エンジンロード中の起動動画の…

HTC Viveにwebカメラの映像を表示 (Windows 10)

タイトル通り.Viveと言ったらUnityでしょうと思っていたけど,Unreal Engine 4の方がよさそうだったので.良さそうと思った理由は,- 「 カメラの映像をリアルタイムで表示する」みたいなキーワードで検索した時にヒットした情報の質 (Unityはよくわからな…

HTC Vive setup

Running ViveSetup.exe, the computer takes 5 steps for Vive installation. Step 1: Software1. installs something, this could be Vive drivers and some SDK I guess,2. asks to create an HTC account,3. installs STEAM,4. asks to create a STEAM ac…

Aruco in OpenCV

OpenCVで実装されているArucoに関するメモ.あくまでもPython.Versionは4.0.0.21テスト チュートリアルに書いてある内容+α. dictionary(マーカのセット)は2種類1. predefined dictionary: あらかじめ用意されているマーカ2. custom dictionary: 自作するd…

ffmpegのコマンド

ffmpegの使いそうなコマンドをまとめる. FILE_INPUTは入力ファイル名 FILE_OUTPUTは出力ファイル名 時間はhh:mm:ssというフォーマット (01:23:45なら1時間23分45秒) 動画の一部を切り出す (TIME_STARTからTIME_DURATIONの長さ) ffmpeg -ss TIME_START -i FI…

Tkinter

tkinter.Tk()root(メインウィンドウ?)の作成rootにwidgetを配置していく tkinter.Tk().mainloop()メインの処理を実行 geometryウィンドウのサイズや位置を設定まさにgeometry widgetの配置widget(オブジェクト)を作成する時は,1. 作成するwidgetの親widget…

PyTorch 1.0 with CUDA 10.0 and cuDNN 7.5 on Ubuntu 18.04

This post describes how to setup PyTorch 1.0 with CUDA 10.0 and cuDNN 7.5 on Ubuntu 18.04. Step 0 uninstall CUDA 10.1 related components# uninstall PyTorchconda uninstall pytorch torchvision cudatoolkit# uninstall cuDNNsudo dpkg -r libcudn…

Kivy on Mac OS X

It's super simple with Anaconda.The official instruction says the following command is fine $ conda install kivy -c conda-forge The above command installs kivy and its components. The tutorial Pong game works on my computer.

PyTorch 1.0 on Ubuntu 18.04

The official site provides conda package with the combination of CUDA toolkit 10.0 and cuDNN 7.4. My installation is CUDA toolkit 10.1 and cuDNN 7.5.After the installation, a sample program worked, however I may need to downgrade the toolk…

CUDA 10.1 on Ubuntu 18.04

You should first check the compatibility between NVIDIA driver and CUDA here so that you can avoid installing/uninstalling wrong combinations of them. Also, you should check which version are supported by some applications. In my case, I u…

NVIDIA driver on Ubuntu 18.04

This post describes how to install an NVIDIA driver on Ubuntu 18.04. The official CUDA toolkit documentation didn't work me. I tried package manager based installation and it worked. Step 1. Disable the Nouveau driversNvidia driver install…