G4-DESCSS/vis.mac

60 lines
2.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 多线程设置
/run/numberOfThreads 1
# verbose
/control/saveHistory
/control/verbose 2
/run/verbose 1
/event/verbose 0
/tracking/verbose 0
# 初始化
/run/initialize
# 设置视图使用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/geometry/set/visibility World 0 false
/vis/geometry/set/visibility Phantom 0 false
/vis/geometry/set/visibility BigWorld 0 false
/vis/geometry/set/colour BigMid 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/colour BigAir 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/visibility NodeWorld 0 false
/vis/geometry/set/visibility NodeShell 0 false
/vis/geometry/set/colour NodeMid 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/colour NodeAir 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/visibility SmallWorld 0 false
/vis/geometry/set/colour SmallMid 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/colour SmallAir 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/visibility Trans1World 0 false
/vis/geometry/set/visibility Trans1Shell 0 false
/vis/geometry/set/colour Trans1Mid 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/colour Trans1Air 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/visibility Trans2World 0 false
/vis/geometry/set/visibility Trans2Shell 0 false
/vis/geometry/set/colour Trans2Mid 0 0.631373 0.686275 0.733333 0.584314
/vis/geometry/set/colour Trans2Air 0 0.631373 0.686275 0.733333 0.584314
/vis/viewer/set/style surface
# 坐标轴
/vis/scene/add/scale # Simple scale line
/vis/scene/add/axes # Simple axes: x=red, y=green, z=blue.