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:
parent
6c87ed03ed
commit
6cc40e159a
9 changed files with 493 additions and 26 deletions
|
|
@ -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 */}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue