Rendering with blender on WSL - cxong/cdogs-sdl GitHub Wiki
The character sprites are modelled in blender and rendered via script. However the current script requires bash which is tricky to set up in Windows. Here's how to get set up using WSL:
- Set up WSL https://docs.microsoft.com/en-us/windows/wsl/install-win10
- Open WSL (
wslvia command, or running the installed distro - e.g. ubuntu - via the start menu) - Clone cdogs-sdl, cd to
graphics/chars/bodies, open pwd in explorer usingexplorer.exe .. Here you can edit the file in blender in Windows - Blender rendering requires a display. Set up RDP and remote into it using remote desktop https://dev.to/darksmile92/linux-on-windows-wsl-with-desktop-environment-via-rdp-522g
- Run
sudo /etc/init.d/xrdp start - Connect via RDP to localhost:3389
- Run
- Run
graphics/chars/bodies/make_spritesheet.sh