Commit graph

6 commits

Author SHA1 Message Date
Maaxxs
a670211258 Switch viewport to a bright CAD/3D-design-tool look
Replaced the dark showroom scene (gradient sky, mirror-style reflections,
bloom glow) with a clean white background, light studio ground, and a
visible reference grid (GridHelper) - the classic modeling-software
viewport aesthetic. Dropped the bloom postprocessing pass entirely since
it blew out badly against the white background and doesn't fit a
technical viewport anyway; tuned taillight/trim materials back down to
plain (non-bloom) emissive levels.
2026-09-01 10:56:29 +02:00
Maaxxs
20f61a48ed Remove AI lookup, replace with a large built-in car database
Dropped the Claude/OpenAI backend (api/) and the "Mit KI suchen" button -
no server dependency, no API keys, no cost per search. Instead, data/cars.json
grew from 27 to 173 vehicles covering the world's most common models across
Europe, North America, Japan/Korea, China, and India (VW, Toyota, Honda,
Ford, Hyundai/Kia, BYD, Wuling, Tata, etc.), so the free-text search finds
a real entry for the vast majority of realistic queries. The category-based
estimate picker remains as a fallback for anything still not covered.

Also fixed accent-insensitive search (e.g. "Citroen" now matches "Citroën").
2026-08-31 10:56:15 +02:00
Maaxxs
14b890c920 Support switching the AI lookup between Claude and OpenAI
api/lookup.php now branches on \$AI_PROVIDER in config.php ('anthropic' or
'openai'). Claude uses the existing Anthropic SDK path; OpenAI is called
via a plain cURL request (Chat Completions, JSON response_format) to avoid
a second SDK dependency. Only the selected provider's key needs to be set.
2026-08-31 10:18:46 +02:00
Maaxxs
0446dbf7d0 Add optional AI-powered lookup for cars not in the local database
When a search has no local match, a "Mit KI suchen" button now calls a
PHP backend (api/lookup.php) that asks the Claude API for plausible
cargo-bay dimensions. The API key stays server-side (config.php, gitignored,
see config.example.php) and is never exposed to the browser. The existing
category-based estimate picker remains as a free fallback if the AI call
fails or isn't configured.
2026-08-31 09:50:53 +02:00
Maaxxs
a6f6adcaba Remove paint color picker and tone down body material reflections
Body panels now use a fixed matte MeshStandardMaterial instead of the
glossy clearcoat MeshPhysicalMaterial, which produced overly strong
highlights on the tailgate/bumper.
2026-08-31 01:02:30 +02:00
Maaxxs
40a309df9b Initial commit: Kofferraum 3D Explorer
3D-Konfigurator, der aus Marke/Modell oder VIN eine parametrische
Kofferraum-Näherung generiert (Three.js). Enthält Subwoofer-Box-Platzierung
mit Passform-Check, animierte Heckklappe und Zwischenboden, Lackfarbwahl,
gerundete Formen und Bloom-Postprocessing.
2026-08-31 00:51:55 +02:00