-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Kurt Pachinger edited this page Sep 29, 2022
·
35 revisions
flowchart LR;
r3f((r3f))
vlay((vlay))
r3f-->init
r3f-->CSG<--geometry-->v
vlay -- uid -->
gcut <--> morph --> segs --> v
gcut --> matgen --> mat
-
MAX-- maximum texture dimension -
box-- BoxGeometry for cubemap -
emit-- PointsMaterial for median -
img-- Material for cubemap face -
map-- Material for cubemap -
neg-- Material for negative geometry -
pos-- Material for positive geometry -
xyz-- Array to lookup cubemap transforms
-
LOD-- relative unit, from display or geometry -
R-- relative unit -
csg-- updated by r3f in useFrame -
emit-- Points for median -
opt-- used bygcut, set bygui -
out-- Group ofcsgandgcutresult -
state-- react-three-fiber -
uid-- seed results
Raycast geometry's cubemap to accumulate morph defects, then output segs.
-
opt.init-- initialized Group will bereset, then replace materials and geometries -
opt.i-- iterations of recursion -
opt.s-- seed formatgen, toseedmap -
opt.uid-- identifier for Group and seed -
opt.img-- images formatgen, fromremap
Initialized with r3f reference and formats ux such as gui and minimap.
Creates a Material from opt.img Array, or from opt.s via seedmap.
Raycast cubemap PYR from geometry center and face normal. RGBa sets vertex color and elevation scale (med/pos/neg) via accumulate transforms.
scope:
blurs>positions>sample>scale>moment
-
opt.accum[cornerIndex]-- average position and scale lerps geometry position -
opt.contour[faceIndex]-- defects labelled by scale are used insegs
Classify features and set attributes of Geometry (or Points):
scope:
contour>profile>topo>align>wrap
c.label-- defects (med/pos/neg) adjusted by count drift from local to overallc.scale-- sum of cluster's normalized average scale and bias from mediansystem-- defect cluster's overall scale and spread determine connectednesshull-- system's secondary union, from local proximityseg.buff-- pos/neg defects create Mesh, which CSG referencesseg.emit-- med defects create Points, which augment surfaces
-
gui-- dat.GUI options -
minimap-- clickable cubemap layout -
num(num, opt): Number -- format number with prefix, padding, decimals, string -
refit(img, crop): Canvas -- image resize and rotate -
remap(files) -- process image(s) for cubemap -
reset(sel) -- remove element from scene, DOM, and memory
- Cube-to-sphere projections
- Comparison of spherical cube map projections
- Cubemaps
- Displacement mapping tesselation
- ThreeJS Node Material
- Geometry Nodes Volume Cube by LateAsUsual for Blender
- ThreeJS: raycast, BufferGeometryUtils, MergeVertices, ConvexGeometry
- gkjohnson: three-bvh-csg
- geometry: texel, depth, voxel, point cloud, metaball, NURB, blob, tomography, homography
- texture: volume, quadtree, topology, segmentation, classifier