Comments (1)
Eliteness bug is fixed in #95
The crash is caused by armake writing too many texGen's.
There are only 8 texGen's. in armake they are called stage_transform
.
Armake add's one transform per stage, which is simply wrong :D
We should only push a new transform/texGen if the actual transform (uvSource and uvTransform) doesn't exist yet. And throw an error if a user tries to use too many.
https://github.com/KoffeinFlummi/armake/blob/master/src/material.c#L385
Here. Only dynamically add a new transform if we can't find one with same values.
my armake++ hotfix for now is this
if (num_transforms > 8) {
logger.error("Too many texGen's being used in RVMAT! Armake will clip excess off and cause weird behaviour! %s\n", path.c_str());
num_transforms = 8;
transforms.resize(8);
for (auto& it : textures) {
if (it.transform_index > 7) it.transform_index = 7;
}
}
atleast until I implement the pushBackUnique style texGen list.
Could also force users to use texGen manually if over 7 Stages.
https://community.bistudio.com/wiki/Multimaterial#Example
But I prefer that armake tries to fix it by itself first. The user must use less transforms either way.
from armake.
Related Issues (20)
- Publish on Fedora COPR
- error: Failed to create temp folder. HOT 3
- Do not support leading commas in config. HOT 2
- delete keyword HOT 3
- Signature after signing is wrong HOT 7
- error: Failed to create temp folder. HOT 1
- unpack does not work properly on win10 HOT 1
- Missing Shaders
- Armake build doesn't properly build rvmat emmisive property
- error: Unknown class entry type 69. HOT 2
- Add option to just preprocess file and print output
- False positives in config files due to string escaping HOT 1
- Add line comments to specifically ignore a issue on a line HOT 4
- ACRE2 sys_prc148 causes input buffer overflow HOT 7
- Collection of small issues HOT 5
- Finish rvmat implementation
- tools/armake: error while loading shared libraries: libcrypto.so.1.1: HOT 7
- Add preprocess command
- Segfault while creating paa HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from armake.