Files
armorpaint/README.md
T

49 lines
2.0 KiB
Markdown
Raw Normal View History

2018-11-07 15:52:34 +01:00
![](https://armorpaint.org/img/git.jpg)
armorpaint
==============
2019-05-25 23:34:28 +02:00
[![Build Status](https://travis-ci.org/armory3d/armorpaint.svg?branch=master)](https://travis-ci.org/armory3d/armorpaint)
2019-05-03 11:47:30 +02:00
[ArmorPaint](https://armorpaint.org) is a software for 3D PBR texture painting - check out the [manual](https://armorpaint.org/manual/).
2018-11-07 15:52:34 +01:00
2019-05-03 11:47:30 +02:00
*Note 1: This repository is aimed at developers and may not be stable. Distributed binaries are currently [paid](https://armorpaint.org/download) 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!*
2018-11-07 15:52:34 +01:00
2019-05-26 13:39:17 +02:00
*Note 2: If you are compiling git version of ArmorPaint, then you need to have a compiler ([Visual Studio](https://visualstudio.microsoft.com/downloads/) - Windows, [clang](https://clang.llvm.org/get_started.html) - Linux, [Xcode](https://developer.apple.com/xcode/resources/) - macOS), [nodejs](https://nodejs.org/en/download/) and [git](https://git-scm.com/downloads) installed. Learn more about [Kha](https://github.com/Kode/Kha/wiki), [Kore](https://github.com/Kode/Kore/wiki) and [Krom](https://github.com/Kode/Krom/blob/master/readme.md).*
2019-05-26 12:30:39 +02:00
```bash
git clone --recursive https://github.com/armory3d/armorpaint
cd armorpaint
```
```bash
# Windows
node Kha/make krom -g direct3d11
cd Krom
node Kore/make -g direct3d11
# Open generated Visual Studio project
# Set command-line arguments to `..\..\build\krom`
# Build for x64 & release
```
```bash
# Linux
node Kha/make krom -g opengl
cd Krom
node Kore/make -g opengl --compiler clang --compile
cp build/Release/Krom Deployment/Krom
cd Deployment
strip Krom
./Krom ../../build/krom
```
```bash
# macOS
node Kha/make krom -g opengl
cd Krom
node Kore/make -g opengl
# Open generated Xcode project
# Set command-line arguments to `armorpaint_repo/build/krom`
# Build
```
```bash
# Optional: Parse krom.js bytecode into krom.bin for startup efficiency
./Krom_binary armorpaint_repo/build/krom armorpaint_repo/build/krom-resources --writebin
```