style: update 3D battery model material colors and adjust handle position
This commit is contained in:
@@ -119,7 +119,7 @@ function Battery({ position, scale = 1, rotation = [0, 0, 0] }: { position: [num
|
|||||||
{/* Main Battery Body */}
|
{/* Main Battery Body */}
|
||||||
<mesh position={[0, 0, 0]} castShadow receiveShadow>
|
<mesh position={[0, 0, 0]} castShadow receiveShadow>
|
||||||
<boxGeometry args={[0.6, 1.2, 0.4]} />
|
<boxGeometry args={[0.6, 1.2, 0.4]} />
|
||||||
<meshStandardMaterial color="#1e293b" roughness={0.4} metalness={0.8} />
|
<meshStandardMaterial color="#41694cff" roughness={0.4} metalness={0.8} />
|
||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
{/* Top Cap */}
|
{/* Top Cap */}
|
||||||
@@ -129,9 +129,9 @@ function Battery({ position, scale = 1, rotation = [0, 0, 0] }: { position: [num
|
|||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
{/* Handle */}
|
{/* Handle */}
|
||||||
<mesh position={[0, 0.8, 0]} castShadow receiveShadow>
|
<mesh position={[0, 0.70, 0]} castShadow receiveShadow>
|
||||||
<torusGeometry args={[0.15, 0.04, 16, 32, Math.PI]} />
|
<torusGeometry args={[0.15, 0.04, 16, 32, Math.PI]} />
|
||||||
<meshStandardMaterial color="#cbd5e1" roughness={0.2} metalness={0.9} />
|
<meshStandardMaterial color="#0d7a33ff" roughness={0.2} metalness={0.9} />
|
||||||
</mesh>
|
</mesh>
|
||||||
|
|
||||||
{/* Glowing Indicator Light */}
|
{/* Glowing Indicator Light */}
|
||||||
|
|||||||
Reference in New Issue
Block a user