pixelkiln 0.102.1 → 0.102.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +5 -0
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/docs/GENERATORS.md +6 -3
- package/docs/MANIFEST.md +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -8155,6 +8155,7 @@ var PixelLabClient = class {
|
|
|
8155
8155
|
if (args.outline) body.outline = args.outline;
|
|
8156
8156
|
if (args.shading) body.shading = args.shading;
|
|
8157
8157
|
if (args.detail) body.detail = args.detail;
|
|
8158
|
+
if (args.view) body.view = args.view;
|
|
8158
8159
|
if (args.seed != null) body.seed = args.seed;
|
|
8159
8160
|
const res = validateResponse(
|
|
8160
8161
|
PixfluxResponseSchema,
|
|
@@ -10855,6 +10856,7 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
10855
10856
|
"highly detailed shading"
|
|
10856
10857
|
]);
|
|
10857
10858
|
requirePixelLabOption("pixflux", "detail", spec.detail, ["low detail", "medium detail", "highly detailed"]);
|
|
10859
|
+
requirePixelLabOption("pixflux", "view", spec.styleView, ["side", "low top-down", "high top-down"]);
|
|
10858
10860
|
}
|
|
10859
10861
|
if (spec.generator === "terrain") {
|
|
10860
10862
|
if (spec.outline) {
|
|
@@ -11830,6 +11832,8 @@ var PixelLabProvider = class _PixelLabProvider {
|
|
|
11830
11832
|
outline: spec.outline,
|
|
11831
11833
|
shading: spec.shading,
|
|
11832
11834
|
detail: spec.detail,
|
|
11835
|
+
// Only a view the style states: the resolved default would steer every scene and banner top-down.
|
|
11836
|
+
view: spec.styleView,
|
|
11833
11837
|
seed: spec.seed,
|
|
11834
11838
|
...await initImageArgs(spec)
|
|
11835
11839
|
});
|
|
@@ -14965,6 +14969,7 @@ async function resolveSpecs(loaded, filter) {
|
|
|
14965
14969
|
height,
|
|
14966
14970
|
size,
|
|
14967
14971
|
view: style.view ?? (generator === "1dir" ? "top-down" : generator === "character" ? "low top-down" : "high top-down"),
|
|
14972
|
+
...style.view !== void 0 ? { styleView: style.view } : {},
|
|
14968
14973
|
styleImagePaths: style.styleImages.map((s) => s.path),
|
|
14969
14974
|
outline: style.outline,
|
|
14970
14975
|
shading: style.shading,
|