feat: update color scheme and layout adjustments across components

This commit is contained in:
2025-06-16 12:14:16 +05:30
parent 29de49443a
commit 197554ffa8
13 changed files with 370 additions and 320 deletions

View File

@@ -12,39 +12,42 @@ import { Color } from "three";
import SimulationDuplicate from "./duplicateSimulation/duplicateSimulation";
export default function DuplicateScene() {
const projectId = "684bcd620a64bc2a815a88d6";
const projectId = "6842c683d4c6ce57664da93b";
return (
<Canvas
id="sceneCanvas"
shadows
color="#aaaa"
eventPrefix="client"
style={{
pointerEvents: 'none'
}}
onContextMenu={(e) => {
e.preventDefault();
}}
onCreated={(e) => {
e.scene.background = new Color(0x19191d);
}}
gl={{ powerPreference: "high-performance", antialias: true, preserveDrawingBuffer: true }}
>
return (
<Canvas
id="sceneCanvas"
shadows
color="#aaaa"
eventPrefix="client"
style={{
pointerEvents: "none",
}}
onContextMenu={(e) => {
e.preventDefault();
}}
onCreated={(e) => {
e.scene.background = new Color(0x19191d);
}}
gl={{
powerPreference: "high-performance",
antialias: true,
preserveDrawingBuffer: true,
}}
>
<Sun />
<Sun />
<Shadows />
<Shadows />
<ControlsDuplicate />
<ControlsDuplicate />
<PostProcessingDuplicate />
<PostProcessingDuplicate />
<Environment files={background} environmentIntensity={1.5} />
<Environment files={background} environmentIntensity={1.5} />
<BuilderDuplicate projectId={projectId} />
<BuilderDuplicate projectId={projectId} />
<SimulationDuplicate />
</Canvas>
);
}
<SimulationDuplicate />
</Canvas>
);
}