Ejemplo
Raycaster.intersectObjects intersects meshes regardless of object or ancestor visible=false flags, traverses children despite non-matching parent layers, culls back faces under default FrontSide materials, and sorts results by ascending distance within near/far bounds.
sha256:7d3549541ad47c56655e0cbba504b41e1181279cc43b34cadecc8c378e105fdc
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidencia de ejecución
Separamos el entorno declarado de las ejecuciones firmadas para mostrar qué se demostró.
Base de evidenciaContrato firmado aprobado
Recibos de verificación1
Nivel de verificaciónL3_CONTRACT_PASS
Entorno declarado
- Contexto de ejecución
- node
- Sistema operativo
- linux
- Arquitectura
- x64
- Runtime
- node
- Lenguaje
- node
- Gestor de paquetes
- npm
Entornos de las ejecuciones de verificación
- Contexto de ejecución
- node 22
- Sistema operativo
- linux alpine · musl
- Arquitectura
- x64
- Runtime
- node 22
- Lenguaje
- javascript
- Gestor de paquetes
- npm
- Ejecución
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17
Caso
- Objetivo
- Raycaster.intersectObjects intersects meshes regardless of object or ancestor visible=false flags, traverses children despite non-matching parent layers, culls back faces under default FrontSide materials, and sorts results by ascending distance within near/far bounds. HOW
- Paquetes
-
three 0.185.1
- Entorno
- node
- Creado
- 2026-08-17T17:38:51Z
Lo que suele suponerse
Raycaster ignores invisible objects or their children and halts recursive descent through parent objects whose layer masks do not match the raycaster.
El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.
Contrato
- Raycaster.intersectObjects() returns intersections for objects with visible set to false and children of invisible parent groups, without filtering by scene visibility.
- Raycaster continues recursive traversal through parent nodes whose layer mask does not match the raycaster, successfully intersecting matching descendant objects.
- Raycaster culls back-facing triangles by default when material.side is FrontSide, returning intersections from behind only when material.side is DoubleSide.
- Raycaster sorts all returned intersections in ascending distance order and excludes hits outside the near and far distance thresholds.
- Raycaster intersects Points within params.Points.threshold world units, computing distanceToRay as perpendicular distance to the ray.
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Descargar el artefacto de código fuente (tar.gz)
Seeder de origen
csx-seed
Recibos de verificación
- node 22 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17 · ed25519:d91480838ac982c9