mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
Words that name or point at a part were written into the world as RichText, where they turned with the floor and
shrank with distance. Label (raea/camera) is page type instead: it projects its point through the props the shot's
Camera3d gets (a cameraPath's camera(frame), perspective or orthographic) and draws flat words there, capitals 32 px at
1080 by default and refused under 22, its box inside title-safe and growing away from the nearer edge, with a line and
a dot to the point, and nothing while the point is behind the camera or out of frame. On a moving camera its dots stay
on the boxes' tops in every frame.
The 3D guide's rules 4, 5, 9, 10 and 11 name what holds each: SG2's names, line-of-parts and part-snap, the type checks
and read={false}, camera-lurch and camera-reverse, raea scene stage, frame-empty and subject-cut, raea show --despite;
Line3d, cameraPath and Label are the recipes. The craft floor refuses labels written into the 3D.
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"name": "@raea/render",
|
|
"license": "FSL-1.1-ALv2",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"description": "raea's 3D drawing (meshes, cameras, lights, materials, post-processing), as bevy_render, bevy_pbr, bevy_light and bevy_camera are Bevy's. Authors import it through \"raea\" (docs/sdk.feature S1d).",
|
|
"type": "module",
|
|
"main": "src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./daylight": "./src/daylight.tsx",
|
|
"./bevy3d": "./src/bevy3d.tsx",
|
|
"./paint": "./src/paint.tsx",
|
|
"./matchmove": "./src/matchmove.tsx",
|
|
"./scene": "./src/scene.tsx",
|
|
"./solid": "./src/solid.ts",
|
|
"./pick": "./src/pick.ts",
|
|
"./splat": "./src/splat.tsx",
|
|
"./3d": "./src/3d.tsx",
|
|
"./three": "./src/three.tsx",
|
|
"./plugin": "./src/plugin.ts",
|
|
"./screen": "./src/screen.tsx",
|
|
"./bevy-own": "./src/bevy-own.gen.tsx",
|
|
"./feathers": "./src/feathers.ts",
|
|
"./camera/path": "./src/camera/path.ts",
|
|
"./3d/clock": "./src/3d/clock.ts",
|
|
"./3d/line": "./src/3d/line.tsx",
|
|
"./3d/label": "./src/3d/label.tsx"
|
|
},
|
|
"raea": {
|
|
"plugins": {
|
|
"render": {
|
|
"crate": "raea-render",
|
|
"raea": true,
|
|
"types": [
|
|
"raea_render::"
|
|
],
|
|
"note": "RaeaPlugins: raea's looks, fog, fire, splats, screens, outlines and passes (engine/render/src/engine/raea_plugins.rs), in every Engine"
|
|
}
|
|
}
|
|
}
|
|
}
|