Skip to content

Commit 759cd7f

Browse files
committed
website: M3 redesign with rich industry SVGs, showcase overhaul, one-click demo
Complete website redesign for sceneview.github.io: - 20+ custom SVG illustrations: industry use cases, device previews, showcase cards - M3 Expressive CSS with dark mode, responsive breakpoints, tonal palette - Homepage: hero banner, industry grid, code tabs, device showcase, samples gallery - New pages: try.md (demo access), showcase.md, use-cases.md updates - Codelab guides linked from homepage - One-click demo: try-demo bash script + build-apks.yml workflow - Research docs for 3D model expansion https://claude.ai/code/session_01SegkZGp11CSyChYzTavuTi
1 parent 9e3dc3b commit 759cd7f

56 files changed

Lines changed: 9729 additions & 517 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build-apks.yml

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,55 @@ name: Build sample APKs
22

33
on:
44
push:
5+
branches: [main]
56
tags:
67
- 'v[0-9]+.[0-9]+.[0-9]+'
8+
pull_request:
9+
branches: [main]
710
workflow_dispatch:
811

912
jobs:
13+
build-demo:
14+
name: Build demo APK (quick — always available)
15+
runs-on: ubuntu-latest
16+
permissions:
17+
contents: write
18+
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- uses: actions/setup-java@v4
23+
with:
24+
distribution: temurin
25+
java-version: 17
26+
cache: gradle
27+
28+
- run: chmod +x ./gradlew
29+
30+
- name: Build SceneView Demo APK
31+
run: ./gradlew :samples:sceneview-demo:assembleDebug --console=plain
32+
33+
- name: Collect demo APK
34+
run: |
35+
mkdir -p dist
36+
apk=$(find samples/sceneview-demo/build/outputs/apk/debug -name "*.apk" | head -1)
37+
cp "$apk" dist/sceneview-demo.apk
38+
39+
- name: Upload demo APK
40+
uses: actions/upload-artifact@v4
41+
with:
42+
name: sceneview-demo-apk
43+
path: dist/sceneview-demo.apk
44+
retention-days: 90
45+
46+
- name: Attach demo APK to GitHub Release
47+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
48+
uses: softprops/action-gh-release@v2
49+
with:
50+
files: dist/sceneview-demo.apk
51+
1052
build-samples:
11-
name: Build sample APKs
53+
name: Build all sample APKs
1254
runs-on: ubuntu-latest
1355
permissions:
1456
contents: write
@@ -28,6 +70,7 @@ jobs:
2870
- name: Build all sample APKs
2971
run: |
3072
./gradlew \
73+
:samples:sceneview-demo:assembleDebug \
3174
:samples:model-viewer:assembleDebug \
3275
:samples:camera-manipulator:assembleDebug \
3376
:samples:gltf-camera:assembleDebug \
@@ -47,9 +90,9 @@ jobs:
4790
- name: Collect APKs
4891
run: |
4992
mkdir -p dist
50-
for sample in model-viewer camera-manipulator gltf-camera autopilot-demo \
51-
physics-demo post-processing dynamic-sky line-path \
52-
text-labels reflection-probe \
93+
for sample in sceneview-demo model-viewer camera-manipulator gltf-camera \
94+
autopilot-demo physics-demo post-processing dynamic-sky \
95+
line-path text-labels reflection-probe \
5396
ar-model-viewer ar-augmented-image ar-cloud-anchor ar-point-cloud; do
5497
apk=$(find "samples/$sample/build/outputs/apk/debug" -name "*.apk" | head -1)
5598
if [ -n "$apk" ]; then

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- 'CONTRIBUTING.md'
1212
- 'ROADMAP.md'
1313
- 'llms.txt'
14+
- 'sceneview/Module.md'
15+
- 'arsceneview/Module.md'
16+
release:
17+
types: [published]
1418
workflow_dispatch:
1519

1620
jobs:

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,5 @@ samples/*/build/
2626
# MCP compiled test artifacts
2727
mcp/dist/*.test.js
2828
mcp/llms.txt
29-
30-
# MkDocs build output
29+
sceneview-core/build/
3130
docs/site/

docs/docs/architecture.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ from your Kotlin code all the way down to the GPU.
1010
SceneView is a stack of five layers. Each layer only talks to the one directly below it,
1111
keeping responsibilities clean and dependencies one-directional.
1212

13-
```
13+
```text
1414
┌──────────────────────────────────────────────────┐
1515
│ Your Android App (Kotlin/Compose) │
1616
├──────────────────────────────────────────────────┤
@@ -124,7 +124,7 @@ maintains an idempotent `managedNodes` set to prevent double-add/remove.
124124

125125
### How the threading works in practice
126126

127-
```
127+
```text
128128
┌────────────────────┐ ┌──────────────────────┐
129129
│ Dispatchers.IO │ │ Main Thread │
130130
│ │ │ │
@@ -190,7 +190,7 @@ LaunchedEffect(engine, renderer, view, scene) {
190190
SceneView ties every Filament resource to Compose's lifecycle through `remember` +
191191
`DisposableEffect`, following a consistent pattern:
192192

193-
```
193+
```text
194194
remember { create resource } → DisposableEffect { onDispose { destroy resource } }
195195
```
196196

@@ -228,7 +228,7 @@ registered models when the loader itself is disposed.
228228

229229
Every frame follows this sequence:
230230

231-
```
231+
```text
232232
1. Compose recomposition
233233
└─ SideEffect pushes updated node properties to Filament entities
234234
@@ -261,7 +261,7 @@ For AR scenes (`ARScene`), step 2 additionally:
261261

262262
SceneView is split into two Gradle modules with a strict dependency direction:
263263

264-
```
264+
```text
265265
┌─────────────────────┐ ┌─────────────────────────┐
266266
│ sceneview/ │◀────────│ arsceneview/ │
267267
│ │ depends │ │

0 commit comments

Comments
 (0)