@call-me-sensei/toonlab 0.4.19 → 0.4.21
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/NPM-LIBRARY.md +230 -0
- package/README.md +78 -36
- package/agents/PROMPTS.md +91 -0
- package/agents/README.md +9 -14
- package/agents/claude/CLAUDE.md +8 -0
- package/agents/codex/AGENTS.md +161 -0
- package/agents/cursor/toonlab.mdc +37 -0
- package/agents/references/mcp-asset-discovery.md +12 -9
- package/agents/references/runtime-entry-points.md +5 -4
- package/agents/skills/claude/asset-sourcing/SKILL.md +9 -6
- package/agents/skills/claude/rock-ground-shaders/SKILL.md +16 -0
- package/agents/skills/claude/vegetation-sky/SKILL.md +7 -4
- package/agents/skills/codex/asset-sourcing/SKILL.md +9 -6
- package/agents/skills/codex/rock-ground-shaders/SKILL.md +16 -0
- package/agents/skills/codex/vegetation-sky/SKILL.md +7 -4
- package/cli/toonlab.mjs +3 -2
- package/database/fal-patina.mjs +131 -0
- package/database/generation-service.mjs +108 -7
- package/database/migrations/0007_creation_revisions.sql +80 -0
- package/database/migrations/0008_creation_revision_hardening.sql +98 -0
- package/database/migrations/0009_creation_revision_delete_integrity.sql +11 -0
- package/database/migrations/0010_external_catalog_assets.sql +28 -0
- package/database/providers.mjs +195 -16
- package/database/repository.mjs +518 -70
- package/database/seeds/catalog/0003_2026-08-open-assets.sql +159086 -0
- package/database/seeds/catalog/0004_2026-08-c7-rocks.sql +39405 -0
- package/mcp/public-catalog.mjs +4 -52
- package/mcp/server.mjs +175 -12
- package/mcp/vite-plugin.mjs +78 -2
- package/package.json +32 -12
- package/scripts/generate-catalog-seed.mjs +34 -7
- package/src/asset-policy/catalogLicenses.js +64 -6
- package/src/assetlib/loadImported.js +15 -1
- package/src/catalog/officialCatalogAssetRuntime.js +13 -2
- package/src/catalog/officialCatalogLod.js +34 -1
- package/src/catalog/officialCatalogPlacement.js +29 -14
- package/src/character/animationRetarget.js +2 -0
- package/src/character/characterRig.js +6 -1
- package/src/character/characterRuntime.js +175 -7
- package/src/environment/environmentMaterialAdapter.js +30 -0
- package/src/environment/environmentPresets.js +90 -0
- package/src/environment/environmentSunShadowPass.js +42 -0
- package/src/environment/toonLabSurfaceLighting.js +108 -10
- package/src/environment/urbanPropMaterial.js +104 -2
- package/src/lighting/lightingSystem.js +65 -10
- package/src/renderer/index.js +7 -0
- package/src/renderer/styleComparison.js +985 -0
- package/src/rock-shader/index.js +5 -0
- package/src/rock-shader/rockGeometryDetail.js +701 -0
- package/src/rock-shader/rockMaterial.js +782 -39
- package/src/rock-shader/rockRegionRuntime.js +185 -0
- package/src/rock-shader/rockSemanticMaterialRuntime.js +337 -0
- package/src/rock-shader/rockShaderRuntime.js +354 -67
- package/src/rock-shader/rockShaderSettings.js +246 -16
- package/src/rock-shader/rockTangentIntegrity.js +136 -0
- package/src/rock-shader/rockTextureIntegrity.js +115 -0
- package/src/rockgen/index.js +1 -0
- package/src/rockgen/rockDocument.js +27 -3
- package/src/rockgen/surface/c7GeologySurface.js +372 -0
- package/src/shaders-tsl/water.js +8 -0
- package/src/sky/cloudShadow.js +25 -1
- package/src/sky/skySystem.js +9 -0
- package/src/styles/index.js +23 -0
- package/src/styles/neutralStylePresets.js +712 -0
- package/src/styles/sceneStyleRuntime.js +51 -4
- package/src/styles/styleAdapters.js +13 -2
- package/src/styles/styleBundle.js +1 -1
- package/src/texgen/evaluateTexture.js +30 -3
- package/src/texgen/textureGenerators.js +63 -31
- package/src/texgen/textureSettings.js +25 -8
- package/src/toon/toonSettings.js +96 -2
- package/src/vegetation/branchTree.js +327 -42
- package/src/vegetation/index.js +24 -2
- package/src/vegetation/scatter.js +372 -1
- package/src/vegetation/stylizedTree.js +312 -126
- package/src/vegetation/stylizedTreeFoliage.js +229 -7
- package/src/vegetation/treeSurfaceTextures.js +328 -0
- package/src/version.js +1 -1
- package/src/water/waterSettings.js +15 -7
- package/types/asset-policy/catalogLicenses.d.ts +2 -0
- package/types/asset-policy/index.d.ts +2 -0
- package/types/assetlib/loadImported.d.ts +3 -1
- package/types/catalog/officialCatalogLod.d.ts +63 -5
- package/types/character/characterRig.d.ts +59 -0
- package/types/character/characterRuntime.d.ts +1 -0
- package/types/environment/environmentMaterialAdapter.d.ts +3 -1
- package/types/environment/toonLabSurfaceLighting.d.ts +20 -3
- package/types/index.d.ts +89 -7
- package/types/lighting/lightingSystem.d.ts +7 -0
- package/types/react/index.d.ts +20 -0
- package/types/renderer/index.d.ts +1 -0
- package/types/renderer/styleComparison.d.ts +409 -0
- package/types/rock-shader/index.d.ts +5 -0
- package/types/rock-shader/rockGeometryDetail.d.ts +300 -0
- package/types/rock-shader/rockMaterial.d.ts +3 -0
- package/types/rock-shader/rockRegionRuntime.d.ts +86 -0
- package/types/rock-shader/rockSemanticMaterialRuntime.d.ts +29 -0
- package/types/rock-shader/rockShaderRuntime.d.ts +2 -0
- package/types/rock-shader/rockShaderSettings.d.ts +19 -5
- package/types/rock-shader/rockTangentIntegrity.d.ts +51 -0
- package/types/rock-shader/rockTextureIntegrity.d.ts +61 -0
- package/types/rockgen/index.d.ts +1 -0
- package/types/rockgen/rockDocument.d.ts +29 -1
- package/types/rockgen/surface/c7GeologySurface.d.ts +8 -0
- package/types/sky/cloudShadow.d.ts +1 -0
- package/types/styles/index.d.ts +1 -0
- package/types/styles/neutralStylePresets.d.ts +944 -0
- package/types/styles/sceneStyleRuntime.d.ts +20 -0
- package/types/vegetation/branchTree.d.ts +4 -0
- package/types/vegetation/index.d.ts +9 -7
- package/types/vegetation/scatter.d.ts +1 -0
- package/types/vegetation/stylizedTree.d.ts +1 -2
- package/types/vegetation/stylizedTreeFoliage.d.ts +1 -0
- package/types/version.d.ts +1 -1
- package/agents/references/geology-playbook.md +0 -118
- package/agents/skills/claude/karst-cliff-construction/SKILL.md +0 -258
- package/agents/skills/claude/outdoor-world/SKILL.md +0 -492
- package/agents/skills/claude/outdoor-world/references/coastal-landform-formation.md +0 -100
- package/agents/skills/codex/karst-cliff-construction/SKILL.md +0 -258
- package/agents/skills/codex/outdoor-world/SKILL.md +0 -492
- package/agents/skills/codex/outdoor-world/references/coastal-landform-formation.md +0 -100
- package/src/vegetation/legacyTreePresets.js +0 -120
- package/types/vegetation/legacyTreePresets.d.ts +0 -22
package/types/index.d.ts
CHANGED
|
@@ -18,11 +18,16 @@ export const BEACH_DIRECTION_SPREAD: any;
|
|
|
18
18
|
export const BEACH_RUNUP_DISTANCE: any;
|
|
19
19
|
export const BEACH_WATER_LEVEL: any;
|
|
20
20
|
export const BEACH_WAVE_SPEED: any;
|
|
21
|
+
export const BRANCH_TREE_ARCHITECTURE: any;
|
|
22
|
+
export const BRANCH_TREE_CANOPY_ARCHITECTURES: any;
|
|
21
23
|
export const BRANCH_TREE_DOCUMENT_TYPE: any;
|
|
22
24
|
export const BRANCH_TREE_DOCUMENT_VERSION: any;
|
|
23
25
|
export const BRANCH_TREE_LEAF_SHAPES: any;
|
|
24
26
|
export const BUILT_IN_STYLE_ADAPTERS: any;
|
|
25
27
|
export class BranchTree { constructor(...args: any[]); [key: string]: any; }
|
|
28
|
+
export const C7_GEOLOGY_PROFILES: any;
|
|
29
|
+
export const C7_GEOLOGY_SURFACE_SCHEMA: any;
|
|
30
|
+
export const C7_GEOLOGY_SURFACE_VERSION: any;
|
|
26
31
|
export const CALL_ME_SENSEI_GRASS_CLUMP_VARIANTS: any;
|
|
27
32
|
export const CALL_ME_SENSEI_GRASS_MATERIAL_TEXTURE_URLS: any;
|
|
28
33
|
export const CALL_ME_SENSEI_GRASS_PROVENANCE: any;
|
|
@@ -35,7 +40,9 @@ export const CALL_ME_SENSEI_SKY_TIME_KEYFRAMES: any;
|
|
|
35
40
|
export const CALL_ME_SENSEI_STRICT_ASSET_POLICY: any;
|
|
36
41
|
export const CALL_ME_SENSEI_STYLE_BUNDLE: any;
|
|
37
42
|
export const CALL_ME_SENSEI_STYLE_SLOT_IDS: any;
|
|
43
|
+
export const CATALOG_LICENSE_UNSPECIFIED: any;
|
|
38
44
|
export const CEL_SHADE_PRESETS: any;
|
|
45
|
+
export const CHARACTER_MATERIAL_MODES: any;
|
|
39
46
|
export const CHARACTER_RUNTIME_STAGE: any;
|
|
40
47
|
export const CLOUD_AMORTIZATION_BLOCK: any;
|
|
41
48
|
export const CLOUD_BASE_CHANNEL_STRENGTHS: any;
|
|
@@ -194,6 +201,7 @@ export const DEFAULT_ROCK_CRACKS_SETTINGS: any;
|
|
|
194
201
|
export const DEFAULT_ROCK_CUTS_SETTINGS: any;
|
|
195
202
|
export const DEFAULT_ROCK_FACET_SETTINGS: any;
|
|
196
203
|
export const DEFAULT_ROCK_FALLOFF_SETTINGS: any;
|
|
204
|
+
export const DEFAULT_ROCK_GEOMETRY_DETAIL: any;
|
|
197
205
|
export const DEFAULT_ROCK_HEIGHTFIELD_SETTINGS: any;
|
|
198
206
|
export const DEFAULT_ROCK_LOD_DISTANCES: any;
|
|
199
207
|
export const DEFAULT_ROCK_NOISE_SETTINGS: any;
|
|
@@ -291,8 +299,6 @@ export const HERO_CLOUD_RECIPE_VERSION: any;
|
|
|
291
299
|
export const HUMANOID_ROLES: any;
|
|
292
300
|
export const LEAF_SHAPE_PRESETS: any;
|
|
293
301
|
export const LEGACY_STYLE_BUNDLE_SCHEMA_VERSION: any;
|
|
294
|
-
export const LEGACY_TREE_IDS: any;
|
|
295
|
-
export const LEGACY_TREE_PRESETS: any;
|
|
296
302
|
export const LIGHTING_LOOK_DOCUMENT_TYPE: any;
|
|
297
303
|
export const LIGHTING_LOOK_PRESETS: any;
|
|
298
304
|
export const LIGHTING_LOOK_SCHEMA_VERSION: any;
|
|
@@ -327,6 +333,9 @@ export const MATERIAL_ROLES: any;
|
|
|
327
333
|
export const MATERIAL_ROLE_LABELS: any;
|
|
328
334
|
export const MATERIAL_ROLE_NAMES_BY_VALUE: any;
|
|
329
335
|
export const MAX_MARCH_DIST_MARGIN: any;
|
|
336
|
+
export const MAX_ROCK_DETAIL_SUBDIVISIONS: any;
|
|
337
|
+
export const MIN_DETAIL_MAP_EDGE_TEXELS: any;
|
|
338
|
+
export const MIXAMO_BONE_BY_ROLE: any;
|
|
330
339
|
export const MIXAMO_CHAIN_CHILD: any;
|
|
331
340
|
export const MOON_ALBEDO_DISC_MEAN: any;
|
|
332
341
|
export const MOON_ALBEDO_PLAN: any;
|
|
@@ -338,6 +347,25 @@ export const MOON_DISC_NORMALISATION: any;
|
|
|
338
347
|
export const MULTI_SCATTERING_LUT_SIZE: any;
|
|
339
348
|
export class ManufacturedStyleLabelingError { constructor(...args: any[]); [key: string]: any; }
|
|
340
349
|
export const NATIVE_LOCOMOTION_CLIP_NAMES: any;
|
|
350
|
+
export const NEEDLE_LEAF_SHAPES: any;
|
|
351
|
+
export const NEUTRAL_ENVIRONMENT_PRESET: any;
|
|
352
|
+
export const NEUTRAL_ENVIRONMENT_RESOLVED_SETTINGS: any;
|
|
353
|
+
export const NEUTRAL_GRASS_SETTINGS: any;
|
|
354
|
+
export const NEUTRAL_GROUND_SHADER_SETTINGS: any;
|
|
355
|
+
export const NEUTRAL_MANUFACTURED_SURFACE_DOCUMENT: any;
|
|
356
|
+
export const NEUTRAL_MANUFACTURED_SURFACE_RESOLVED_SETTINGS: any;
|
|
357
|
+
export const NEUTRAL_MANUFACTURED_SURFACE_SETTINGS: any;
|
|
358
|
+
export const NEUTRAL_POST_SETTINGS: any;
|
|
359
|
+
export const NEUTRAL_SKY_SETTINGS: any;
|
|
360
|
+
export const NEUTRAL_STYLE_BUNDLE: any;
|
|
361
|
+
export const NEUTRAL_STYLE_NON_SHADING_KEYS: any;
|
|
362
|
+
export const NEUTRAL_STYLE_PRESET_ID: any;
|
|
363
|
+
export const NEUTRAL_STYLE_SLOT_COVERAGE: any;
|
|
364
|
+
export const NEUTRAL_STYLE_SLOT_IDS: any;
|
|
365
|
+
export const NEUTRAL_TOON_RESOLVED_SETTINGS: any;
|
|
366
|
+
export const NEUTRAL_TOON_SETTINGS: any;
|
|
367
|
+
export const NEUTRAL_VEGETATION_SHADER_SETTINGS: any;
|
|
368
|
+
export const NEUTRAL_WATER_STYLE: any;
|
|
341
369
|
export const NIGHT_SKY_DEFAULT_RADIUS: any;
|
|
342
370
|
export const NIGHT_SKY_PARAM_KEYS: any;
|
|
343
371
|
export const NIGHT_SKY_PARAM_SCHEMA: any;
|
|
@@ -382,9 +410,25 @@ export const ROCKGEN_QUALITY_PRESETS: any;
|
|
|
382
410
|
export const ROCKGEN_SETTING_DEFAULTS: any;
|
|
383
411
|
export const ROCKGEN_SETTING_FIELD_SCHEMA: any;
|
|
384
412
|
export const ROCKGEN_SETTING_GROUPS: any;
|
|
413
|
+
export const ROCK_CAVITY_ATTRIBUTE: any;
|
|
414
|
+
export const ROCK_DETAIL_MAP_SLOTS: any;
|
|
415
|
+
export const ROCK_EXPOSURE_ATTRIBUTE: any;
|
|
416
|
+
export const ROCK_GEOMETRY_DETAIL_CHARACTER: any;
|
|
417
|
+
export const ROCK_GEOMETRY_DETAIL_REFERENCE: any;
|
|
385
418
|
export const ROCK_HEIGHTFIELD_PROFILES: any;
|
|
419
|
+
export const ROCK_MATERIAL_BINDING_SCHEMA: any;
|
|
420
|
+
export const ROCK_MOSS_CAVITY_STRENGTH: any;
|
|
386
421
|
export const ROCK_NORMALS_MODES: any;
|
|
387
422
|
export const ROCK_PBR_TEXTURE_PRESETS: any;
|
|
423
|
+
export const ROCK_REGION_BANDS: any;
|
|
424
|
+
export const ROCK_REGION_BINDING_KEY: any;
|
|
425
|
+
export const ROCK_REGION_BINDING_SCHEMA: any;
|
|
426
|
+
export const ROCK_REGION_BINDING_VERSION: any;
|
|
427
|
+
export const ROCK_REGION_CHANNELS: any;
|
|
428
|
+
export const ROCK_REGION_GLTF_ATTRIBUTE: any;
|
|
429
|
+
export const ROCK_REGION_PROFILE: any;
|
|
430
|
+
export const ROCK_REGION_THREE_ATTRIBUTE: any;
|
|
431
|
+
export const ROCK_SEMANTIC_MATERIAL_SET_SCHEMA: any;
|
|
388
432
|
export const ROCK_SHADER_DOCUMENT_TYPE: any;
|
|
389
433
|
export const ROCK_SHADER_FIELD_SCHEMA: any;
|
|
390
434
|
export const ROCK_SHADER_SCHEMA_VERSION: any;
|
|
@@ -444,6 +488,8 @@ export const STYLE_BUNDLE_PROVIDER_VERSION: any;
|
|
|
444
488
|
export const STYLE_BUNDLE_SCHEMA_VERSION: any;
|
|
445
489
|
export const STYLE_BUNDLE_SLOTS: any;
|
|
446
490
|
export const STYLE_BUNDLE_SLOT_IDS: any;
|
|
491
|
+
export const STYLE_COMPARISON_AXES: any;
|
|
492
|
+
export const STYLE_COMPARISON_GENERATED_NODE_FLAGS: any;
|
|
447
493
|
export const STYLE_DOMAIN_MATERIAL_ROLES: any;
|
|
448
494
|
export const STYLE_DOMAIN_SLOT_ROUTES: any;
|
|
449
495
|
export const STYLE_MATERIAL_CONTRACT_SCHEMA_VERSION: any;
|
|
@@ -457,7 +503,6 @@ export const STYLE_TARGET_DOMAINS: any;
|
|
|
457
503
|
export const STYLE_TARGET_LABEL_KEY: any;
|
|
458
504
|
export const STYLE_TARGET_LABEL_SCHEMA_VERSION: any;
|
|
459
505
|
export const STYLIZED_FOREST_IMPOSTOR_QUALITY: any;
|
|
460
|
-
export const STYLIZED_TREE_EXAMPLES: any;
|
|
461
506
|
export const STYLIZED_TREE_SETTING_FIELD_SCHEMA: any;
|
|
462
507
|
export const STYLIZED_TREE_SETTING_GROUPS: any;
|
|
463
508
|
export const SUN_COLOR_FIELD: any;
|
|
@@ -536,6 +581,7 @@ export const TREE_SHADER_DOCUMENT_TYPE: any;
|
|
|
536
581
|
export const TREE_SHADER_PROFILE: any;
|
|
537
582
|
export const TREE_SHADER_SCHEMA_VERSION: any;
|
|
538
583
|
export const TREE_SURFACE_PROFILES: any;
|
|
584
|
+
export const TREE_SURFACE_PROFILE_ALIASES: any;
|
|
539
585
|
export const TREE_SURFACE_PROFILE_DEFAULTS: any;
|
|
540
586
|
export const TREE_TRUNK_STYLES: any;
|
|
541
587
|
export const TRIMESH_DATA_COLLISION_ADAPTER: any;
|
|
@@ -620,6 +666,8 @@ export function applyGroundStabilizerFrame(...args: any[]): any;
|
|
|
620
666
|
export function applyLocomotionFrame(...args: any[]): any;
|
|
621
667
|
export function applyManufacturedMaterialManifest(...args: any[]): any;
|
|
622
668
|
export function applyManufacturedStyleTargetLabelProposal(...args: any[]): any;
|
|
669
|
+
export function applyRockGeometryDetail(...args: any[]): any;
|
|
670
|
+
export function applyRockGeometryDetailToGeometry(...args: any[]): any;
|
|
623
671
|
export function applyRockShader(...args: any[]): any;
|
|
624
672
|
export function applyScanStylizeToMaterial(...args: any[]): any;
|
|
625
673
|
export function applySceneQualityProfile(...args: any[]): any;
|
|
@@ -642,6 +690,7 @@ export function assertFixedMarchBudget(...args: any[]): any;
|
|
|
642
690
|
export function assertLightingLook(...args: any[]): any;
|
|
643
691
|
export function assertLightingRecipe(...args: any[]): any;
|
|
644
692
|
export function atmosphereRaymarchNodes(...args: any[]): any;
|
|
693
|
+
export function auditNeutralStyleShadingOnly(...args: any[]): any;
|
|
645
694
|
export function auditSceneStyleContract(...args: any[]): any;
|
|
646
695
|
export function auditStyleBundleApplication(...args: any[]): any;
|
|
647
696
|
export function azimuthOf(...args: any[]): any;
|
|
@@ -649,13 +698,16 @@ export function bakeEnvironmentVertexAo(...args: any[]): any;
|
|
|
649
698
|
export function bakeFoliageGeometry(...args: any[]): any;
|
|
650
699
|
export function bakeSolidBaseColorTextures(...args: any[]): any;
|
|
651
700
|
export function beerLambertNode(...args: any[]): any;
|
|
701
|
+
export function branchTreeStylizedOptions(...args: any[]): any;
|
|
652
702
|
export function buildGerstnerWaves(...args: any[]): any;
|
|
653
703
|
export function buildLightFixtureFromSample(...args: any[]): any;
|
|
654
704
|
export function buildLightingStyleFromSample(...args: any[]): any;
|
|
655
705
|
export function buildNearshorePhaseField(...args: any[]): any;
|
|
656
706
|
export function buildToonLabLandscapeMaterial(...args: any[]): any;
|
|
657
707
|
export function bumpDocumentRevision(...args: any[]): any;
|
|
708
|
+
export function c7SurfaceSeed(...args: any[]): any;
|
|
658
709
|
export function candelaToLumens(...args: any[]): any;
|
|
710
|
+
export function captureComparisonFrameState(...args: any[]): any;
|
|
659
711
|
export function captureEnvironmentAmbientProbe(...args: any[]): any;
|
|
660
712
|
export function captureStyleTargetSnapshot(...args: any[]): any;
|
|
661
713
|
export function celestialDirectionForHour(...args: any[]): any;
|
|
@@ -664,6 +716,7 @@ export function classifyEnvironmentMaterialRole(...args: any[]): any;
|
|
|
664
716
|
export function classifyManufacturedMaterial(...args: any[]): any;
|
|
665
717
|
export function classifyMaterialRole(...args: any[]): any;
|
|
666
718
|
export function classifyToonLabMaterialProfile(...args: any[]): any;
|
|
719
|
+
export function clearRockSemanticMaterialCaches(...args: any[]): any;
|
|
667
720
|
export function cloneAnimeGameProfile(...args: any[]): any;
|
|
668
721
|
export function cloudAmbientNode(...args: any[]): any;
|
|
669
722
|
export function cloudBaseShadowNode(...args: any[]): any;
|
|
@@ -693,10 +746,13 @@ export function compareRockLodGeometry(...args: any[]): any;
|
|
|
693
746
|
export function compileDocument(...args: any[]): any;
|
|
694
747
|
export function computeBreakingDepth(...args: any[]): any;
|
|
695
748
|
export function computeDocumentBounds(...args: any[]): any;
|
|
749
|
+
export function computeMeshCavity(...args: any[]): any;
|
|
750
|
+
export function computeMeshCurvature(...args: any[]): any;
|
|
696
751
|
export function computeModelBounds(...args: any[]): any;
|
|
697
752
|
export function coneSolidAngle(...args: any[]): any;
|
|
698
753
|
export function configureCallMeSenseiDirectionalLight(...args: any[]): any;
|
|
699
754
|
export function configureToonLabRenderer(...args: any[]): any;
|
|
755
|
+
export function copyRockSemanticMaterialBinding(...args: any[]): any;
|
|
700
756
|
export function copySurfaceMaterialModes(...args: any[]): any;
|
|
701
757
|
export function copyTextureTransform(...args: any[]): any;
|
|
702
758
|
export function createAlphaSettings(...args: any[]): any;
|
|
@@ -715,9 +771,12 @@ export function createBarkShaderSettings(...args: any[]): any;
|
|
|
715
771
|
export function createBaseTextureSettings(...args: any[]): any;
|
|
716
772
|
export function createBranchTree(...args: any[]): any;
|
|
717
773
|
export function createBranchTreeDocument(...args: any[]): any;
|
|
774
|
+
export function createBranchTreeRecipe(...args: any[]): any;
|
|
718
775
|
export function createBranchTreeSettings(...args: any[]): any;
|
|
719
776
|
export function createBranchTubeGeometry(...args: any[]): any;
|
|
720
777
|
export function createBranchingTreeSkeleton(...args: any[]): any;
|
|
778
|
+
export function createC7GeologyMapData(...args: any[]): any;
|
|
779
|
+
export function createC7SurfaceSpecification(...args: any[]): any;
|
|
721
780
|
export function createCallMeSenseiGrassField(...args: any[]): any;
|
|
722
781
|
export function createCallMeSenseiGrassMaterial(...args: any[]): any;
|
|
723
782
|
export function createCallMeSenseiSkyLightProbe(...args: any[]): any;
|
|
@@ -747,6 +806,7 @@ export function createContactShadowSettings(...args: any[]): any;
|
|
|
747
806
|
export function createCurlNoiseData(...args: any[]): any;
|
|
748
807
|
export function createCurlNoiseField(...args: any[]): any;
|
|
749
808
|
export function createCurlNoiseVolume(...args: any[]): any;
|
|
809
|
+
export function createCurveFrame(...args: any[]): any;
|
|
750
810
|
export function createDebugEnvironmentMaterial(...args: any[]): any;
|
|
751
811
|
export function createDefaultRockShaderTextureSet(...args: any[]): any;
|
|
752
812
|
export function createDensityWeightMask(...args: any[]): any;
|
|
@@ -806,7 +866,6 @@ export function createHeroCloudWeatherTexture(...args: any[]): any;
|
|
|
806
866
|
export function createImportedVegetationMaterial(...args: any[]): any;
|
|
807
867
|
export function createIndirectLightSettings(...args: any[]): any;
|
|
808
868
|
export function createLeafSpriteTexture(...args: any[]): any;
|
|
809
|
-
export function createLegacyTree(...args: any[]): any;
|
|
810
869
|
export function createLightArtisticSettings(...args: any[]): any;
|
|
811
870
|
export function createLightColor(...args: any[]): any;
|
|
812
871
|
export function createLightCookie(...args: any[]): any;
|
|
@@ -871,6 +930,7 @@ export function createRockReferenceIdentity(...args: any[]): any;
|
|
|
871
930
|
export function createRockShaderMaterial(...args: any[]): any;
|
|
872
931
|
export function createRockShaderPresetDocument(...args: any[]): any;
|
|
873
932
|
export function createRockShaderSettings(...args: any[]): any;
|
|
933
|
+
export function createRockShaderTextureSet(...args: any[]): any;
|
|
874
934
|
export function createRockShapeSettings(...args: any[]): any;
|
|
875
935
|
export function createRockStrataSettings(...args: any[]): any;
|
|
876
936
|
export function createRockSurfaceSettings(...args: any[]): any;
|
|
@@ -909,6 +969,7 @@ export function createStickerSettings(...args: any[]): any;
|
|
|
909
969
|
export function createStrokeEdit(...args: any[]): any;
|
|
910
970
|
export function createStyleBundleDocument(...args: any[]): any;
|
|
911
971
|
export function createStyleBundleProvider(...args: any[]): any;
|
|
972
|
+
export function createStyleComparison(...args: any[]): any;
|
|
912
973
|
export function createStyleMaterialContract(...args: any[]): any;
|
|
913
974
|
export function createStyleTarget(...args: any[]): any;
|
|
914
975
|
export function createStyleTargetLabel(...args: any[]): any;
|
|
@@ -967,6 +1028,9 @@ export function curlNoiseOffsetNode(...args: any[]): any;
|
|
|
967
1028
|
export function dayCycleProgressFromTime(...args: any[]): any;
|
|
968
1029
|
export function decodeCurlNoise(...args: any[]): any;
|
|
969
1030
|
export function deriveCanopyPalette(...args: any[]): any;
|
|
1031
|
+
export function describeCatalogLicense(...args: any[]): any;
|
|
1032
|
+
export function describeNeutralStyleCoverage(...args: any[]): any;
|
|
1033
|
+
export function describeTexture(...args: any[]): any;
|
|
970
1034
|
export function deserializeLightingLook(...args: any[]): any;
|
|
971
1035
|
export function deserializeLightingLookPreset(...args: any[]): any;
|
|
972
1036
|
export function deserializeLightingRecipe(...args: any[]): any;
|
|
@@ -1030,8 +1094,6 @@ export function getGeometryTriangleCount(...args: any[]): any;
|
|
|
1030
1094
|
export function getGrassPresetOptions(...args: any[]): any;
|
|
1031
1095
|
export function getGroundShaderPresetOptions(...args: any[]): any;
|
|
1032
1096
|
export function getHeroCloudPreviewCenter(...args: any[]): any;
|
|
1033
|
-
export function getLegacyTreePreset(...args: any[]): any;
|
|
1034
|
-
export function getLegacyTreePresetOptions(...args: any[]): any;
|
|
1035
1097
|
export function getLightFixtureGeneratorFamilyOptions(...args: any[]): any;
|
|
1036
1098
|
export function getLightFixtureOptions(...args: any[]): any;
|
|
1037
1099
|
export function getLightingPresetOptions(...args: any[]): any;
|
|
@@ -1072,9 +1134,13 @@ export function henyeyGreensteinPhaseNode(...args: any[]): any;
|
|
|
1072
1134
|
export function heroCloudSkyOverrides(...args: any[]): any;
|
|
1073
1135
|
export function hourFromDayCycleTime(...args: any[]): any;
|
|
1074
1136
|
export function inferManufacturedObjectClass(...args: any[]): any;
|
|
1137
|
+
export function inspectRockGeometryTangents(...args: any[]): any;
|
|
1138
|
+
export function inspectRockRegionBinding(...args: any[]): any;
|
|
1139
|
+
export function inspectRockRegionBindings(...args: any[]): any;
|
|
1075
1140
|
export function inspectToonLabLandscapeWeightmapSet(...args: any[]): any;
|
|
1076
1141
|
export function intersectCloudShell(...args: any[]): any;
|
|
1077
1142
|
export function isAoOverlayMaterial(...args: any[]): any;
|
|
1143
|
+
export function isDegenerateDetailMap(...args: any[]): any;
|
|
1078
1144
|
export function isEmissiveEnvironmentMaterial(...args: any[]): any;
|
|
1079
1145
|
export function isEnvironmentAoOverlay(...args: any[]): any;
|
|
1080
1146
|
export function isEnvironmentShadowMesh(...args: any[]): any;
|
|
@@ -1087,7 +1153,6 @@ export function isVegetationSharedShaderGroup(...args: any[]): any;
|
|
|
1087
1153
|
export function isWindowCutoutMaterial(...args: any[]): any;
|
|
1088
1154
|
export function labelManufacturedStyleTarget(...args: any[]): any;
|
|
1089
1155
|
export function labelStyleTarget(...args: any[]): any;
|
|
1090
|
-
export function layoutTreeRow(...args: any[]): any;
|
|
1091
1156
|
export function listFirstPartyStyleBundles(...args: any[]): any;
|
|
1092
1157
|
export function listSurfaceMaterialModes(...args: any[]): any;
|
|
1093
1158
|
export function loadAsync(...args: any[]): any;
|
|
@@ -1191,6 +1256,7 @@ export function polarProfileFromOutline(...args: any[]): any;
|
|
|
1191
1256
|
export function powderNode(...args: any[]): any;
|
|
1192
1257
|
export function prepareGeometryForExport(...args: any[]): any;
|
|
1193
1258
|
export function prepareModelForRealtime(...args: any[]): any;
|
|
1259
|
+
export function prepareRockSemanticMaterialBindings(...args: any[]): any;
|
|
1194
1260
|
export function prepareTreeForExport(...args: any[]): any;
|
|
1195
1261
|
export function projectedTreeScreenCoverage(...args: any[]): any;
|
|
1196
1262
|
export function proposeManufacturedStyleTargetLabel(...args: any[]): any;
|
|
@@ -1212,6 +1278,7 @@ export function registerLightFixtureGeneratorFamily(...args: any[]): any;
|
|
|
1212
1278
|
export function registerLightingStyleGeneratorFamily(...args: any[]): any;
|
|
1213
1279
|
export function registerLightingStylePreset(...args: any[]): any;
|
|
1214
1280
|
export function registerLightingStylePresetDocument(...args: any[]): any;
|
|
1281
|
+
export function registerNeutralStylePresets(...args: any[]): any;
|
|
1215
1282
|
export function registerPostGeneratorFamily(...args: any[]): any;
|
|
1216
1283
|
export function registerPostProcessingPreset(...args: any[]): any;
|
|
1217
1284
|
export function registerRockShaderPreset(...args: any[]): any;
|
|
@@ -1242,6 +1309,7 @@ export function resetEnvironmentShaderTime(...args: any[]): any;
|
|
|
1242
1309
|
export function resetLocomotionActions(...args: any[]): any;
|
|
1243
1310
|
export function resolveAlphaForMaterial(...args: any[]): any;
|
|
1244
1311
|
export function resolveAverageShadowForMaterial(...args: any[]): any;
|
|
1312
|
+
export function resolveC7Projection(...args: any[]): any;
|
|
1245
1313
|
export function resolveCanopyColor(...args: any[]): any;
|
|
1246
1314
|
export function resolveCatalogLicense(...args: any[]): any;
|
|
1247
1315
|
export function resolveCatalogLodDistancesForQuality(...args: any[]): any;
|
|
@@ -1274,11 +1342,13 @@ export function resolveMarchBudget(...args: any[]): any;
|
|
|
1274
1342
|
export function resolveNativeLocomotionClips(...args: any[]): any;
|
|
1275
1343
|
export function resolveOfficialCatalogUrl(...args: any[]): any;
|
|
1276
1344
|
export function resolveOutlineForMaterial(...args: any[]): any;
|
|
1345
|
+
export function resolvePadPruning(...args: any[]): any;
|
|
1277
1346
|
export function resolvePostGeneratorRecipe(...args: any[]): any;
|
|
1278
1347
|
export function resolveQuality(...args: any[]): any;
|
|
1279
1348
|
export function resolveQualityLevelName(...args: any[]): any;
|
|
1280
1349
|
export function resolveReferenceRockLodPolicy(...args: any[]): any;
|
|
1281
1350
|
export function resolveRimLightForMaterial(...args: any[]): any;
|
|
1351
|
+
export function resolveRockGeometryDetailForSize(...args: any[]): any;
|
|
1282
1352
|
export function resolveRockgenPreset(...args: any[]): any;
|
|
1283
1353
|
export function resolveRockgenQuality(...args: any[]): any;
|
|
1284
1354
|
export function resolveSceneLook(...args: any[]): any;
|
|
@@ -1297,12 +1367,14 @@ export function resolveStyleBundleSettings(...args: any[]): any;
|
|
|
1297
1367
|
export function resolveStyleTargetAdapter(...args: any[]): any;
|
|
1298
1368
|
export function resolveSurfaceMaterialFamily(...args: any[]): any;
|
|
1299
1369
|
export function resolveSurfaceMaterialMode(...args: any[]): any;
|
|
1370
|
+
export function resolveTextureSize(...args: any[]): any;
|
|
1300
1371
|
export function resolveThreeLightIntensity(...args: any[]): any;
|
|
1301
1372
|
export function resolveToonDebugOutputMode(...args: any[]): any;
|
|
1302
1373
|
export function resolveToonLabRockMaterial(...args: any[]): any;
|
|
1303
1374
|
export function resolveToonLabRockProfile(...args: any[]): any;
|
|
1304
1375
|
export function resolveToonLabShaderSwipeBaseline(...args: any[]): any;
|
|
1305
1376
|
export function resolveTreeDitherMode(...args: any[]): any;
|
|
1377
|
+
export function resolveTreeSurfaceProfileId(...args: any[]): any;
|
|
1306
1378
|
export function resolveVegetationQualityOptions(...args: any[]): any;
|
|
1307
1379
|
export function resolveVegetationShaderPreset(...args: any[]): any;
|
|
1308
1380
|
export function resolveVegetationShaderRoleSettings(...args: any[]): any;
|
|
@@ -1316,6 +1388,8 @@ export function resolveWaterUnderwaterAtmosphereState(...args: any[]): any;
|
|
|
1316
1388
|
export function resolveWeatherMapResolution(...args: any[]): any;
|
|
1317
1389
|
export function restoreRockShader(...args: any[]): any;
|
|
1318
1390
|
export function restoreStyleTargetSnapshot(...args: any[]): any;
|
|
1391
|
+
export function rockDetailHeight(...args: any[]): any;
|
|
1392
|
+
export function rockSemanticMaterialTextures(...args: any[]): any;
|
|
1319
1393
|
export function rockShaderSettingsToProfile(...args: any[]): any;
|
|
1320
1394
|
export function roleIsCatchlight(...args: any[]): any;
|
|
1321
1395
|
export function roleIsEye(...args: any[]): any;
|
|
@@ -1344,6 +1418,8 @@ export function sanitizeGrassPresetSettings(...args: any[]): any;
|
|
|
1344
1418
|
export function sanitizeLightFixtureSettings(...args: any[]): any;
|
|
1345
1419
|
export function sanitizeLightingStyleSettings(...args: any[]): any;
|
|
1346
1420
|
export function sanitizePostProcessingPresetSettings(...args: any[]): any;
|
|
1421
|
+
export function sanitizeRockGeometryTangents(...args: any[]): any;
|
|
1422
|
+
export function sanitizeRockTangents(...args: any[]): any;
|
|
1347
1423
|
export function sanitizeSkyPresetSettings(...args: any[]): any;
|
|
1348
1424
|
export function sanitizeToonPresetSettings(...args: any[]): any;
|
|
1349
1425
|
export function sanitizeWaterPresetSettings(...args: any[]): any;
|
|
@@ -1416,6 +1492,7 @@ export function shouldUseDedicatedBreakerShell(...args: any[]): any;
|
|
|
1416
1492
|
export function simplifyRockGeometryToTriangleBudget(...args: any[]): any;
|
|
1417
1493
|
export function skyColorParamsToLive(...args: any[]): any;
|
|
1418
1494
|
export function skyDarknessFor(...args: any[]): any;
|
|
1495
|
+
export function smoothMeshNormals(...args: any[]): any;
|
|
1419
1496
|
export function snapshotLightingCapabilities(...args: any[]): any;
|
|
1420
1497
|
export function snapshotSkeletonLocalPose(...args: any[]): any;
|
|
1421
1498
|
export function solveFiniteDepthWaveNumber(...args: any[]): any;
|
|
@@ -1429,6 +1506,7 @@ export function sunDirectionAt(...args: any[]): any;
|
|
|
1429
1506
|
export function sunHorizonFade(...args: any[]): any;
|
|
1430
1507
|
export function syncFoliageFog(...args: any[]): any;
|
|
1431
1508
|
export function tagVegetationMaterial(...args: any[]): any;
|
|
1509
|
+
export function tangentNormalToView(...args: any[]): any;
|
|
1432
1510
|
export function targetBoneNameForRole(...args: any[]): any;
|
|
1433
1511
|
export function targetBoneNamesForRole(...args: any[]): any;
|
|
1434
1512
|
export function textureKindCandidateUrl(...args: any[]): any;
|
|
@@ -1447,6 +1525,8 @@ export function toonLabRockProfileFromResolvedMaterial(...args: any[]): any;
|
|
|
1447
1525
|
export function toonLabScalar(...args: any[]): any;
|
|
1448
1526
|
export function toonLabSwitch(...args: any[]): any;
|
|
1449
1527
|
export function toonLabTexturePath(...args: any[]): any;
|
|
1528
|
+
export function toonLabTriplanarColor(...args: any[]): any;
|
|
1529
|
+
export function toonLabTriplanarNormal(...args: any[]): any;
|
|
1450
1530
|
export function toonLabVector(...args: any[]): any;
|
|
1451
1531
|
export function toonSourceOpacity(...args: any[]): any;
|
|
1452
1532
|
export function toonUsesAlphaCutout(...args: any[]): any;
|
|
@@ -1495,8 +1575,10 @@ export function validateToonPresetDocument(...args: any[]): any;
|
|
|
1495
1575
|
export function validateVegetationShaderPresetDocument(...args: any[]): any;
|
|
1496
1576
|
export function validateVegetationShaderScopePresetDocument(...args: any[]): any;
|
|
1497
1577
|
export function validateWaterPresetDocument(...args: any[]): any;
|
|
1578
|
+
export function verifyStyleComparisonIdentity(...args: any[]): any;
|
|
1498
1579
|
export function visibilityForTurbidity(...args: any[]): any;
|
|
1499
1580
|
export function waitForObjectTextures(...args: any[]): any;
|
|
1500
1581
|
export function waitForTexture(...args: any[]): any;
|
|
1501
1582
|
export function waterStageOverrides(...args: any[]): any;
|
|
1583
|
+
export function withoutDegenerateDetailMaps(...args: any[]): any;
|
|
1502
1584
|
export function wrapDayTime(...args: any[]): any;
|
|
@@ -55,6 +55,12 @@ export function createLightingSystem({ camera, capabilities, quality, renderer,
|
|
|
55
55
|
z: number;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Overrides the scene-space direction toward the sun without replacing
|
|
60
|
+
* the active time-of-day palette. Pass null to return direction ownership
|
|
61
|
+
* to the day curve.
|
|
62
|
+
*/
|
|
63
|
+
setSunDirection(direction?: any): any[];
|
|
58
64
|
/** Advances the day cycle; use from update loops for live cycles. */
|
|
59
65
|
advanceTime(hoursDelta: any): {
|
|
60
66
|
accentScale: any;
|
|
@@ -295,6 +301,7 @@ export function createLightingSystem({ camera, capabilities, quality, renderer,
|
|
|
295
301
|
z: number;
|
|
296
302
|
};
|
|
297
303
|
};
|
|
304
|
+
readonly sunDirection: any[];
|
|
298
305
|
readonly manager: {
|
|
299
306
|
addLight: (descriptorSource: any) => string;
|
|
300
307
|
addToScene: (nextScene: any) => /*elided*/ any;
|
package/types/react/index.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
64
64
|
z: number;
|
|
65
65
|
};
|
|
66
66
|
};
|
|
67
|
+
setSunDirection(direction?: any): any[];
|
|
67
68
|
advanceTime(hoursDelta: any): {
|
|
68
69
|
accentScale: any;
|
|
69
70
|
ambientScale: any;
|
|
@@ -295,6 +296,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
295
296
|
z: number;
|
|
296
297
|
};
|
|
297
298
|
};
|
|
299
|
+
readonly sunDirection: any[];
|
|
298
300
|
readonly manager: {
|
|
299
301
|
addLight: (descriptorSource: any) => string;
|
|
300
302
|
addToScene: (nextScene: any) => /*elided*/ any;
|
|
@@ -562,6 +564,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
562
564
|
z: number;
|
|
563
565
|
};
|
|
564
566
|
};
|
|
567
|
+
setSunDirection(direction?: any): any[];
|
|
565
568
|
advanceTime(hoursDelta: any): {
|
|
566
569
|
accentScale: any;
|
|
567
570
|
ambientScale: any;
|
|
@@ -793,6 +796,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
793
796
|
z: number;
|
|
794
797
|
};
|
|
795
798
|
};
|
|
799
|
+
readonly sunDirection: any[];
|
|
796
800
|
readonly manager: {
|
|
797
801
|
addLight: (descriptorSource: any) => string;
|
|
798
802
|
addToScene: (nextScene: any) => /*elided*/ any;
|
|
@@ -1063,6 +1067,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
1063
1067
|
z: number;
|
|
1064
1068
|
};
|
|
1065
1069
|
};
|
|
1070
|
+
setSunDirection(direction?: any): any[];
|
|
1066
1071
|
setSkyPreset(preset: any, { timeOfDay }?: {
|
|
1067
1072
|
timeOfDay?: any;
|
|
1068
1073
|
}): Promise<any>;
|
|
@@ -1325,6 +1330,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
1325
1330
|
z: number;
|
|
1326
1331
|
};
|
|
1327
1332
|
};
|
|
1333
|
+
setSunDirection(direction?: any): any[];
|
|
1328
1334
|
advanceTime(hoursDelta: any): {
|
|
1329
1335
|
accentScale: any;
|
|
1330
1336
|
ambientScale: any;
|
|
@@ -1556,6 +1562,7 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
1556
1562
|
z: number;
|
|
1557
1563
|
};
|
|
1558
1564
|
};
|
|
1565
|
+
readonly sunDirection: any[];
|
|
1559
1566
|
readonly manager: {
|
|
1560
1567
|
addLight: (descriptorSource: any) => string;
|
|
1561
1568
|
addToScene: (nextScene: any) => /*elided*/ any;
|
|
@@ -1724,8 +1731,21 @@ export function useToonLabScene({ bundle, enabled, environmentRoot, post, qualit
|
|
|
1724
1731
|
uncoveredTargetIds: readonly any[];
|
|
1725
1732
|
}>;
|
|
1726
1733
|
readonly ready: boolean;
|
|
1734
|
+
readonly health: Readonly<{
|
|
1735
|
+
backend: "node" | "classic-webgl-unused";
|
|
1736
|
+
casterCount: number;
|
|
1737
|
+
farReady: boolean;
|
|
1738
|
+
hiddenNonCasterCount: number;
|
|
1739
|
+
ok: boolean;
|
|
1740
|
+
ready: boolean;
|
|
1741
|
+
reason: string;
|
|
1742
|
+
renderCount: number;
|
|
1743
|
+
sunName: any;
|
|
1744
|
+
}>;
|
|
1727
1745
|
readonly renderCount: number;
|
|
1728
1746
|
readonly shadowTexture: any;
|
|
1747
|
+
readonly nearShadowTarget: any;
|
|
1748
|
+
readonly farShadowTarget: any;
|
|
1729
1749
|
readonly shadowMatrix: import("three").Matrix4;
|
|
1730
1750
|
readonly farShadowTexture: any;
|
|
1731
1751
|
dispose: () => void;
|
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export { TOONLAB_RENDERER_BACKENDS, TOONLAB_RENDERER_CONFIGURATION_VERSION, configureToonLabRenderer, createToonLabRendererOptions, createToonLabRendererProfile, detectToonLabRendererBackend, stabilizeToonLabWebGPUResourceLifetime } from "./rendererConfiguration.js";
|
|
2
|
+
export { STYLE_COMPARISON_AXES, STYLE_COMPARISON_GENERATED_NODE_FLAGS, captureComparisonFrameState, createStyleComparison, verifyStyleComparisonIdentity } from "./styleComparison.js";
|