Repository navigation
0.4.2
Bug fix release for the GLB export.
- Paint colours are no longer nearly black (#2). The Tesla app stores its paint colours about ten times darker than they look (Pearl White is
#181818in its paint table) and makes up for it with its own lighting, which Godot 3's GLES2 renderer applies in gamma space at energy 4. Blender, Unreal, three.js and other glTF renderers light in linear space, so the exported paint rendered almost black; the Cybertruck's stainless body did too. The GLB export now brightens the car paint colour before it becomes the base colour: Pearl White goes from 0.009 to 0.53 linear, and black paints stay black. - New option
--paint-brightness FACTOR(default 8; Paint brightness in the desktop app's advanced mode). The factor is capped per colour so the hue stays. Use a higher value for a brighter paint in your scene, or1for the raw app values that earlier versions exported. The raw app colour is kept in each paint material'sextras.app_color, the factor inextras.paint_brightnessand inunreal.json. - Under neutral lighting Pearl White reads light grey rather than bright white: in the app much of its whiteness comes from strong reflections, which a material cannot carry.
Home Assistant asset packs are unchanged; the Tesla View card interprets the raw paint table itself.
Downloads and first-start steps: see the README. SHA256SUMS lists the checksums of all files.