Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SnapShot of RenderChan Implementation on Linux O.S(Ubuntu 20.04) #97

Open
wants to merge 105 commits into
base: master
Choose a base branch
from

Conversation

Sam2much96
Copy link

  1. This is a quick snapshot of implementing Renderchan on Linux OS using Opentoonz morevna edition app image binary
  2. tcomposer.txt is modified for linux to point to a linux directory in the env folder which contains the app image binary
  3. README.md has been modified to include linux installation and use instructions
  4. opentoonz.py has been modified to use app image binary's tcomposer module on unix-like devices
  5. This my codebase avoids dealing the Ubuntu snap software management issues, when running render chan on Unix like systems. It avoids using snap opentoonz and uses morevna opentoonz app image to avoid missing dependency errors.

Sam2much96 and others added 30 commits February 25, 2024 11:28
	modified:   renderchan/contrib/opentoonz.py
	env/linux/
Updated ReadMe With Linux instructions
Setting Github workflow for footage render 1
	modified:   env/windows/tcomposer.txt
\
	modified:   .github/workflows/Dystopia.yml
@Sam2much96
Copy link
Author

Sam2much96 commented Mar 2, 2024

FEATURES

IDEAS
Apologies first for my awful commit history and the email spamming earlier. This snapshot implements 3 new scripts

1. Dystopia.yml : It renders a shortfilm project using krita+ opentoonz + Blender in a github actions. It is an integration test of renderchan linux on ubuntu 20.04 (legacy software), to maintain backwards compatibility on ubuntu linux. It renders via github actions and fixes most dependency issues i found with running renderchan on ubuntu 22.04 . It can also be modified to render nightly builds of movies and host video files after the workflow runs as opposed to using a render farm or local computer.
2. render-test.sh: It runs an automated bash process then renders animation source files in a sequence. I ideally believe this should be simplified into an abstract method in renderchan core.py but that is beyond the scope of this pull request
3. opentoonz.py updates for platform specific binary options : In an issue i made about opentoonz dependencies on linux and dealing with snap software management bugs, i modified opentoonz.py to run a separate conditional for unix-like OS's and rather than using system wide binaries for opentoonz, it should instead use the morevna app image. ironically, snap being an unreliable tools means that it may break code dependency on desktop environment and serve good working code in servers environments. It is iffy and so using opentoonz app images worked best for me on both server and desktop environment, so opentoonz.py was modified to use app images and call tcomposer on those app images. tcomposer.txt then points to the app image binary using absolute paths
4. README.md: was modified to add installation instructions for ubuntu linux & how to set up system wide environment variables by editing the environment sources file and re-logging in. Considering that the codebase lacks documentation, i felt this would save anybody going down that rabbit hole a couple of valuable hours

Looking forward to seeing the community's thoughts on these features

@Sam2much96 Sam2much96 changed the title SnapShot of RenderChan Implementation on Linux O.S(Ubuntu 22.04) SnapShot of RenderChan Implementation on Linux O.S(Ubuntu 20.04) Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants