charlesmengalpha / armorpaint

3D PBR Texture Painting Software

Home Page:https://armorpaint.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

armorpaint

ArmorPaint is a software for 3D PBR texture painting - check out the manual.

Note 1: This repository is aimed at developers and may not be stable. Distributed binaries are currently paid to help with the project funding. All of the development is happening here in order to make it accessible to everyone. Thank you for support!

Note 2: If you are compiling git version of ArmorPaint, then you need to have a compiler (Visual Studio - Windows, clang + deps - Linux, Xcode - macOS / iOS, Android Studio - Android), nodejs and git installed. Learn more about Kha, Kinc and Krom.

git clone --recursive https://github.com/armory3d/armorpaint
cd armorpaint
# Windows
node Kromx/make -g direct3d11
cd Kromx
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
git apply patch/window_handling.diff --directory=Kinc
node Kinc/make -g direct3d11
# Open generated Visual Studio project
# Set `Project - Properties - Debugging - Command Arguments` to `..\..\build\krom`
# Build for x64 & release
# Linux
node Kromx/make -g opengl
cd Kromx
node Kinc/make -g opengl --compiler clang --compile
cd Deployment
strip Krom
./Krom ../../build/krom
# macOS
node Kromx/make -g metal
cp -a build/krom/ Kromx/Deployment
cd Kromx
git apply patch/metal_shared_sampler.diff --directory=Kinc
node Kinc/make -g metal
# Open generated Xcode project
# Add `path/to/armorpaint/Kromx/v8/libraries/macos/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Build
# Android - wip
node Kromx/make android -g opengl --shaderversion 300
cp -r build/krom/ Kromx/build/Krom/app/src/main/assets/
cd Kromx
node Kinc/make android -g opengl
# Manual tweaking is required for now:
# https://github.com/armory3d/Kromx/blob/master/kincfile.js#L68
# Open generated Android Studio project
# Build for device
# iOS - wip
node Kromx/make ios -g metal
cp -a build/krom/ Kromx/Deployment
cd Kromx
git apply patch/metal_shared_sampler.diff --directory=Kinc
git apply patch/ios_document_picker.diff --directory=Kinc
node Kinc/make ios -g metal
# Open generated Xcode project
# Add `path/to/Kromx/v8/libraries/ios/release` into `Project - Krom - Build Settings - Search Paths - Library Search Paths`
# Build for device
# Windows DXR - wip
node Kromx/make -g direct3d12
cd Kromx
# Unpack `v8\libraries\win32\release\v8_monolith.7z` using 7-Zip - Extract Here (exceeds 100MB)
git apply patch/window_handling.diff --directory=Kinc
git apply patch/d3d12_raytrace.diff --directory=Kinc
git apply patch/d3d12_wrap_sampler.diff --directory=Kinc
node Kinc/make -g direct3d12 --raytrace dxr
# Open generated Visual Studio project
# Set `Project - Properties - Debugging - Command Arguments` to `..\..\build\krom`
# Build for x64 & release
# Updating cloned repository
git pull origin master
git submodule update --init --recursive
# How to generate or update a locale file
pip install typing_extensions -t Assets/locale/tools
python ./Assets/locale/tools/extract_locales.py <locale code>
# Generated or updated in `Assets/locale/<locale code>.json`

About

3D PBR Texture Painting Software

https://armorpaint.org

License:Other


Languages

Language:Haxe 83.0%Language:GLSL 12.0%Language:JavaScript 2.6%Language:HLSL 2.1%Language:Python 0.3%Language:Batchfile 0.1%