35 lines
947 B
Plaintext
35 lines
947 B
Plaintext
# 设置视图,使用OpenGL
|
||
/vis/open OGL 800x800-0+0
|
||
|
||
# 禁止自动刷新,消息静音(除错误外)
|
||
/vis/viewer/set/autoRefresh false
|
||
/vis/verbose errors
|
||
|
||
# 绘制几何体
|
||
/vis/drawVolume
|
||
|
||
# 绘制轨迹 类型为平滑
|
||
/vis/scene/add/trajectories smooth
|
||
# 根据粒子ID进行绘制
|
||
/vis/modeling/trajectories/create/drawByParticleID
|
||
# 以2px的宽度绘制节点
|
||
/vis/modeling/trajectories/drawByParticleID-0/default/setDrawStepPts true
|
||
/vis/modeling/trajectories/drawByParticleID-0/default/setStepPtsSize 2
|
||
# 保留、叠加所有事例
|
||
/vis/scene/endOfEventAction accumulate
|
||
|
||
# 设置颜色
|
||
/vis/viewer/set/style surface
|
||
# 设置 World 不可见
|
||
/vis/geometry/set/visibility World 0 false
|
||
|
||
# 坐标轴
|
||
/vis/scene/add/scale # Simple scale line
|
||
/vis/scene/add/axes # Simple axes: x=red, y=green, z=blue.
|
||
#
|
||
# To get nice view
|
||
#
|
||
# Re-establish auto refreshing and verbosity:
|
||
/vis/viewer/set/autoRefresh true
|
||
/vis/verbose warnings
|