https://github.com/mdsanima-dev/mdsanima-rt-go
Cross Platform Application for Calculating Render Time
https://github.com/mdsanima-dev/mdsanima-rt-go
3d 3d-graphics android-app android-application cross-platform crossplatform linux-app python python-3 python3 python37 render render-props rendering rendertime timer windows windows-app
Last synced: 28 days ago
JSON representation
Cross Platform Application for Calculating Render Time
- Host: GitHub
- URL: https://github.com/mdsanima-dev/mdsanima-rt-go
- Owner: mdsanima-dev
- License: apache-2.0
- Created: 2021-08-13T13:16:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-09T14:58:23.000Z (over 2 years ago)
- Last Synced: 2025-03-04T19:35:56.492Z (about 1 year ago)
- Topics: 3d, 3d-graphics, android-app, android-application, cross-platform, crossplatform, linux-app, python, python-3, python3, python37, render, render-props, rendering, rendertime, timer, windows, windows-app
- Language: Python
- Homepage:
- Size: 18.9 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# mdsanima-rt-go





Cross Platform Application for Calculating Render Time.
## Testing
This is a base application build on `Windows` `Android` and `Linux`.
All build is a debug mode.
This is a not production build only for testing.
`Linux Ubuntu 20.04`

`Microsoft Windows 10`

`Samsung S7 Edge Android armeabi-v7a`
| ![mdsanimartgo-030-armeabi-v7a-debug_samsung_s7edge_splash][1] | ![mdsanimartgo-030-armeabi-v7a-debug_samsung_s7edge_main][2] | ![omdsanimartgo-030-armeabi-v7a-debug_samsung_s7edge_notification][3] |
|---|---|---|
[1]: https://user-images.githubusercontent.com/3817871/130751388-167051bd-88f0-4743-a088-42dc4f1ac64c.jpg
[2]: https://user-images.githubusercontent.com/3817871/130751452-478777d8-8852-4fdd-acae-e7bfc2fe5b89.jpg
[3]: https://user-images.githubusercontent.com/3817871/130751489-7007822f-ae2b-4448-9960-5fcb14cbe537.jpg
## Requirement
Run this command in **wsl-1** and **PowerShell** on the `Windows 10`:
```shell
python3.8 -m pip install -r requirements.txt
```
If kivy does not detect opengl add this code to `setting.py`:
```python
import os
os.environ['KIVY_GL_BACKEND'] = 'angle_sdl2'
```
## Run `standard-version`
First run **standard-version** on **wsl** to generate `CHANGELOG.md`
and bumping verion in `__init__.py` and `spec_windows_version.rc` files:
```shell
standard-version --skip.commit --skip.tag
```
Only bump release as minor and check:
```shell
standard-version --skip.changelog --skip.commit --skip.tag --release-as minor --dry-run
```
Add bumping files and commiting:
```shell
git add . && git commit -m "chore(release): 0.1.0"
```
Create tag:
```shell
standard-version --skip.bump --skip.changelog --commit-all --sign
```
## Build Windows `.exe`
Run on `PowerShell` in Windows:
```PowerShell
cd J:\github-mdsanima-dev\mdsanima-rt-go
.\spec_windows_build.cmd
```
## Build Linux
Run on `shell` in `ubuntu_20_04` Virtual Box:
```shell
sudo su
cd /media/sf_mdsanima-rt-go
sudo python3.8 -m PyInstaller \
--distpath /media/sf_mdsanima-rt-go/dist/linux \
--workpath /media/sf_mdsanima-rt-go/.build \
--onefile /media/sf_mdsanima-rt-go/spec_linux_onefile.spec
```
## Build Android `armeabi-v7a` `arm64-v8a` `x86` `x86_64`
Connect phone to pc and run on `PowerShell` this command:
```PowerShell
cd C:\adb
.\adb.exe devices
```
If List of devices attached is empty run thic command:
```PowerShell
.\adb.exe kill-server
.\adb.exe devices
```
Now shuld show devices
Run this on `wsl` to copy all files in to `home` directory:
```shell
cd /home/mdsanima/mdsanima-rt-go/
rm -r * && cp -r /mnt/j/github-mdsanima-dev/mdsanima-rt-go/* .
```
Before building if requirements on buildozer.spec updated:
```shell
sudo buildozer android clean
```
Build and deploy:
```shell
sudo buildozer --profile armeabi-v7a -v android debug deploy run logcat
sudo buildozer --profile arm64-v8a -v android debug
sudo buildozer --profile x86 -v android debug
sudo buildozer --profile x86_64 -v android debug
```
Adb install:
```shell
adb install -r /home/mdsanima/mdsanima-rt-go/dist/android/mdsanima.rt.go-0.3.0-armeabi-v7a-debug.apk
```
Copy `.apk` to `dist` folder:
```shell
cp dist/android/mdsanima.rt.go-0.1.0-armeabi-v7a-debug.apk \
/mnt/j/github-mdsanima-dev/mdsanima-rt-go/dist/android/
```
## Connect With Me
Hi there, I'm Marcin Różewski aka [MDSANIMA](https://mdsanima.com).
These are my social media, check it out please. Thanks.






## License
Cross Platform App `MDSANIMA RT GO` is released under the terms of
[Apache-2.0 License](https://github.com/mdsanima-dev/mdsanima-rt-go/blob/master/LICENSE)