The native runtime for three.js: three.js, down to the metal. 45× smaller than Electron, on a Sony PS3, and path-traced at 60 fps on ray-tracing GPUs.
Rust electron-alternativegame-engineglobal-illuminationgraphicsjavascript-runtimemetalpath-tracingray-tracingreal-time-renderingrenderingrustthreejstypescriptvoxelvulkanwebgpuwgpu
Download: ThreeRT for macOS ships notarized; no Gatekeeper workaround
Yifeng "Evan" Wang74ce10a5435b
diff --git a/site/README.md b/site/README.mdindex a4d1e66..9744bf3 100644--- a/site/README.md+++ b/site/README.md@@ -86,8 +86,8 @@ puts up a Download button with nothing behind it."macos": { "file": "ThreeRT-0.1.0-macos-arm64.dmg", "size": 33981234, "sha256": "…", "minOS": "14.0", "arch": "arm64","url": null, // null: `releases/<file>` on this host (R2 behind the Worker; site/releases/ locally);// or the https URL of the image when it is hosted elsewhere (`release.ts --macos-url`)- "signed": "adhoc", // or "developer-id"- "notarized": false }, // unless signed with a Developer ID and notarized, the page explains the first launch+ "signed": "developer-id", // or "adhoc" (a local preview)+ "notarized": true }, // build.ts --require-release (the deploy) refuses anything but a notarized Developer ID build"ios": { "url": null, // the TestFlight / App Store link; null: "TestFlight beta not open yet""channel": "testflight", // or "appstore""minOS": "17.0" }diff --git a/site/download/index.html b/site/download/index.htmlindex 11bb1a7..813e908 100644--- a/site/download/index.html+++ b/site/download/index.html@@ -158,11 +158,10 @@// macOS: the disk image this host carries.const m = r?.macos;if (m?.file) {- const trusted = m.signed === "developer-id" && m.notarized === true;+ // Signed with a Developer ID and notarized (the deploy refuses anything else): it opens like any app.mac.innerHTML = `<div class="row"><a class="btn primary" href="${esc(macUrl(m))}" download>${DL}<span>Download for macOS</span></a><span class="kv"><span><b>${esc(r.version)}</b></span><span>${megabytes(m.size)}</span>${r.date ? `<span>${esc(r.date)}</span>` : ""}</span></div>- ${trusted ? "" : `<p class="fine">This build is not notarized by Apple yet, so macOS stops it the first time. Open <b>System Settings → Privacy & Security</b> and choose <b>Open Anyway</b> (on macOS 14: right-click the app, then <b>Open</b>). macOS remembers the choice.</p>`}<details><summary>${esc(m.file)} · SHA-256</summary><p>${esc(m.sha256 ?? "")}</p></details>`;} else {mac.innerHTML = `<div class="row"><span class="btn off" aria-disabled="true">No build on this host</span></div>diff --git a/site/tools/build.ts b/site/tools/build.tsindex 66e4cdd..5a2f3c2 100644--- a/site/tools/build.ts+++ b/site/tools/build.ts@@ -41,6 +41,9 @@ if (existsSync(latest)) {if (!/^https:\/\//.test(r.macos.url)) problems.push(`site/releases/latest.json: macos.url is not an https URL (${r.macos.url})`);} else if (!file || !existsSync(file)) problems.push(`site/releases/latest.json names ${r.macos?.file ?? "no macOS file"}, which is not in site/releases/`);else if (statSync(file).size !== r.macos.size) problems.push(`site/releases/${r.macos.file} is ${statSync(file).size} bytes, latest.json says ${r.macos.size}`);+ // A public build opens like any app: never one that asks the user to get past Gatekeeper.+ if (r.macos && (r.macos.signed !== "developer-id" || r.macos.notarized !== true))+ problems.push(`site/releases/latest.json: the macOS build is ${r.macos.signed ?? "unsigned"}${r.macos.notarized ? "" : ", not notarized"} (release.ts --sign <Developer ID> --notarize <profile>)`);cpSync(join(site, "releases"), join(out, "releases"), { recursive: true, filter: (src) => withImage || !src.endsWith(".dmg") });console.log(`release ${r.version}: ${r.macos?.url ?? r.macos?.file ?? "no macOS build"}${r.macos?.url || withImage ? "" : " (served from R2: deploy.ts uploads it)"}; iOS ${r.ios?.url ?? "not published"}`);} else {