@hypersoniclabs/helix-cli 0.1.25-helix3.476 → 0.1.25-helix3.477

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. package/dist/index.js +4 -0
  2. package/dist/index.js.map +1 -1
  3. package/dist/placements/attachFoliageLods.js +7 -2
  4. package/dist/placements/attachFoliageLods.js.map +1 -1
  5. package/dist/placements/foliageLods.d.ts +7 -0
  6. package/dist/placements/foliageLods.js +150 -5
  7. package/dist/placements/foliageLods.js.map +1 -1
  8. package/dist/tsconfig.build.tsbuildinfo +1 -1
  9. package/package.json +1 -1
  10. package/plugins/beamng-vehicle/bin/__pycache__/beamng_abs.cpython-312.pyc +0 -0
  11. package/plugins/beamng-vehicle/bin/__pycache__/beamng_audio.cpython-312.pyc +0 -0
  12. package/plugins/beamng-vehicle/bin/__pycache__/beamng_engine.cpython-312.pyc +0 -0
  13. package/plugins/beamng-vehicle/bin/__pycache__/beamng_expression.cpython-312.pyc +0 -0
  14. package/plugins/beamng-vehicle/bin/__pycache__/beamng_jbeam.cpython-312.pyc +0 -0
  15. package/plugins/beamng-vehicle/bin/__pycache__/beamng_materials.cpython-312.pyc +0 -0
  16. package/plugins/beamng-vehicle/bin/__pycache__/beamng_stock_events.cpython-312.pyc +0 -0
  17. package/plugins/beamng-vehicle/bin/__pycache__/fmod_studio.cpython-312.pyc +0 -0
  18. package/plugins/beamng-vehicle/bin/__pycache__/fsb5.cpython-312.pyc +0 -0
  19. package/plugins/beamng-vehicle/bin/__pycache__/sim_audio.cpython-312.pyc +0 -0
  20. package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_ac.cpython-312.pyc +0 -0
  21. package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_beamng.cpython-312.pyc +0 -0
  22. package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_fixtures.cpython-312.pyc +0 -0
  23. package/plugins/beamng-vehicle/bin/__pycache__/test_beamng_engine.cpython-312.pyc +0 -0
  24. package/plugins/beamng-vehicle/bin/__pycache__/test_sim_audio.cpython-312.pyc +0 -0
package/dist/index.js CHANGED
@@ -6359,10 +6359,14 @@ placements.command('attach-impostors').argument('<scene>', 'local sealed Scene v
6359
6359
  });
6360
6360
  placements.command('foliage-lods').argument('<dir>', 'validated placement bake with tree LODs')
6361
6361
  .requiredOption('--out <dir>', 'new placement bake folder').option('--size <pixels>', 'full-family atlas size: 512, 1024, 2048', '1024')
6362
+ .option('--mid-triangles <n>', 'total triangles of the lowest tree LOD (chains of 3+ levels); 0 keeps the authored count', '300')
6363
+ .option('--near-triangles <n>', 'total triangles of the tree LODs between the finest and the lowest; 0 keeps the authored count', '700')
6364
+ .option('--mid-pixels <n>', 'screen height in pixels where the first reduced LOD hands over to the lowest; 0 keeps the authored threshold', '96')
6362
6365
  .action(async (directory, options) => {
6363
6366
  try {
6364
6367
  const { bakeFoliageLods } = await Promise.resolve().then(() => __importStar(require('./placements/foliageLods')));
6365
6368
  const result = await bakeFoliageLods((0, node_path_1.resolve)(directory), (0, node_path_1.resolve)(options.out), { size: Number(options.size),
6369
+ midTriangles: Number(options.midTriangles), nearTriangles: Number(options.nearTriangles), midPixels: Number(options.midPixels),
6366
6370
  onProgress: message => console.error(message) });
6367
6371
  console.log(JSON.stringify({ output: (0, node_path_1.resolve)(options.out), files: result.files.length }, null, 2));
6368
6372
  }