Had no idea how to 3D model when I started this but I'm slowly making progress. I just hope my topology isn't complete trash, kek.
AI in Godot
To get Pytorch to work in Godot 3.2.2. Start a new project, click the AssetLib tab, install the PythonScript plugin and restart the editor. In your project's folder go into ./addons/pythonscript/x11-64/bin
(on Linux), make pip and python3 executable and then edit the first line of the pip script to point to the path of python3.
For CPU only (Linux & Windows):
./pip install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
With CUDA 9.2 support (Linux only):
./pip install torch==1.6.0+cu92 torchvision==0.7.0+cu92 -f https://download.pytorch.org/whl/torch_stable.html
Now you have access to the full power of AI within Godot. The world of VR waifus is yours.
To test that it's working, run Godot from the command line and add a Python script to a node like this:
from godot import exposed, export
from godot import *
l = torch.nn.Linear(2,3)
x = torch.rand(2)
y = l(x)
It should output a result to the terminal something like tensor([-0.2603, 0.2927, -0.8231], grad_fn=<AddBackward0>)
I'll be updating TalkToWaifu to make it easier to use and more modular so it can be integrated into Godot easily.
If you don't have a VR headset it's possible to render two cameras on screen at the same time in Godot. The left eye camera should be on the right side and right eye on the left so you can cross your eyes to look at them and see them in 3D.
Also there's an open-source VR headset available too if you feel like building your own and don't wanna worry about being forced to log into the Ministry of Truth to see your waifu: https://github.com/relativty/Relativty
I haven't tried it yet but it looks pretty decent.