moved from a general heatmap to a more spatial hot cold point around nodes that the density and brightness are controlled by how far past the threshold the nodes temp is

This commit is contained in:
csawatzky 2026-04-21 12:24:04 -06:00
parent 6c87ed03ed
commit 6cc40e159a
9 changed files with 493 additions and 26 deletions

View file

@ -8,6 +8,8 @@ import { Vector3 } from "three";
import { useMemo } from "react";
import { BuildCableData } from "../Data/BuildCableData";
import { BuildNodeData } from "../Data/BuildNodeData";
import Heatmap from "../Systems/Heatmap/HeatMapAlpha";
import NodePointCloud from "../Systems/Heatmap/NodePointCloud";
interface Props {
/**
@ -43,7 +45,7 @@ export default function Bin3dView(props: Props){
radialSegments={20}
binMetalness={0.5}
binRoughness={0.7}
binOpacity={0.5}
binOpacity={0.2}
diameter={bin.diameter()}
sidewallHeight={bin.sidewallHeight()}
roofHeight={bin.roofHeight()}
@ -62,6 +64,7 @@ export default function Bin3dView(props: Props){
)}
{/* cables */}
<BinCables cableData={cableData} nodeData={nodeData} bin={bin} binCenter={binCenter}/>
<NodePointCloud bin={bin} nodes={nodeData} />
</group>
{/* lighting */}