(2026-12-02, 19:22)Philippe Hurbain Wrote: Thanks Christoph, I'll try tomorrow!
Don't let yourself confuse please - eyesight-ng works with the Definitions of Studio (Colours, Materials) as well with the colours from LDRaw & self-defined materials.
If you want to work with Studio's definitions, the call would look like this (+ additional parameters from a regular cmdline call from Studio):
Code:
# Studio's lib/extra.khm must be in the current directory or next to the eyesight binary
eyesight --background --samples 256 \
--ldraw-dir ~/ldraw --ldrawfile model.mpd \
--ldraw-materials studio \
--output model-studio.png \
/path/to/Studio/settings.xml /path/to/Studio/CustomColorSettings.xmlFor using LDraw colour definitions & own materials:
Code:
eyesight --background --samples 256 \
--ldraw-dir ~/ldraw --ldrawfile model.mpd \
--output model-ldraw.pngBoth calls would take the handed in directory "~/ldraw" for loading the LDraw parts from.
Hope that does help and is not confusing even more.. In any case the docs/ directory of the repository holds more information.