-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathrun_interactive_cartoon_cpp.bat
More file actions
32 lines (27 loc) · 1.06 KB
/
Copy pathrun_interactive_cartoon_cpp.bat
File metadata and controls
32 lines (27 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
REM Interactive Cartoon Toon raster viewer — C++ Vulkan engine
REM Controls: mouse drag to orbit, scroll = zoom, ESC to exit
if not exist playground_cpp\build\Release\lux-playground.exe (
echo C++ engine not built. Build with:
echo cd playground_cpp ^&^& cmake -B build ^&^& cmake --build build --config Release
exit /b 1
)
REM Compile cartoon_toon forward if needed
if not exist shadercache\cartoon_toon.frag.spv (
echo Compiling cartoon_toon forward shaders...
python -m luxc examples/cartoon_toon.lux -o shadercache/ --pipeline ToonForward
)
if not exist shadercache\cartoon_toon.frag.spv (
echo Failed to compile shaders.
exit /b 1
)
set PIPELINE=shadercache/cartoon_toon
set SCENE=assets/DamagedHelmet.glb
set IBL=pisa
echo === Interactive C++ Cartoon Raster Viewer ===
echo Scene: %SCENE%
echo Pipeline: %PIPELINE% (raster)
echo IBL: %IBL%
echo Controls: mouse drag = orbit, scroll = zoom, ESC = exit
echo.
playground_cpp\build\Release\lux-playground.exe --scene %SCENE% --pipeline %PIPELINE% --ibl %IBL% --interactive