Linux command
pamcrater 命令
文本
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Generate terrain with craters
pamcrater -width [512] -height [512] > [output.pam]
Generate with specific crater count
pamcrater -number [1000] -width [256] -height [256] > [output.pam]
说明
pamcrater generates synthetic terrain with impact craters, useful for creating planetary surface textures or heightmaps. Output is grayscale elevation data. Part of Netpbm toolkit.
参数
- -width _n_
- Output width in pixels.
- -height _n_
- Output height in pixels.
- -number _n_
- Number of craters to generate.
- -randomseed _n_
- Random seed for reproducibility.
FAQ
What is the pamcrater command used for?
pamcrater generates synthetic terrain with impact craters, useful for creating planetary surface textures or heightmaps. Output is grayscale elevation data. Part of Netpbm toolkit.
How do I run a basic pamcrater example?
Run `pamcrater -width [512] -height [512] > [output.pam]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -width _n_ do in pamcrater?
Output width in pixels.