encode.bat 714 B

12345678910111213141516171819
  1. @echo off
  2. set encoder="..\..\..\..\bin\windows\gameplay-encoder.exe"
  3. REM ====================================================================
  4. REM Generate sky model
  5. REM ====================================================================
  6. %encoder% sky.fbx
  7. REM ====================================================================
  8. REM Generate normal map for terrain.
  9. REM NOTE: Encoder currently expects a .raw format, so temporarily rename
  10. REM .r16 to .raw for normal map generation.
  11. REM ====================================================================
  12. copy /Y heightmap.r16 heightmap.raw
  13. %encoder% -n -w 10000,4000,10000 -s 256,256 heightmap.raw normalmap.png
  14. del /Q heightmap.raw
  15. pause