Adjusted 3D model scales and swapped Indica for MAA_Bottle

This commit is contained in:
AI Bot
2026-07-30 14:09:43 +05:30
parent f2551b60c6
commit ac8f504528
+5 -4
View File
@@ -8,7 +8,7 @@ export function Models() {
// Load the actual FBX models from the public folder
const heroFBX = useFBX('/3dmodels/MANUAL/Cavins/GEE_TIN.fbx');
const featureFBX = useFBX('/3dmodels/Full_AI/Indica/Indica_easy.fbx');
const featureFBX = useFBX('/3dmodels/MANUAL/MAA_Bottle/MAA_Bottle.fbx');
const ctaFBX = useFBX('/3dmodels/MANUAL/Fairever/Carton.fbx');
// Clone them so we don't mutate the cached originals
@@ -29,8 +29,8 @@ export function Models() {
heroRef.current.position.y = THREE.MathUtils.lerp(0, 10, offset * 3);
heroRef.current.position.x = THREE.MathUtils.lerp(3, -5, offset * 3);
// Auto-scale down based on typical FBX sizing
const scaleBase = 0.05;
// GEE_TIN increased by 50% (0.05 -> 0.075)
const scaleBase = 0.075;
heroRef.current.scale.setScalar(THREE.MathUtils.lerp(scaleBase, 0, offset * 3));
}
@@ -58,7 +58,8 @@ export function Models() {
ctaRef.current.position.y = THREE.MathUtils.lerp(-10, -1, ctaProgress);
ctaRef.current.position.x = THREE.MathUtils.lerp(5, 2, ctaProgress);
const scaleBase = 0.05;
// Carton decreased by 70% (0.05 -> 0.015)
const scaleBase = 0.015;
ctaRef.current.scale.setScalar(scaleBase);
}
});