- 1、本文档共33页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
计算天文讲义 南京大学天文与空间科学学院
其它工具之三 — VRML VRML is one way to share three dimensional data. The primary advantage of VRML is that it can be transferred and viewed using the internet and free browser plug-ins. Virtual Reality Modeling Language虚拟现实模拟语言 优点: * 利用网络共享3维数据 * 浏览与平台无关 (PC, Mac, SGI, SUN) * 免费浏览插件 * 第二版包含 interactive capabilities * 文件可由纯文本编辑器产生 文件格式及编写: * 纯文本,但第一行须为 #VRML V2.0 utf8 * 文件后缀为.wrl或.vrml 编写工具: 1. Jot, Notepad, Emacs …… 2. 三维模拟工具如cosmoplayer, 3D Studio Max 3. Fortran 规则: The Box Shape Box { size 2.0 2.0 2.0 } The size line format is: size [width(x)] [height(y)] [depth(z)] The Cone Shape Cone { bottomRadius 1.0 height 2.0 side TRUE bottom TRUE } 等等等等 范例1:地球磁场 范例2:太阳系 (注:须下载IE插件Cosmoplayer后才能显示) 例子 #VRML V2.0 utf8Group {children [ Shape {geometry Cone { bottomRadius 1.0 height 7.0 side TRUE bottom TRUE } }]} 这是VRML文件的标志 先加入一个组节点,花括号 内的内容视为一个整体 定义组节点的孩子域 第一个孩子是一个形态节点 appearance Appearance {material Material {diffuseColor 1 0 0 }} 16. IDL速成及其它可视化工具简介 P. F. Chen Department of Astronomy Nanjing University July 2, 2000 IDL (Interactive Data Language) A complete computing environment for the interactive analysis and visualization of data. It integrates a powerful language with numerous mathematical analysis and graphical display techniques. It is a time-saving alternative to programming in Fortran or C. IDL特点 可交互式使用,亦可生成复杂的函数或程序; 运算可以数组为单位:如x(100), y(100)满足 y(i)=sin(x(i)) ,在IDL中可表示为y=sin(x); 直接编译、运行,及时反馈; 快速的多维图象显示及动画,易于诊断结果; 很多计算、统计程序(含Numerical Recipes); 与Fortran、C可相互调用。 重要的是它提供了一个控制、处理及绘图的软件发展平台 可生成独立的可执行文件 pro exam1 ;上一行可有可无 device,decomposed=0 !p.color=0 !p.background=255 x=findgen(51)/50.*3.14 y=sin(x) plot, x, y,xst=1,thick=5 y=y/1.2 oplot, x, y,psym=1 y=y/1.2 oplot, x, y,psym=2 y=y/1.2 oplot, x, y,linestyle=2 y=y/1.2 window,1,xs=600,ys=500 plot, x, y,psym=10,xr=[1.,2.5],yr=[0.3,0.5] end 运行方式 通常在IDL环境下运行,也可单独运行 (点击IDL图标for Windows;点击图标或运行idl or idlde for Unix or Linux) 1. 交互式 可直接输入,也可先敲.r 2. IDL程序
您可能关注的文档
- 能源互联网示范项目申请概要模板.ppt
- 胶带应用中的内聚力与粘接力抗剪切力内聚力.ppt
- 能源利用状况报告表格样式 国家节能中心.doc
- 脂多糖联合D.doc
- 脊柱腰段断层解剖测量及临床意义.doc
- 脑波屈光度检测系统.ppt
- 脚下的电磁学浅谈地磁场.ppt
- 膳食调查与评价 陕西公众营养师培训中心.ppt
- 自动尿液有形成分分析仪注册技术审查指导原则.doc
- 自制螺帽成本结构.ppt
- 四川省德阳市罗江中学2025届高三考前热身化学试卷含解析.doc
- 山东省枣庄现代实验学校2025届高三下学期第五次调研考试化学试题含解析.doc
- 吉林省长春市十一高中等九校教育联盟2025届高三一诊考试生物试卷含解析.doc
- 2025届江苏省盐城市伍佑中学高考仿真模拟化学试卷含解析.doc
- 2025届广西贺州中学高考冲刺押题(最后一卷)生物试卷含解析.doc
- 安徽省池州市贵池区2025届高三第一次模拟考试生物试卷含解析.doc
- 宁夏银川一中2025届高三(最后冲刺)化学试卷含解析.doc
- 广东省广州市增城区四校联考2025届高考压轴卷化学试卷含解析.doc
- 2025届邯郸市第一中学高考生物必刷试卷含解析.doc
- 2025届安徽省安庆市石化第一中学高考仿真卷化学试卷含解析.doc
文档评论(0)