Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosGoogle Cloud Tech: Gemini is coming to your city(24.09.2026 um 15:00 Uhr)
AI & KI NachrichtenGoogle’s latest moonshot to put machine learning in space(24.09.2026 um 15:12 Uhr)
Windows Tipps & SecurityPoll: What's your favorite Surface of 2026?(24.09.2026 um 14:58 Uhr)
Sichere ProgrammierungStreaming Materialized Views for Live Read Models (2026)(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungA Day Is Not 86400 Seconds: The DST Bug in Your Date Math(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungSetting up Traefik: reverse proxy with automatic HTTPS(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungA 200 OK response does not prove a secret leak(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungHow hot do you like it?(24.09.2026 um 15:05 Uhr)
YouTube Security VideosGoogle Cloud Tech: Gemini is coming to your city(24.09.2026 um 15:00 Uhr)
AI & KI NachrichtenGoogle’s latest moonshot to put machine learning in space(24.09.2026 um 15:12 Uhr)
Windows Tipps & SecurityPoll: What's your favorite Surface of 2026?(24.09.2026 um 14:58 Uhr)
Sichere ProgrammierungStreaming Materialized Views for Live Read Models (2026)(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungA Day Is Not 86400 Seconds: The DST Bug in Your Date Math(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungSetting up Traefik: reverse proxy with automatic HTTPS(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungA 200 OK response does not prove a secret leak(24.09.2026 um 15:02 Uhr)
Sichere ProgrammierungHow hot do you like it?(24.09.2026 um 15:05 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Bridging 8th Wall AR and React Three Fiber: How Pose Data Flows into Three.js

What I Built I created a React Three Fiber (R3F) wrapper library for the 8th Wall open-source AR engine, called @j1ngzoue/8thwall-react-three-fiber. It lets you add image-tracking AR to a React app with minimal…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!




What I Built



I created a React Three Fiber (R3F) wrapper library for the 8th Wall open-source AR engine, called @j1ngzoue/8thwall-react-three-fiber.



It lets you add image-tracking AR to a React app with minimal boilerplate:




<EighthwallCanvas xrSrc="/xr.js">
<EighthwallCamera />
<ImageTracker targetImage="/targets/marker.json">
<mesh>
<boxGeometry />
<meshStandardMaterial color="hotpink" />
</mesh>
</ImageTracker>
</EighthwallCanvas>






Point your phone camera at the target image, and the 3D object appears anchored to it.









Two Canvases, One Screen



The trickiest part of the architecture is layering XR8's camera feed with R3F's 3D scene. They run on separate canvases stacked on top of each other:




┌─────────────────────────────┐
│ R3F Canvas (alpha=true) │ ← 3D objects, transparent background
├─────────────────────────────┤
│ XR8 Canvas │ ← camera feed
└─────────────────────────────┘






Both canvases are position: absolute and fill the container. R3F renders with alpha: true so the camera feed shows through.




<div style={{ position: 'relative', width: '100%', height: '100%' }}>
{/* XR8 renders camera feed here */}
<canvas ref={xrCanvasRef} style={fillStyle} />

{/* R3F renders 3D scene on top, transparent */}
<Canvas style={fillStyle} gl={{ alpha: true }}>
{children}
</Canvas>
</div>






XR8 is initialized with the back canvas:




XR8.run({ canvas: xrCanvasRef.current })












How XR8 Pose Data Flows into Three.js



XR8 uses a camera pipeline module system. You register a module with named hooks, and XR8 calls them each frame.






Step 1: Read pose data from XR8



Every frame, XR8 calls onUpdate with detection results. We extract the pose for our target image:




XR8.addCameraPipelineModule({
name: 'image-tracker-marker',
onUpdate: ({ processCpuResult }) => {
const detectedImages = processCpuResult?.reality?.detectedImages
// [{ name, position: {x,y,z}, rotation: {x,y,z,w}, scale }]

const pose = detectedImages?.find((img) => img.name === 'marker')
latestPoseRef.current = pose ?? null
},
})






We store the latest pose in a ref — not state — because we don't want a re-render every frame.






Step 2: Apply pose to a Three.js group in useFrame



R3F's useFrame runs once per render frame. We read the latest pose and apply it directly to the <group> that wraps the AR content:




useFrame(() => {
const pose = latestPoseRef.current
if (!pose || !groupRef.current) return

groupRef.current.position.set(
pose.position.x,
pose.position.y,
pose.position.z,
)
groupRef.current.quaternion.set(
pose.rotation.x,
pose.rotation.y,
pose.rotation.z,
pose.rotation.w,
)
groupRef.current.scale.setScalar(pose.scale)
})









Step 3: Show/hide on detection events



XR8 fires events when a target is found or lost. We use these to toggle visibility:




listeners: [
{
event: 'reality.imagefound',
process: ({ detail }) => {
if (detail.name !== targetName) return
setVisible(true)
},
},
{
event: 'reality.imagelost',
process: ({ detail }) => {
if (detail.name !== targetName) return
setVisible(false)
latestPoseRef.current = null
},
},
],






The final JSX renders a <group> whose visibility and transform are driven entirely by XR8:




return (
<group ref={groupRef} visible={visible}>
{children}
</group>
)












Syncing the Camera Matrix



The 3D scene also needs to match the physical camera's field of view. XR8 provides videoWidth and videoHeight from the device camera, which we use to estimate the FOV and update the Three.js camera matrix each frame:




XR8.addCameraPipelineModule({
name: 'camera-sync',
onStart: ({ videoWidth, videoHeight }) => {
// Estimate FOV from video aspect ratio
activeFov = estimateFovFromVideo(videoWidth, videoHeight)
},
onUpdate: ({ processCpuResult }) => {
const cameraProjectionMatrix =
processCpuResult?.reality?.cameraProjectionMatrix
if (cameraProjectionMatrix) {
// Store for use in useFrame
latestMatrixRef.current = cameraProjectionMatrix
}
},
})

useFrame(({ camera }) => {
if (latestMatrixRef.current) {
camera.projectionMatrix.fromArray(latestMatrixRef.current)
camera.projectionMatrixInverse
.copy(camera.projectionMatrix)
.invert()
camera.matrixAutoUpdate = false
}
})






Without this, 3D objects would appear at the wrong depth and scale relative to the real world.









Key Takeaways




  • Use two stacked canvases to combine XR8's camera feed with R3F's transparent 3D scene

  • XR8 pose data flows through a camera pipeline modulerefuseFrame → Three.js group transform

  • Store pose in a ref, not state, to avoid unnecessary re-renders every frame






- Sync the Three.js camera projection matrix with XR8's data so depth and scale match the real world



The library is on npm:




npm install @j1ngzoue/8thwall-react-three-fiber






GitHub: https://github.com/activeguild/8thwall-react-three-fiber

SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - Bridging 8th Wall AR and React Three Fiber: How Pose Data Flows into Three.js
id: a06e6771-0165-42ae-823b-dbc658d17e9c
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "Bridging 8th Wall AR and React" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich Bridging 8th Wall AR and React Three Fib.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Bridging 8th Wall AR and React Three Fiber: How Pose Data Flows into Three.js

Thematisch verwandte Begriffe: Bridging, Wall, React, Three · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97179 | A security vulnerability has been detected in O2OA up to 9.5.3/10.0.2. T…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick