@hraness/slopcamera 3.3.2 → 3.3.4
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/README.md +49 -25
- package/apps/desktop/application/directing-contract.ts +15 -3
- package/apps/desktop/application/directing-plan.ts +2 -1
- package/apps/desktop/application/operation.ts +1 -1
- package/apps/desktop/cli/args.ts +1 -1
- package/apps/desktop/cli/cinema-renderer.ts +9 -6
- package/apps/desktop/cli/commands.ts +8 -1
- package/apps/desktop/cli/directing-blob.ts +17 -12
- package/apps/desktop/cli/directing-media.ts +14 -4
- package/apps/desktop/cli/directing-quote.ts +29 -11
- package/apps/desktop/cli/directing-service.ts +6 -2
- package/apps/desktop/cli/gateway-media-catalog.ts +57 -0
- package/apps/desktop/cli/gateway-media-service.ts +12 -2
- package/apps/desktop/cli/help.ts +4 -4
- package/apps/desktop/cli/main.ts +1 -1
- package/apps/desktop/cli/project-renderer.ts +23 -9
- package/apps/desktop/cli/spatial-scene-service.ts +1 -1
- package/apps/desktop/dist/cli/main.js +254 -248
- package/apps/desktop/html-overlay/spatial-splat-runtime.ts +6 -0
- package/dist/cli.js +1 -1
- package/dist/code/index.js +4 -4
- package/dist/{index-gs48afpt.js → index-c8jpst4g.js} +2 -2
- package/dist/index-z1kd1x8j.js +3 -0
- package/dist/index.js +1 -1
- package/docs/README.md +6 -3
- package/docs/studio.md +63 -3
- package/package.json +13 -7
- package/skills/slopcamera/references/directing-video.md +3 -3
- package/skills/slopcamera/references/educational-video.md +1 -1
- package/skills/slopcamera/references/install.md +1 -1
- package/skills/slopcamera/references/parametric-design.md +5 -1
- package/skills/slopcamera/references/scene-building.md +2 -0
- package/skills/slopcamera/references/workflows-sdk.md +1 -1
- package/src/spatial-scene/geometry.ts +88 -35
- package/src/spatial-scene/parametric.ts +42 -15
- package/src/version.ts +1 -1
- package/dist/index-zhg36tf9.js +0 -3
|
@@ -18,6 +18,12 @@ renderer.readRenderTargetPixelsAsync=async(target,x,y,width,height,buffer,face,a
|
|
|
18
18
|
const spark=new SparkRenderer({renderer,autoUpdate:false,preUpdate:false,enableLod:false,enableDriveLod:false,enableLodFetching:false,
|
|
19
19
|
maxPagedSplats:65536,numLodFetchers:0,lodRaycast:0,accumExtSplats:true,premultipliedAlpha:true,encodeLinear:true,sortRadial:false,minSortIntervalMs:0,depthTest:true,depthWrite:false,
|
|
20
20
|
preBlurAmount:input.splatKernel.preBlurAmount,blurAmount:input.splatKernel.blurAmount});
|
|
21
|
+
// SPZ preserves signed SH radiance; fractional gamma is undefined below zero.
|
|
22
|
+
// Guard the physical radiance domain after SH reconstruction and before blending.
|
|
23
|
+
// Keep positive HDR values and the pinned Spark transfer function unchanged.
|
|
24
|
+
const linearRgbAnchor="rgba.rgb = srgbToLinear(rgba.rgb);";
|
|
25
|
+
if(spark.material.fragmentShader.split(linearRgbAnchor).length!==2)throw new Error("Spark linear-RGB shader anchor changed; review the pinned renderer adapter.");
|
|
26
|
+
spark.material.fragmentShader=spark.material.fragmentShader.replace(linearRgbAnchor,"rgba.rgb = srgbToLinear(max(rgba.rgb, vec3(0.0)));");
|
|
21
27
|
spark.readPause=0;spark.sortPause=0;spark.sortDelay=0;
|
|
22
28
|
const splatMeshes=new Map();
|
|
23
29
|
const disposeSplats=()=>{for(const mesh of splatMeshes.values())mesh.dispose();splatMeshes.clear();spark.dispose();};
|
package/dist/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env bun
|
|
2
2
|
// @bun
|
|
3
|
-
import{SLOPCAMERA_VERSION,artifactSummary,checkDiagramFile,renderDiagramFile,runMcpServer}from"./index-
|
|
3
|
+
import{SLOPCAMERA_VERSION,artifactSummary,checkDiagramFile,renderDiagramFile,runMcpServer}from"./index-c8jpst4g.js";import{installSkill,pathExists}from"./index-grk47tgs.js";import"./index-z1kd1x8j.js";import"./index-3cxf2c58.js";import"./index-296qhpf2.js";import{executeSlopcameraOperation,generateSlopcameraIcon,generateSlopcameraImageGallery,isSlopcameraOperationCode,parseSlopcameraGalleryVary,searchSlopcameraOperations,slopcameraGalleryKinds,slopcameraGalleryLimits,slopcameraIconMaximumRounds,slopcameraOperationCodes,withSlopcameraOperationHostAdmission}from"./index-0bbesn4m.js";import{vectorizeImage}from"./index-qry58nj2.js";import{generateSlopcameraImageFile,slopcameraGatewayCredentialStatus,slopcameraImageModels}from"./index-77fjfg9f.js";import"./index-b3geqczn.js";import{__require}from"./index-80a36bc0.js";import{readFile,writeFile}from"fs/promises";import{resolve}from"path";function reportUsefulResult(observer){try{if(observer!==undefined)Promise.resolve(observer()).catch(()=>{return})}catch{}}import{maybeShowSupportInvitation,runSupportCommand}from"@hraness/support-foundation/node";var supportProfile={id:"slopcamera",name:"Slopcamera",valueProposition:"Support ongoing development of local visual tools for agents.",updates:false};function standaloneSupportEnvironment(){const env={...process.env};process.env.HRANESS_SUPPORT_AUDIENCE="off";process.env.HRANESS_SUPPORT_EMAIL="off";return env}async function runProductSupportCommand(args,options={}){const result=await runSupportCommand(supportProfile,args,{command:["slopcamera"],...options,gitEmail:false});if(result.stdout!=="")process.stdout.write(result.stdout);if(result.stderr!=="")process.stderr.write(result.stderr);return result.exitCode}async function showProductSupportInvitation(options={}){try{await maybeShowSupportInvitation(supportProfile,{usefulResult:true,command:["slopcamera"],...options,gitEmail:false})}catch{}}var slopcameraCliVersion=SLOPCAMERA_VERSION;var help=`slopcamera ${slopcameraCliVersion}
|
|
4
4
|
|
|
5
5
|
Turn source material into deterministic diagrams, images, and canvas assets.
|
|
6
6
|
|