3-Dimensional Visualization Using VRML: Method and Examples This DVD-ROM contains the method to use VRML (Virtual Reality Modeling Language) by Fortran and many examples of 3-dimensional visualization obtained from the computer simulation of solar wind-magnetosphere interaction. 1. How to use VRML by Fortran Three-dimensional visualization is indispensable in order to understand 3-dimensional simulation results such as the earth's magnetosphere better. By appearance of the VRML which is only the international standard language for the Internet's 3-dimensional visualization, it would be possible to watch the 3-dimensional image as VRML file by the VRML viewer, even if people does not have 3-dimensional image processing special computers and 3-dimensional image processing special software. However, utilization and popularization of the VRML do not advance very much in present state, because there is no a convenient tool which easily makes the VRML file and also it is not easy to make the complicated VRML file. In order to develop the method for visualizing 3-dimensional simulation result of the magnetosphere by using the VRML, we have wrestled in making the VRML file earlier by utilizing experience and knowledge cultivated for a long time for the image processing using Fortran and C language. In the computer science and technology project as the extension, we have made this manual "How to Use VRML" for the purpose of the 3-dimensional visualization of the simulation results by presenting interface subroutine packages for the VRML contents preparation by Fortran and C language. This DVD-ROM includes all main Fortran programs and subroutine packages shown in this manual as a source program format. We are happy if it is useful for the simulation and data analysis scientists. 2. Computer Simulation and 3-Dimensional Visualization Using VRML Three-dimensional visualization is necessary in order to understand what is obtained in the 3-dimensional and global MHD simulation of the solar wind and earth's magnetosphere interaction. For example, movement and rotation of coordinate axes are a method for better understanding of configurations of 3-dimensional magnetic field lines. Appearance of the VRML has drastically changed the situation of 3-dimensional image processing and has freed 3-dimensional visualization from the special computer and the special software. Though the speed of the 3-dimensional image processing (rotation, scaling, etc.) depends on the ability of the computer, VRML viewers such as Cosmo Player make possible the image processing for everyone by using browsers such as recent Netscape and Internet Explorer. In order to make the VRML file, we prepare the Fortran Interface Subroutine Package, and VRML file (*.wrl) is directly made from 3-dimensional simulation data of the magnetosphere using Fortran and C programs. Though there is a difference between 2-dimension and 3-dimension, this method is similar to the method for making the PostScript image file. In the VRML viewer, there are generally "walk mode" and "examine mode". The walk mode moves the viewpoint, and the examine mode does transfer and rotation and scaling of the object. It is possible to examine more apparently the 3-dimensional structure of the magnetosphere in this way. Present important problem is large VRML, since it is ascii file. It is future most interesting problem to display a real 3-dimensional animation movie. Many practical VRML examples for 3-dimensional visualization of the earth's magnetosphere which have been obtained from the global MHD simulation of interaction between the solar wind and magnetosphere by using various 3-dimensional MHD models are also presented. We are happy if many scientists are interested in the 3-dimensional visualization contents of VRML World. 3. Structure of Directory of VRML Files The structure of directory of 3-dimensional MHD codes and VRML files in the DVD-ROM is summarized in the directory, "structure.txt". There are many kind of 3-dimensional MHD (magnetohydrodynamics) codes of magnetosphere such as a quarter model (with north-south and dawn-dusk symmetry), a half model (with IMF By and Bz components, with dipole tilt) and a full model without any symmetry. The method to use VRML includes all the subroutine packages, Fortran source program, produced VRML files and explanation for use. Some of the VRML contents of 3-dimensional MHD simulation of Earth's magnetosphere and Jovian Magnetosphere are compressed by "gzip" to present a compressed VRML file like "pxd4mde32v.hde1b300.wrl.gz", because the file size of ASCII VRML file becomes very large. So, one need to decompress the compressed the VRML files by "gzip -d file-name.gz" in order to look at them in each personal computer. 3.1. 3-Dimensional Magnetohydrodynamic (MHD) Model of Interaction between the Solar Wind and Earth's Magnetosphere Size(kB) directory 5926 e_index.html :front homepage 5938 index.html :front homepage 55790 panel0310_2_e.pdf :poster panel in 2004 (pdf) 472576 panel0310_2_e.ppt :poster panel in 2004 (PowerPoint) 67198 panel0310_e.pdf :poster panel in 2004 (pdf) 1604608 panel0310_e.ppt :poster panel in 2004 (PowerPoint) 2634240 panel0409-e.ppt :poster panel in 2005 (PowerPoint) 1444352 panel0409_2-e.ppt :poster panel in 2005 (PowerPoint) 9215 readme :booklet of this DVD-ROM 8209 readme1.txt :explanation of this DVD-ROM 4477 structure.txt :structure of this DVD-ROM 37324 vrml2_e.pdf :poster panel in 2004 (pdf) 350208 vrml2_e.ppt :poster panel in 2004 (PowerPoint) Size(kB) directory ./mhdmodel/eartha :half model with IMF By and Bz components ./mhdmodel/earthb :quarter model with north-south and dawn-dusk symmetry ./mhdmodel/earthc :quarter model with dipole tilt ./mhdmodel/mhd3a :basic 3D MHD model ./mhdmodel/mcub :half model and VRML contents ./mhdmodel ./mhdmodel2/eartha :half model with IMF By and Bz components ./mhdmodel2/earthb :quarter model with north-south and dawn-dusk symmetry ./mhdmodel2/earthc :half model with dipole tilt ./mhdmodel2/earthd :full model without any symmetry ./mhdmodel2/earthbq :quadrupole magnetosphere ./mhdmodel2 ./hpfja/heartha :half model ./hpfja/hearthb :quarter model ./hpfja/hwave :wave equation ./hpfja :3D MHD codes by HPF/JA (High Performance Fortran/JA) ./vppfort/pwave :wave equation ./vppfort/vearthb :quarter model ./vppfort :3D MHD codes by Fujitsu VPP Fortran ./postscript/postsc1:method and subroutine package ./postscript/postsc2:method and subroutine package ./postscript :Graphic tool by PostScript Language 3.2. Method to Use VRML (Virtual Realty Modeling Language): How to Use VRML by Fortran and C ./vrml/vrml1 :fundamental Fortran Program ./vrml/vrmlap :fundamental Fortran Program and Application ./vrml/vrml2 :fundamental Fortran Program ./vrml/vrhtml :HTML file ./vrml 3.3. Example of VRML Contents ./example/yinyang :Yin-Yang grid ./example/multiscale :Coordinates of multiscale grid ./example/grid :Projection grid ./example/trianmesh :Interference pattern ./example/stelab/sub1 :Supplementary files for STElab building ./example/stelab :STElab building ./example/toyotahall/sub :Supplementary files for Toyata Hall ./example/toyotahall :Toyata Hall of Nagoya University ./example/shape/vrwl-cake:VRML content of cake ./example/shape/zu :Supplementary files for "shape" ./example/shape :VRML contents of various shapes ./example/polyhedron :Polyhedron ./example 3.4. VRML Contents of 3-Dimensional MHD Simulation of Earth's Magnetosphere and Jovian Magnetosphere ./magne :3D magnetic field lines ./jupiter :Jovian magnetosphere ./quadrupole :quadrupole magnetosphere ./eartha1 :half model with IMF By and Bz components ./eartha2 :half model of 2003 October 24 event ./earthb1 :quarter model with north-south and dawn-dusk symmetry ./earthb2 :quarter model with north-south and dawn-dusk symmetry ./earthc1 :half model with dipole tilt ./earthd0 :full model ./earthd1 :full model with IMF Bx component ./earthd2 :full model with IMF Bx component ./earthd4 :full model ./tokutake :half model with IMF By and Bz components Acknowledgements: Individual subroutines in this manual, "How to Use VRML" have been developed by the project team of "Development and standardization of the visualization tool by the VRML" of the Solar-Terrestrial Environment Laboratory, Nagoya University from 1997, and it was arranged by the JST Computer Science and Technology Promotion Program, "The Development of Space Simulation Net-Laboratory System" as the original manual. Then it has been successively developed by Grant-in-Aid from Japan Society for the Promotion Science (JSPS) (A)(1) "Study of Solar Wind-Magnetosphere-Ionosphere Dynamics Using Common Parallel Computation Codes in MHD and Particle Simulation" and was finally arranged by Grant-in Aid for Publication of Scientific Research Results, "Space Weather International Collaborative Research Database in Japan" as the present manual. The computer simulation was performed on Fujitsu VPP5000-16PE in the Information Technology Center of Nagoya University Project team of "Development and standardization of the visualization tool by the VRML" Tatsuki Ogino ( Leader ) Maki Nakao Yuka Kadowaki Minako Suganuma Manami Inayoshi Koichi Ota Keiichiro Fukazawa Dai Owaki Kazuhide Sawada Junya Yamamoto Hayato Kitakura March, 2006 Contact: Prof. Tatsuki Ogino Solar-Terrestrial Environment Laboratory, Nagoya University 3-13 Honohara, Toyokawa, Aichi 443-8507, Japan TEL: +81-533-89-5207 FAX: +81-533-89-5090 E-mail:ogino@stelab.nagoya-u.ac.jp TEL: +81-533-89-5184 FAX: +81-533-89-5090