Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
beginnerJq committed Nov 10, 2023
1 parent c993a8c commit 8e583ae
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions page/sceneTool/sky-ocean.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@
}));

ssp.controls.maxPolarAngle = Math.PI / 2;
ssp.controls.minDistance = 2;
ssp.controls.minDistance = 0;
ssp.controls.maxDistance = 500;

ssp.setModelDracoDecoderPath('../../libs/soonspacejs/draco/');

ssp.setCameraViewpoint({
position: {
x: -14.257824784783033,
y: 3.085457430716832,
z: 21.16050217507909,
x: -0.3750552134029723,
y: 2.0949781098595905,
z: -1.811306624896635,
},
target: {
x: -1.7814775061699024,
y: 0.1481011515229355,
z: 3.093128550121843,
x: -5.053342534145278,
y: 2.09497810985959,
z: 3.5123014853703696,
},
});

Expand Down Expand Up @@ -125,8 +125,8 @@
scalar: 10000,
turbidity: 10,
rayleigh: 3,
elevation: 5,
azimuth: 180,
elevation: 15,
azimuth: -36,
};

// Sky
Expand Down

0 comments on commit 8e583ae

Please sign in to comment.