Orbital Viewer by David Manthey

Total Page:16

File Type:pdf, Size:1020Kb

Orbital Viewer by David Manthey Orbital Viewer by David Manthey February 1998 Updated September 2004 Orbital Viewer Manual copyright 1998-2004 by David Manthey Orbital Viewer Program copyright 1986-2004 by David Manthey 2 TABLE OF CONTENTS Table of Contents................................................................... 3 Orbital Specification Files (.ORB).......................35 Introduction................................................................................5 Example File ....................................................................... 41 Orbitals.............................................................................................7 File Formats - Output........................................................42 Lighting........................................................................................10 Orbital Specification Files (.ORB).......................42 Stereo Display..........................................................................12 Orbital Viewer Files (.OV) ........................................42 Monoscopic.........................................................................13 Portable Pixel Map Files (.PPM)...........................42 Stereoscope...........................................................................13 TIFF Files (.TIF)...................................................................42 Building a Stereoscope ..........................................13 Bitmap Files (.BMP)........................................................43 Interlaced...............................................................................14 VRML Files (.WRL).........................................................43 Red-Blue ..................................................................................15 AVI Files (.AVI) ..................................................................43 Stereogram............................................................................15 Digistar II Files (.TXT)..................................................44 Overlay....................................................................................15 Orbital Mathematics.........................................................45 Chromadepth ....................................................................16 Introduction.......................................................................45 Camera.......................................................................................... 17 List of Symbols .................................................................45 Cutaway.......................................................................................18 Electron Orbital Wave Function ......................46 Rendering Method..............................................................19 Orbital Function Gradient .....................................49 Point Drawing Mode........................................................20 Imaging Mathematics......................................................52 Polygon Drawing Mode..................................................21 Camera Equations..........................................................52 Raytracing Drawing Mode..........................................24 Raytracing ............................................................................53 Asymptote Drawing Mode.......................................... 29 Grand Table..............................................................................55 Sequences................................................................................... 30 Program History ...................................................................56 Interpolation ..................................................................... 30 Author’s Note.......................................................................... 57 Incremental Position...................................................33 Contact Information................................................... 57 Interpolated Values.......................................................33 Acknowledgements ..................................................... 57 Sequence Output............................................................ 34 References ..................................................................................58 File Formats – Input............................................................35 3 4 INTRODUCTION Orbital Viewer is a program for visualizing atomic and molecular orbitals. Orbitals are the electron probability functions which are computed from Schrödinger’s Equation. The example shown in Figure 1 is a 4f0 orbital (n = 4, l = 3 (f), ml = 0), plotted with a surface of probability where Ψ2 = 10-4. It is illuminated with two light sources to better show its shape. There are two different versions of Orbital Viewer. The first is a graphics program, compatible with Windows 95, Windows NT, and Windows 3.x (with WIN32s installed). This program requires an 80386 processor or better, and is called OV.EXE. The second version is a command line program which can theoretically be run on any machine which has an ANSI C compatible compiler. This program is called ANSIORB.EXE (or something similar, as some computers do not require the .EXE extension 2 -4 to determine file type). Figure 1: 4f0, Ψ =10 Although this manual is focused on OV.EXE (the graphics version), almost all of the options available through the graphics interface are available to the command line version. The principal difference between them is that the graphics version provides an easier way to manipulate and modify an orbital, while the command line version is typically faster and runs on more machines. Both versions can read the same orbital specification file format. This program can display orbitals in three general ways: (1) Probability density: This shows the probability at each point in the orbital based on how intense the colors are, or how many points are present. See Figure 2a. (2) Surface of probability: This is a surface of constant probability. Like an line on a contour map, this displays the location where the probability has a constant value. See Figure 2b. (3) Asymptotes: These are the conic sections, spheres, and other shapes where the probability is zero. See Figure 2c. The phase of the orbital changes at the asymptote. 5 Figure 2a: 4f0, probability density Figure 2b: 4f0, surface of Figure 2c: 4f0, asymptotes plot probability, Ψ2=10-4 Throughout this manual, orbitals have different colors for the positive and negative phases. Phases are taken as defined in Condon and Shortley (see References). In all figures the blue or darker color is the positive phase while the orange color or lighter color is the negative phase. There are also three general types of display: (1) Point density plot: This is a probability density representation of the orbital. Points are randomly selected based on the probability of the orbital. See Figure 3a. This can be combined with a polygon asymptote plot. None of the lighting options apply to this style. (2) Polygon surface plot: This is an approximation of a surface of constant probability, with the vertices of the polygons at the surface. See Figure 3b. This can be combined with a polygon asymptote plot. Opacity is approximated, and shadows and indices of refraction can not be applied to this style. (3) Raytracing: This style supports the most features, including surface, probability, and interior opacity, precise asymptotes, point light sources with shadows, and indices of refraction. See Figure 3c. This is also the most computationally intensive style. Figure 3a: 4f0, point density plot Figure 3b: 4f0, polygon surface Figure 3c: 4f0, raytraced surface plot plot There are many options within each display type. Additionally, lighting can be adjusted, a cutaway can be added (to show the interior of the orbital), and six different forms of stereo displays are supported (to show the orbital in 3D). This manual includes brief examples of the different functions, plus a guide to the input file format, and a section on the equations used to calculate the orbitals. 6 ORBITALS The most important item that can be specified in Orbital Viewer is the atom or molecule which will be drawn. This is specified in the Display / Orbitals menu option. Selecting this displays the dialog shown in Figure 4. Any positive number of atoms can be specified. Each atom is specified by three quantum numbers: n, l, and m. n is the principal quantum number, l is the orbital quantum number, and m is the angular momentum quantum number (sometimes referred to as the magnetic quantum number). m is often written as ml, with the spin quantum number written as ms. The spin quantum number does not effect the shape of the orbital, and, therefore, is not an adjustable parameter. n can be any positive integer. However, due to Figure 4: Orbital Dialog the limits of computer precision, n is restricted to the range of 1 to 30. l can be any value between 0 and n-1, inclusive. m can be any value between –l and +l, inclusive. The actual shape of the orbital is dependant on n-l, l-|m|, and m. The orbital quantum number, l, is often designated as a letter. Letter designations are given to l values from 0 to 20 as follows: {s, p, d, f, g, h, i, k, l, m, n, o, q, r, t, u, v, w, x, y, z}, where s corresponds to l=0, p to l=1, d to l=2, and so forth. The first four of these are due to spectroscopy historical reasons, with s being short for sharp, p for principal, d for diffuse, and f for fine. The remaining letters were assigned in order, skipping those
Recommended publications
  • Virtual Reality and Visual Perception by Jared Bendis
    Virtual Reality and Visual Perception by Jared Bendis Introduction Goldstein (2002) defines perception as a “conscious sensory experience” (p. 6) and as scientists investigate how the human perceptual system works they also find themselves investigating how the human perceptual system doesn’t work and how that system can be fooled, exploited, and even circumvented. The pioneers in the ability to control the human perceptual system have been in the field of Virtual Realty. In Simulated and Virtual Realities – Elements of Perception, Carr (1995) defines Virtual Reality as “…the stimulation of human perceptual experience to create an impression of something which is not really there” (p. 5). Heilig (2001) refers to this form of “realism” as “experience” and in his 1955 article about “The Cinema of the Future” where he addresses the need to look carefully at perception and breaks down the precedence of perceptual attention as: Sight 70% Hearing 20% Smell 5% Touch 4% Taste 1% (p. 247) Not surprisingly sight is considered the most important of the senses as Leonardo da Vinci observed: “They eye deludes itself less than any of the other senses, because it sees by none other than the straight lines which compose a pyramid, the base of which is the object, and the lines conduct the object to the eye… But the ear is strongly subject to delusions about the location and distance of its objects because the images [of sound] do not reach it in straight lines, like those of the eye, but by tortuous and reflexive lines. … The sense of smells is even less able to locate the source of an odour.
    [Show full text]
  • Chromostereo.Pdf
    ChromoStereoscopic Rendering for Trichromatic Displays Le¨ıla Schemali1;2 Elmar Eisemann3 1Telecom ParisTech CNRS LTCI 2XtremViz 3Delft University of Technology Figure 1: ChromaDepth R glasses act like a prism that disperses incoming light and induces a differing depth perception for different light wavelengths. As most displays are limited to mixing three primaries (RGB), the depth effect can be significantly reduced, when using the usual mapping of depth to hue. Our red to white to blue mapping and shading cues achieve a significant improvement. Abstract The chromostereopsis phenomenom leads to a differing depth per- ception of different color hues, e.g., red is perceived slightly in front of blue. In chromostereoscopic rendering 2D images are produced that encode depth in color. While the natural chromostereopsis of our human visual system is rather low, it can be enhanced via ChromaDepth R glasses, which induce chromatic aberrations in one Figure 2: Chromostereopsis can be due to: (a) longitunal chro- eye by refracting light of different wavelengths differently, hereby matic aberration, focus of blue shifts forward with respect to red, offsetting the projected position slightly in one eye. Although, it or (b) transverse chromatic aberration, blue shifts further toward might seem natural to map depth linearly to hue, which was also the the nasal part of the retina than red. (c) Shift in position leads to a basis of previous solutions, we demonstrate that such a mapping re- depth impression. duces the stereoscopic effect when using standard trichromatic dis- plays or printing systems. We propose an algorithm, which enables an improved stereoscopic experience with reduced artifacts.
    [Show full text]
  • A Novel Walk-Through 3D Display
    A Novel Walk-through 3D Display Stephen DiVerdia, Ismo Rakkolainena & b, Tobias Höllerera, Alex Olwala & c a University of California at Santa Barbara, Santa Barbara, CA 93106, USA b FogScreen Inc., Tekniikantie 12, 02150 Espoo, Finland c Kungliga Tekniska Högskolan, 100 44 Stockholm, Sweden ABSTRACT We present a novel walk-through 3D display based on the patented FogScreen, an “immaterial” indoor 2D projection screen, which enables high-quality projected images in free space. We extend the basic 2D FogScreen setup in three ma- jor ways. First, we use head tracking to provide correct perspective rendering for a single user. Second, we add support for multiple types of stereoscopic imagery. Third, we present the front and back views of the graphics content on the two sides of the FogScreen, so that the viewer can cross the screen to see the content from the back. The result is a wall- sized, immaterial display that creates an engaging 3D visual. Keywords: Fog screen, display technology, walk-through, two-sided, 3D, stereoscopic, volumetric, tracking 1. INTRODUCTION Stereoscopic images have captivated a wide scientific, media and public interest for well over 100 years. The principle of stereoscopic images was invented by Wheatstone in 1838 [1]. The general public has been excited about 3D imagery since the 19th century – 3D movies and View-Master images in the 1950's, holograms in the 1960's, and 3D computer graphics and virtual reality today. Science fiction movies and books have also featured many 3D displays, including the popular Star Wars and Star Trek series. In addition to entertainment opportunities, 3D displays also have numerous ap- plications in scientific visualization, medical imaging, and telepresence.
    [Show full text]
  • 3D-Con2017program.Pdf
    There are 500 Stories at 3D-Con: This is One of Them I would like to welcome you to 3D-Con, a combined convention for the ISU and NSA. This is my second convention that I have been chairman for and fourth Southern California one that I have attended. Incidentally the first convention I chaired was the first one that used the moniker 3D-Con as suggested by Eric Kurland. This event has been harder to plan due to the absence of two friends who were movers and shakers from the last convention, David Washburn and Ray Zone. Both passed before their time soon after the last convention. I thought about both often when planning for this convention. The old police procedural movie the Naked City starts with the quote “There are eight million stories in the naked city; this has been one of them.” The same can be said of our interest in 3D. Everyone usually has an interesting and per- sonal reason that they migrated into this unusual hobby. In Figure 1 My Dad and his sister on a keystone view 1932. a talk I did at the last convention I mentioned how I got inter- ested in 3D. I was visiting the Getty Museum in southern Cali- fornia where they had a sequential viewer with 3D Civil War stereoviews, which I found fascinating. My wife then bought me some cards and a Holmes viewer for my birthday. When my family learned that I had a stereo viewer they sent me the only surviving photographs from my fa- ther’s childhood which happened to be stereoviews tak- en in 1932 in Norwalk, Ohio by the Keystone View Com- pany.
    [Show full text]
  • 3D Television - Wikipedia
    3D television - Wikipedia https://en.wikipedia.org/wiki/3D_television From Wikipedia, the free encyclopedia 3D television (3DTV) is television that conveys depth perception to the viewer by employing techniques such as stereoscopic display, multi-view display, 2D-plus-depth, or any other form of 3D display. Most modern 3D television sets use an active shutter 3D system or a polarized 3D system, and some are autostereoscopic without the need of glasses. According to DisplaySearch, 3D televisions shipments totaled 41.45 million units in 2012, compared with 24.14 in 2011 and 2.26 in 2010.[1] As of late 2013, the number of 3D TV viewers An example of three-dimensional television. started to decline.[2][3][4][5][6] 1 History 2 Technologies 2.1 Displaying technologies 2.2 Producing technologies 2.3 3D production 3TV sets 3.1 3D-ready TV sets 3.2 Full 3D TV sets 4 Standardization efforts 4.1 DVB 3D-TV standard 5 Broadcasts 5.1 3D Channels 5.2 List of 3D Channels 5.3 3D episodes and shows 5.3.1 1980s 5.3.2 1990s 5.3.3 2000s 5.3.4 2010s 6 World record 7 Health effects 8See also 9 References 10 Further reading The stereoscope was first invented by Sir Charles Wheatstone in 1838.[7][8] It showed that when two pictures 1 z 17 21. 11. 2016 22:13 3D television - Wikipedia https://en.wikipedia.org/wiki/3D_television are viewed stereoscopically, they are combined by the brain to produce 3D depth perception. The stereoscope was improved by Louis Jules Duboscq, and a famous picture of Queen Victoria was displayed at The Great Exhibition in 1851.
    [Show full text]
  • Vision & Visuals
    Overview Vision & Visuals Human Visual Systems Visual Perceptions 3D Depth Cues 3D Stereographics Terminology Stereo Approximation 3D Displays & Auto-Stereoscopic Displays 071011-1 Design Issues for VR Visual Displays 2017년 가을학기 9/20/2017 박경신 Human Perception System Vision Obtain Information about environment through vision, Vision is one of the most important research areas in audition, haptic/touch, olfaction, gustation, HCI/VR because designers should know vestibular/kinesthetic senses. What can be seen by users Human perception capability provides HCI design What a user can see better issues. What can attract user’s attention Vision Physical reception of stimulus Processing and interpretation of stimulus No clear boundary between the two Human Visual System Human Eyes Light is focused by the cornea and the lens onto the retina Light passing through the center of the cornea and the lens hits the fovea (or Macula) Iris permits the eye to adapt to varying light levels, controlling the amount of light entering the eye. Retina is optically receptive layer like a film in a camera Retina translate light into nerve signals. Retina has photoreceptors (rods & cones) and inter- neurons. Photoreceptors Rods & Cones Distribution Rods Rods & Cones Distribution Operate at lower illumination levels Fovea Luminance-only only cone receptors with The most sensitive to light very high density At night where the cones cannot detect the light, the rods provide us with a black and white view of the world no rods The rods
    [Show full text]
  • Touring the Centennial More!? Stereogram Books More "Hyper)' I-& Selections
    THE MAGAZINEOF 3-DIMENSIONAL IMAGING, PAST & PRESENT May/june 1994 I Volume 21, Number 2 F Touring the Centennial More!? Stereogram Books More "Hyper)' I-& Selections e we wait for responses to the "Wheels" assignment to W"arrive, here are two more of the entries selected in the "Hyper" assignment.c-?%sent This isn't limited to rustic wagon wheels being used as fences or the chrome hubcaps of overly cus- I tomized hot rods. Anything that moves on, under or by wheels is fair game here, including cars, trains, unicycles, pretzel carts, shte boards, etc. Things like large pul- leys or tiny watch parts would also be eligible, as would spherical rolling devices fie ball bearings or selves would not have to be the "Jim Drennan in the Camzo Badkrnds" by the ball on the underside of a com- center of interest in views of things Rich Fairlamb of Tome, CA was taken puter mouse. The wheels them- (contimud on 16) in Anza-Borrego Desert Park just east of - Sun Diego in Febmary, 1993. The 30 foot sepomtion details the rugged texture of "Hubbk T- Gets Astonishing Stereo of Etpbding BkKk Dworf Star..." or, "West- the landscape better than any contour em Pptechnia Fimvoh Show, HdtM'Ik8 CA, July 4, 1988. " Quentin Burke of map, with the rare added feature of a HdMlk entered this imaginatlw image, taken with the help of Ellen Burkc on the ver- human figure to show scale. bally synchnmlzed left camem at a 16 hot sepamth. Fih msT&X exposed at V11 mW,aboutafiVTscoandcxpasun.
    [Show full text]
  • Using Chromadepth to Obtain Inexpensive Single-Image Stereovision for Scientific Visualization
    Using ChromaDepth to obtain Inexpensive Single-image Stereovision for Scientific Visualization Published in the Journal of Graphics Tools, Volume 3, Number 3, August 1999, pp. 1-9. Michael Bailey1 Dru Clark Oregon State University Abstract Stereographics is an effective way to enhance insight in 3D scientific visualization. This is especially true for visualizations consisting of complex geometry, such as molecular studies, or where one dataset needs to be registered against another, such as in earth science. But, as effective as it is, stereoviewing sees only limited use in scientific visualization because of the difficulty and expense of creating images that everyone can see. This paper demonstrates how a low-end, inexpensive viewing technique can be used as a “quick trick” to produce many of the same effects as high-end stereoviewing. Not only is this technique easy to view and easy to publish, it is easy to create. This paper shows how standard OpenGL features can be used to create such images, both statically and interactively. Stereoviewing for Interactive and Published Scientific Visualization The benefits of using stereoviewing in entertainment and scientific visualization are well known. By simulating human binocular vision, stereo imagery can greatly enhance a user’s understanding and enjoyment of a 3D scene. The methods for simulating the views seen by the left and right eyes are fairly straightforward. If this is a real scene, then two cameras are typically used, each one separated by a distance that approximates the eye separation distance. If this is a synthetic scene, then special off-axis viewing transformations need to be used ([LIPTON91, HODGES85]).
    [Show full text]
  • PERCEPTUAL DEPTH CUES in SUPPORT of Lviedical DATA VISUALISATION
    PERCEPTUAL DEPTH CUES IN SUPPORT OF lVIEDICAL DATA VISUALISATION A DISSERTATION SUBMITTED TO THE DEPARTMENT OF COMPUTER SCIENCE, FACULTY OF SCIENCE AT THE UNIVERSITY OF CAPE TOWN IN FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF MASTER OF SCIENCE By Caleb A. Lyness .June 2004 Supervised by Edwin Blake & Patrick l\!Iarais © Copyright 2004 by Caleb A. Lyness 11 Abstract This work investigates methods to provide clinically useful visualisations of the data pro­ duced by an X-ray /CT scanner. Specifically, it examines the use of perceptual depth cues (PDCs) and perceptual depth cue theory to create effective visualisations. Two visualisation systems arc explored: one to display X-ray data and the other to display volumetric data. The systems are enhanced using stereoscopic and motion PDCs. The presented analyses show that these are the only possible enhancements common to both systems. The theoretical and practical aspects of implementing these enhancements are presented. Volume rendering techniques are explored to find an approach which gracefully handles poorly sampled data and provides the interactive rendering needed for motion cues. A low cost real time volume rendering system is developed and a novel stereo volume rendering technique is presented. The developed system uses commodity graphics hardware and Open-CL. To evaluate the visualisation systems a task-based user test is designed and implemented. The test requires the subjects to be observed while they complete a 3D diagnostic task using each system. The speed and accuracy with which the task is performed are used as metrics. The experimental results are used to compare the effectiveness of the augmented perceptual depth cues and to cross-compare the systems.
    [Show full text]
  • Visual Perception
    Overview Vision & Visuals Human Visual Systems Visual Perceptions 3D Depth Cues 3D Stereographics Terminology Stereo Approximation 3D Displays & Auto-Stereoscopic Displays 029515 Desiggpyn Issues for VR Visual Displays 2010년 봄학기 3/29/2010 박경신 Human Visual System Human Eyes Light is focused by the cornea and the lens onto the retina Light passing through the center of the cornea and thlhe lens hi hihfts the fovea (or Macu l)la) Iris permits the eye to adapt to varying light levels, contro lling the amoun t o f lig ht en ter ing the eye. Retina is optically receptive layer like a film in a camera Retina translate light into nerve signals. Retina has photoreceptors (rods & cones) and inter- neurons. Photoreceptors (Rods & Cones) Rods & Cones Distribution Rods Rods & Cones Distribution Operate at lower illumination levels Fovea Luminance-only only cone receptors with The most sensitive to light very hihigh h dens itity At night where the cones cannot detect the light, the rods provide us with a black and white view of the world no rods The rods are also more sensitive to the blue end of the no S-cones (blue cones) spectrum responsible for high visual Cones acuity operate at higher illumination levels Blind Spot provide better spatial resolution and contrast sensitivity no receptors provide color vision (currently believed there are 3 types of Axons o f a ll gangli lion ce lls cones in human eye, one attuned to red, one to green and pass through the blind spot one to blue) [Young-Helmholtz Theory] on the way to the brain provide visual acuity Visual Spectrum Color Perception We perceive electromagnetic There are three types of energy having wavelengths cones, referred to as S, M, in the range 400 nm ~ 700 and L.
    [Show full text]
  • Scaling of Rendered Stereoscopic Scenes Master Thesis Report Ricardo José Teixeira Dos Santos
    University of West Bohemia in Pilsen Department of Computer Science and Engineering Univerzitni 8 30614 Pilsen Czech Republic Scaling of Rendered Stereoscopic Scenes Master Thesis Report Ricardo José Teixeira dos Santos Technical Report No. DCSE/TR-2005-09 June, 2005 Distribution: public Technical Report No. DCSE/TR-2005-09 June 2005 Scaling of Rendered Stereoscopic Scenes Ricardo José Teixeira dos Santos Abstract: Rendered stereoscopic scenes suffer from a scaling problem, which causes major restrictions on their portability to other stereoscopic display mediums. A main solution for this problem is presented, as well as other complementary solutions. Also, the basics of depth perception are presented, and some insight on the current three-dimensional displays used. This work was supported by identification of grant or project. Copies of this report are available on http://www.kiv.zcu.cz/publications/ or by surface mail on request sent to the following address: University of West Bohemia in Pilsen Department of Computer Science and Engineering Univerzitni 8 30614 Pilsen Czech Republic Copyright © 2005 University of West Bohemia in Pilsen, Czech Republic Index Abstract..................................................................................................................................................................2 1. Introduction........................................................................................................................................................3 2. Perception of depth..............................................................................................................................................4
    [Show full text]
  • Peter Fongel Iceland Friendly VR Bending Colon , Final Selections in "Close-Up" Assignment
    - - - THE MAGAZINE OF STEREO IMAGING, PAST & PRESENT March/April1993 Volume 20, Number 1 A PuMkatbn d the NATIONAL mREOSCOPlC 3 ASSOCIATION I I Peter Fongel Iceland Friendly VR Bending Colon , Final Selections in "Close-Up" Assignment e two views shown here are the final selections from the ?"Mclose-upn entries that arrived shortly ahead of the deadline. Many readers have probably seen some of Susan Pinsky's by now famous Realist Macro cat stereos in addition to the one featured in The Sodety column and on the back cover of Vo1.19 No.1. For most sub- jects and most stereographers, the subject would be presumed "cov- ered" by now. But Susan has con- tinued to come up with a delight- ful series of new and imaginative "in your face" cat stereos that even those with only an academic inter- est in feline anatomy find fascinat- "Cat Cot Your Tongue" by Susan Pinsky of Culver City, CA reveals exactly why a cat3 tongue ing. Cat fanciers, of course, can feels the way it does. Custom 120 stereo macro camem, flash. never see enough of them. We found this particular action with a custom made 120 rollfilm place, so I got to run some test film close-up simply too good not to camera made by David Burder, through it first. Since cats are my share, and Susan's notes explain its England, for the Stanford School of passion I started with my cats significance to her series of cat Anatomy in Palo Alto, California. drinking water from the kitchen stereos: "Cat Got Your 'Ibngue.
    [Show full text]