top of page

Search

53 items found for ""

  • Data Preparation | website

    Data Preparation Before we start getting into the preparation of data, let´s first get out of the way a common misunderstanding : Shape is not a software that processes observational data and as a result delivers a 3-D model. ​ What Shape does is to provide you with a set of tools that allow you to apply your scientific insight and creativity to generate a 3-D model that reproduces your data as closely as possible. During this process you might improve your understanding of the object of your research and with the final model you have a tool to help your peers to better understand your conclusions. ​ Selected Window: Data as a reference in the Render Module are included per Window , which may be an Image or a Position-Velocity (P-V) window. Clicking on a Window selects that window , which is indicated by a thicker white border of the window. ​ Once a window has been selected, the drop-down list at the top of the Properties tab gives access to the selected window by chosing Selected Window . ​ Two important choices to be made at the top are the flags Render and Master . By default all windows get rendered, but sometimes it may be prefereable to not render some windows. ​ Only one of the windows can have the Master switch on . Once you select Master for a window, the corresponding switch in the previous Master window is switched off. ​ The Master switch determines which rendered or reference image can be shown in the Render View of the 3-D Module as a reference background during the modelling process. ​ The potential of cross-checks between data and models : It has happened in several occasions that the model result hinted at problems with the data processing and resulted in the correction of mistakes. Hence, frequent critical cross-check between data and model can be beneficial in both directions. Usually the data inform the modeling process. Occasionally it also happen that the modelling leads to corrections , new processing or interpretations of the data . ​ ​ ​ ​ Data Preparation: Data for Shape basically consist of some form of image that is placed as a reference in the background of the rendered images, spectral images or the 3-D views in the 3-D Module. Shape provides tools to correctly place the images in their corresponding context. ​ ​ The key information that is needed to prepare these images are their scaling and corner positions in the chosen coordinates. ​ ​ So, for instance, if you wish to work on arcsecond scales and your side to side field of view is 10 arcsec, then you have two options . First, you crop your image to the same field of view. Then, after loading it into Shape, it fits automatically to the 10x10 arcsec field that you have set up. This is the recommendable option . The second , more complex, but often necessary option is to use a certain image as it is. Then the position, rotation and size are adjusted in Shape such that it is correctly placed in the field of view. ​ ​ These options are applicable for images, P-V diagramas, channel maps and graphs. ​ ​ If your images have scales with tick-marks , you can adjust the placement such that they coincide with the corresponding tick marks in the Shape image coordinate system. This can be done in position and velocity. ​ In the first example on the right (click on the image to see a larger version ) the observed image was first cropped to a square format that corresponded precisely to the original size of the default window size or range values. ​ As long as no rendering was done, the background image remains visible. The visibility of the background image is indicated by the red square in the top-left corner . Once your models become very realistic you may not immediately notice whether you are looking at the observed or rendered image. Then it may happen that you are wondering why your rendering hasn´t changed after your changes in the 3-D model settings... until you notice that there is a little red square that tells you that you have been staring at the observed image all the time. ​ To gradually switch between reference and rendered image use the Transparency slider . ​ In the second example on the right, a new P-V Window was added. A single position velocity diagram as shown further up was added as a background. The x0, y0, x1, y1 values were adjusted such that the image fits precisely in such a way that the tick marks in the observed image and render window overlay correctly. A small additional correction was applied by adding a Translation Modifier to the observed image with an adjustment in the x-direction. Other modifiers can be added to correct scaling and rotation of the reference image . Note that the order of the modifiers in the stack may be important, especially when there are rotation and translations combined. ​ Rendered images as references for changes: Often one needs to compare a previous rendering with the one that includes new changes to the model. Rendered images can be saved as reference images after you open the background Image drop-down list and select None . Then click on Save image. A new item in the image stack appears labeled with the time the image was saved. A whole sequence of rendered reference images can be build by repeating this process. To delete an image from the stack, select the image and press Remove image . ​

  • Modifier Module | website

    Modifier Module Overview When a project becomes complex and there are many similar modifiers the Modifier Module helps to manage modifiers with bulk operations that change parameters for more than one of them simultaneously . On the right, the Modifier Module ​contains a list of all modifiers that have been set up in the project. The list has four columns that classify the modifiers and help identify and select them. Clicking on the head of a column groups the list according to that property in alphabetical order. This allows to easily work with a certain type of modifier. Different background colors for the fields further helps with the the classification and reduces mistakes in the selection of modifiers. ​ The first column contains the Type, which can be Density, Taper, Point, Bump, Squeeze, etc. ​ The second column indicates the Group the modifier belongs to, such as Particle, Transform or Geometry. ​ The third column contains the name that the user gave to the modifiers. If no name was given, then this field is empty. ​ The fourth column contains the name of the object the modifier is applied to. Select a modifier by clicking anywhere on its row in the list. Selected modifiers are highlighted in blue. On the right side, the parameters of a selected modifier are shown. The parameters can be changed there. ​ To select multiple modifiers keep the Ctrl key pressed while you click on the modifiers to be included in the selection. To select all modifier within a certain range in the list, select the first one and the use Shift-click to select the last one. All modifiers in between will then be included in the selection. The parameters shown on the right will be those of the first modifier selected in the set. ​ When you change parameters with more than one modifier selected, all selected modifiers will now have this parameter value. Filter: Use the filter function to display only a subset of modifiers. To achieve that start typing a word in the Filter text field. For instance, if you would like to see only the Texture Displacement modifiers, then type "Texture Displacement". You can use any word that may appear in the four columns to filter them.

  • Render Mod Selected Window | website

    Render Module Properties Panel: Selected Window Properties Panel: Selected Window ​ The Render Module can have several render windows, which can be of type Image or P-V (Position-Velocity). Each of them may have different parameters, which are listed and managed in the "Selected Window" panel. The selection is done by right-clicking on a window . The selected window is then highlighted by a white boarder that is thicker than that of the others. The parameter panel changes automatically when you change the selected window. ​ While there are some parameters that they have in common, the Image and the P-V windows have different sets of parameters . First we will discuss those of the Image window . Then we describe the additional parameters that correspond to the P-V window. The common parameters will not be repeated here . ​ 2D Image Render : This flag determines whether this window is to be update after the next rendering process (on) or shall keep the previously rendered image (off). By default this flag is set to on. If you have several image windows, it may be desirable to keep the previous result to compare with another window that is updated. Master: If you use the data of an image in an other module , this can be done only for one of the image windows. The one that is used is the one with the Master flag on . When you change the flag of one window from off to on, then the window that previously had the Master flag on is automatically switched off. Window Parameters: Under the Master flag there is a group of four icons that invoke utility commands . The first one copies the window parameters into a buffer . If you have additional windows of the same type and want them to have the same initial parameters, then you use the second button to paste the buffered window parameters to another window (after selecting it by clicking on the window). The third button saves the image of a window to file. Note that you need to provide the filename with the appropriate extension, e.g. .png. Shape selects the format of the image file according to the file extension that you provide. The fourth icon lets you print the image of the window to a printer or save it as a file in PDF format . It basically embeds the image in a PDF-file. Note that the image annotations, such as coordinates are not saved in a separate scalable font, but are incorporated in the pixelized image. Seeing: The combination of image degradation from atmospheric seeing and instrument resolution is simulated by a convolution of the image with a Gaussian kernel with a full-width half-maximum (FWHM ) of this value. It uses the same units as those chosen in the Units Panel of the Render Module. Slits: The slits drop-down list contains the slits that correspond to the P-V windows. In this list they can be switched off from this image window by unchecking them. If the "Move Slit " button above the image window is on, you can click on a slit and move it by pressing the left-mouse button and dragging it horizontally. After clicking on a slit and then moving the mouse-wheel, the slit-width can be changed interactively. ​ The color of a slit helps to identify the P-V window to which it corresponds. The P-V window has a thick vertical line of the same color. Background Image: This section of the Selected Image Window Panel controls the file, positioning and appearance of the reference image that is loaded into the background layer of the image display. ​ Image: From this drop-down list the current background image is selected. By default it is the "Observed" image, which can be loaded from file. Initially there is one other option called "None", which displays no image. However, when the None option is selected, the currently rendered image can be added to the list as a reference to be compared to later renders. It is often useful to compare renders from changed parameters with the previous version to see the effect of the parameter change. When selected, a button appears that allows one to delete such an image from the list when no longer needed. Transparency: In order to interactively compare the rendered image with the background image, the transparency of the rendered image is changed using the slider. If the slider is moved to the right, the transparency increases and the background image gradually appears. To help identifying whether the rendered or the background image is visible, the background image is marked with a red square in the top-left corner. Filename: The file path and name of the Observed background image. Click on the icon on the right of the filename field to select a file from disk. x0, x1, y0, y1: The coordinates of the bottom-left (x0,y0) and top-right (x1,y1) corners of the observed image. If all values are left at 0 (default), then the image fill the current image range. Setting custom values allows a precise placement of the image. Modifiers: The appearance and positioning of the Observed image can be adjusted using various operators, called modifiers. They can be selected from the "Available Modifiers" drop-down list. It is then added to the Modifier list that is applied to the image. Each of them has it´s own set of parameters, which in most cases are self-explanatory. PV Window The first few parameters of a P-V Window are the same as those of an Image Window. Please refer to that section above for an explanation. Slit color: In many projects data for several slit positions are available. To more easily relate them with the slit marking in the image window and the parameter panel, you can set individual slit colors. Default colors are assigned randomly. Slit X, Slit Y : The horizontal and vertical position of the slit, respectively. It can be set numerically in this field or interactively with the mouse cursor by dragging the slit on the Image Window. Make sure to activate the "Move Slit " icon above the Image Window first to enable the interactive functionality. By default the slit can only be moved horizontally. To interactively move it vertically press "y" at the same time as you drag it up or down. Slit width, Slit height : The slit width can be changed interactively after activating the "Move slit" button above the Image Window using the mouse wheel. By default the width is changed. If at the same time you press the "y" key , the height of the slit is changed interactively. Naturally, you can also change the values manually in the number fields. Velocity : The reference velocity for the spectroscopy is set in the "Spectrum " section of the Render Module. In the scale of the P-V window the zero-velocity for the graph can, however, be shifted by the value of this parameter. I maintains the same total range as before . Range : The total width of the P-V Window in units of velocity. Resolution : The P-V image is convolved with a Gaussian kernel of this full-width half-maximum (FWHM ) in horizontal direction in units of velocity. Background Image : This section is similar to that for the Image Window as described above. Please refer to that section.

  • KSS: Modifier Stack | website

    Key Sub-S ystem: The Modifier Stack A model in Shape is build starting from a few basic mesh objects such as spheres, cylinders, tori or imported ones. ​ Very few objects have such regular structure, however, and the fundamental purpose of Shape is to enable the user to reproduce any structure the universe comes up with at us as closely as possible. There these "primitives" have to be "modified". That is why the operators in Shape are called modifiers . Since there is a large variety of modifiers, the are assembled in a modifier stack (see the image on the right). This list of modifiers operates on the primitive mesh in sequence from the top to bottom. ​ It is very important to note that for some operator combinations, such as rotations, the order in which they are applied makes a difference. ​ When a new modifier is added from the drop-down list that opens by clicking on the plus (+) sign below the stack, it is added to the bottom of the list. They can be reordered by dragging and dropping them into the desired position. To delete one or more modifiers select them in the stack and then click on the "x" at the bottom of the stack. ​ For good practice we recommend to order the modifiers by type as long as the order can be chosen without affecting the result. Modifier that apply to physical quantities such as density and temperature should go at the top, as shown in the example. Copy-Paste modifiers: ​ ​ ​ Modifiers can be copied within the same stack or to the stack of a different object. To copy the modifier to the buffer click on the Copy icon at the bottom of the stack. Then click on the paste button right beside to paste it to the same object. ​ To paste the modifier to a different object, select the target object and click on the paste button. When you do that, a small pop-up window opens with two option to select from. You can paste the modifier as a "new copy " or as an "instance ". The new copy of the modifier will act independently of the original. The instance of the original will work in unison with the original. This means that changes in the parameters of one instance will be automatically transferred to the other. You can have several instanced copies of the same modifier, thereby saving time by changing only one of them to affect all the others in the same way. This is an easy way to maintain the same structure for several meshes or other features of an object. ​ Modifiers: ​ There are basically three categories of modifiers: physical, geometry and transform . In the modifier stack these are identified by having a green, orange and white background respectively. The physical modifiers act on the local physical properties that determined the interaction of the gas with the radiation. Examples are the density, temperature, velocity or boost and points . The geometry modifiers move the vertices of the mesh to turn the primitive starter shapes into more complex structures. Examples for these are the bump, squeeze, twist and size modifiers. These modifiers do not move the origin of the local coordinate system. ​ Contrary to the geometry modifiers, the transform modifiers precisely do move the local coordinate center . The physical and geometry modifiers then take the new local coordinate center as a reference. ​ Links to descriptions of each modifier can be found in the Index . ​ ​ ​ ​ ​ ​

  • Modifiers: Image Displacement | website

    Modifiers The Image Displacement Modifier ​uses an grey-scale image to move vertices as a function of the image pixel intensity. This allows one to use actual images to influence the model structure. As shown in the example mesh on the right, a potential application is in the modelling of spiral galaxies. An external drawing device can be used to design structures almost interactively with the automatic update functionality. ​ For this example the image of a spiral galaxy was smoothed and a flipped copy of it generated. The flipped version is needed for the top-bottom symmetry of the galaxy structure. The image on the right is the rendered image. The Image Displacement Modifier (IDM) works in a similar way as the Bump Modifier with the basic difference of using an image as data source instead of a simple function. The handling of the Gizmo for placement is similar. One difference is that the Gizmo of the IDM include a preview of the image to help with the precise placement and scaling. ​ In this example of a spiral galaxy two IDM are required, one for each side, as shown in the example modifier stack on the right. Parameters: ​ Name: If multiple Modifiers are used, make sure to name them adequately for ease of identification. ​ Enabled: When deselected, the modifier will not be applied. ​ Filename: Click on the button on the right to open the file selection dialog to open the image file to be used to the IDM. The filename will be displayed in the text field. ​ Width & Height: The full size of the image in the 3-D Module in local x & y directions. ​ Radial: Select this option if you wish the displacement to be radial from the origin of the Local Coordinate System of the mesh. ​ Auto Update: If you change the image texture using an external software such as Gimp or Photoshop, then you can enable the automatic loading of the image by clicking on Start. Make sure to Stop it again after you finish. Since the image is read from disk, you need to save it after every change you want to be updated in Shape. ​ Interval (ms): The the interval between Updates of the image from disk. Magnitude: Set up the how the mesh displacement shall be as a function of the pixel brightness of the image assuming that it has an interval from x=(0-1) for greyscale values of (0-255). You can use an analytic function of x (the pixel value between 0 and 1) or a corresponding point function. Widget: Opens the Widget panel shown on the right and enables the preview of the displacement image that helps to place it correctly. To see the preview image, the Display has to be enabled and the object needs to be selected in the object tree. The not only the Widget arrows are show, but also the preview image as shown below the Widget panel on the right. ​ Note on Rendering IDM objects: Below are a few renderings of the example galaxy object. The first one shows the rendering at an intermediate viewing of the disk. At the center the bulge is seen as a vertical uniformly lit structure. This is typical for the applications of the IDM, especially with small-scale features. These turn out to look like little vertical "sticks". ​ There are a number of measures that one can take to remedy that depending on the feature and the application of the IDM. For the smooth structure of the galaxy, for instance, one can use the Taper Modifier to taper off the emission towards the surface of the mesh. This is shown below where the galaxy has been rendered edge-on. The upper image is without and the lower one has a Taper Modifier applied. ​ In addition to the IDM to strengthen the spiral features in the galaxy an Image Texture Modifier was applied with the same image. Modifiers: Image Displacement

  • Downloads | website

    Downloads The most up-to-date installers for Window, Mac OSX and Linux can be found found at: Installers Updates ​ Occasionally, updates will be issues without supplying new installers. This greatly reduces the size of the downloaded needed. The update packages will contain library files that simply need to be copied over the files that already exist on your system (whever you have installed ShapeX). Notes: ​ Since the last release, Shape has been revamped almost completely. In particular, the user interface (UI) and the rendering algorithms have seen profound changes. New modules and modifiers help with the workflow New manual & website help the user to get started User forum - ask questions, share tips & tricks, propose features Installers for Windows, MacOSX, Linux RPM & Debian ​ IMPORTANT NOTE: Remember that to take full advantage of your computers RAM, you need to manually set it in the ShapeX.cfg file. Search for this file within the installation directory. Open it with Administrator privileges and add the minimum and maximum RAM that you will allow Shape to use, say e.g. 14 GB of your actual RAM of 16 GB. Edit the .cfg file in a text editor with the following lines: [JVMOptions] -Xms1000m -Xmx14000m ​ Make sure that there are no spaces before or behind the lines with the numbers. Save the file and run Shape. At the bottom of the UI the "Total (Mb): " should now indicate approximately 1.4E4 .

  • Modifiers: Texture Displacement | website

    The Texture Displacement Modifier uses a procedural texture to deform a mesh. The value of the 3-D texture at position of a mesh vertex in space determines how far the vertex is pushed away from its original position. The magnitude of the position change of the vertex as a function of the grey value of the texture. The direction can be chosen to be radial (set the radial flag) from the local coordinate system or you can use the widget to set the direction. The Magnitude dialog: In the Magnitude dialog you set the function that determines the distance a vertex is pushed based on the grey-scale value of the texture at its original position in space. The values of the texture is in the range [0,1]. The variable that carries these values is "x". So, if you use the default "x" as a function, the vertices will move between 0 and 1 units. The example mesh show in the figure below uses a "clumpy" texture with a few hundred clumps distributed in the spatial domain. The function that is used as magnitude of the displacement is 15*(x-0.5). The reason we subtract 0.5 from x is to allow the texture to not only push outwards making the shell necessarily larger, but also inwards, such that the average radius stays approximately the same. The factor 15 then extents the maximum range for the displacement to that value. Texture : Use the Texture dialog to choose and customize the texture that controls the Texture Displacement modifier. See the page on the Texture key subsystem for information on how to setup a texture. Modifiers: Texture Displacement

  • Module: Desktop | website

    Desktop Module Video Tutorial The Desktop Module is your control and navigation center. It allows to open modules and customize the quick navigation bar at the top, open recent projects with a single click, customize general parameters and open utilities. Module area: You can left-click on the icons for the different modules to switch to them. Right-click opens a little button that allows you to pin the icon to the main Menu Bar at the top of the user interface. Alternatively, you left-click and drag the icon onto the Menu Bar. Menu Bar: The Menu Bar is the quick navigation tool and stays there on all Modules. Drag-and-drop icons from the Desktop here and arrange them according to the needs for the most efficient workflow on your project. Right-click on an icon to unpin it from the Menu Bar. Files: In this section of the Desktop you have access to project files. You can save the current project with its current name and location (Save) or save it with a new name or location in the file system (Save As). Furthermore, you can open an exiten project (Open) or clear the current project and start a new one (New). Recent Files: In this section of the Desktop you have access to project files that you have been working on recently using a quick access button. Just click on the button of the project that you would like to open. If the displayed file name is not enough to identify the correct project, just hover over the button to display the full file path as a tool tip. Information tools: There are a few tools that will display useful information or where you can configure a few general parameters that you might need to change from their defaults in order to optimize the performance of ShapeX on a particular system. The Memory tool will show the memory usage as a function of running time. The Progress tool shows how the difference forground and background processes are progressing. The Help tool opens this website. The Config uration tool allows you to set multi-threading and autosave parameters (how often the current project file is backed up automatically), as well as a project directory, where ShapeX will start to look whenever you open a file dialog. System information about the interactive Java3D libraries and other Java system data can be found in the J3D and System information tools. Commands: There a few additional tools that are either just commands to be executed or open a tool that did not fit into the other categories. The Shape It! button simply executes a rendering and is equivalent to the Render button located at the left end of the Menu Bar. The Reset button resets the Menu Bar to its default configuration with the minimum necessary modules. Finally, the Units tool open a utility that allows to convert between different units, such as cgs to SI, which come in handy since many astrophysics books use cgs units, while ShapeX works with SI units.

  • Modifiers: Warp | website

    The Warp Modifier rotates the mesh vertices as a function of distance around an axis. ​ To actually be a warped surface, the axis of the Widget for the Warp Modifier needs to be at an angle to a reference plane such as a flat disk. ​ Name: Set a name that allows you to identify this modifier easily. ​ Enabled: When this flag is turned off, the Warp Modifier is switched off. ​ Deg: If set, the the rotation as a function of distance in the Magnitude Graph is given in degrees per unit distance. When switched off, then it will be radians per unit distance. ​ Magnitude: Opens the function graph to set how the rotation angle is as a function of distance from the local coordinate system set by the Widget. ​ Widget: The Widget opens the Widget Dialog. It allows you to change the direction of the Warp Modifier. The turquoise arrow indicates the direction around which the rotation will be performed. In the example it was rotated around the original x-axis by 30 degrees. Modifiers: Warp

  • Module: Filter | website

    Filter Module Overview A variety of box filters can be defined in this module and applied to objects in the 3-D Module. To apply the filter look for the Filters drop-down list in the General Parameters tab for mesh objects. All filters defined in the Filters Module appear in this drop-down list. Select the filters to be applied. The Filter Module has three main areas, the Tool Bar at the top, the Filter List on the left and on the right the Options for the selected filter. ​ Menu Bar: Add: Use the Add button to add a new filter to the Filters list. When you click on this button a pop-up opens with a list of Filter Types from which to choose one. In the Options Panel change the Name to something recognizable, e.g. the name of the object to which it will be assigned or something that describes the function it is meant to do. Remove: Remove the selected filter from the Filters list. Make sure you have selected the the filter that you really mean to delete. ​ Copy: Copy the selected filter within the Filters list. Best to rename the filter to make it uniquely recognizable. Change the parameters in the Options Panel. ​ Sort: Sort the filters alphabetically in the Filters list. ​ Open: Load a previously saved filter from disk. A file opening dialog will open for you to select a file. ​ Save: The selected filter will be saved to disk. A file saving dialog opens. Select the directory and filter name to be saved. Add an extension that helps you to recognize the file as a Shape-Filter. While you can choose any extension, we recommend to use .shf. ​ ​ Options: ​ Name: Set a descriptive name for the filter. This name appears in the Filter selection drop-down list in objects in the 3-D Module. ​ Enable: The check box activates or disactivates this filter for all objects that use it. ​ Mode: Here to can chose the Mode of the filter, which refers to whether the range between the Min and Max values is to be included or excluded. ​ Clamp: If checked then all values above the Max values are set to the Max values. If unchecked, then the value is set to zero. ​ Min & Max: The minimum and maximum of the filter range.

  • KSS: Graphs | website

    Key Sub-S ystem: Graphs In Shape graphs are used to display functions. The functions are either analytical or set interactively by adding control points to a curve. The control points of an interactive curve can also be loaded from an external ascii file. ​ In modifiers the graphs are usually applied to set and display spatial variation of a quantity that is passed on to some quantity as a multiplier. In the modifiers the graphs may be single coordinate functions or they may depend on all three space coordinates in different types of coordinate systems (spherical by default, Cartesian or cylindrical). Generally the result is a single number, but in the case of the velocity field, for instance, the output can be a vector. ​ In the Physics Module graphs commonly are a function of wavelength. ​ The functionality and appearance of the graphs varies slightly depending on the particular context. ​ The image of the graph on the right is taken from the Squeeze Modifier, which controls the shape of a cylindrically symmetric mesh. The function display at the top shows a line of how the function f(x) changes with the independent variable (always x). In this modifier it is the position along the axis of the object. ​ At the bottom is a list of tabs to set a variety of f unction properties . ​ ​ Workflow: ​ Analytic: By default the function is set to Point , but can be changed to Analytic with the Function drop-down list. ​ In the analytic mode, the graph is controlled by a mathematical expression, that by default is the constant function f(x) = 1. ​ Templates: From the Templates drop-down list a few commonly used functions can be selected that are the inserted as mathematical expressions in the editor line for the function. These templates can then be edited as needed. In our example we have typed the function manually. In additional to several standard mathematical operators such as "exp" and "abs", it includes the variables "a" and "b". Variables can have alphanumerical names. Reserved variables include "n", "t" and "Pi", referring to density, temperature and the number p. ​ Variables: The numerical value of the variables is displayed in the Variables tab . Here the value can either be written manually or be assigned from the Math Module. If the variable was defined in the Math Module, then the flag labeled "Use global variables" needs to be set. If the flag is not set, the local manually set value is used (Local variable ). Global variables are then marked by a grey background. Global variables are accessible from any function throughout Shape. ​ Constraints: Frequently used functions such as the Gaussian vary over an infinite range. In many practical situations the function is required to smoothly reach zero or some other fixed value within a finite range. This can be achieved by setting constraints in the Constraints tab. Here the function can be made to smoothly Fade in and Fade out within the ranges set there. The value form and to which the function converges is the "Default" which can be changed by the user. In the graph the region that is covert by the Fade in is shaded in blue and the Fade out in red. ​ ​ Point Graph: ​ A point graph is set up using manually placed points. These point may also be loaded from a file (Load Ascii button). To obtain a continuous function the values between the points are interpolated. ​ There are two modes for interpolation . By default the interpolation is linear between the points. The second is a spline interpolation that is controlled manually with separate handle on each side of the points. ​ ​ ​ ​ ​ ​ The spline interpolation is activated by clicking on the following icon: A green color in these icons at the top of the graph indicates that they are activated. To move the points in the graph use the left-click and drag mouse functionality. To move the spline handles , use Crtl- left-click and drag . ​ Additional interactive functions to manipulate the points individually or collectively are available by activating some of the icons on the toolbar above the graph. ​ If you hover over a button or icon, a tool tip shows a short description of the functionality, which are very self-explanatory in this case. The hand tool is active by default and allows one to move points by left-clicking on and dragging them. The magnifying glass: zoom in and out in the graph The next icon allows you to pan left-right and up-down in the graph. The box with a pencil is for selecting multiple points by dragging a rectangle around them, while the cursor symbols with the arrows activates moving the selected points together. ​ Selected point are deleted by clicking on the cross icon . Note that unselected individual points can be added and removed from the right-click menu (see below). ​ The range of the graph is adjust ed to the points in them by clicking on the icon with the two curvy arrows . As mentioned above the next icon activates the spline interpolation with two handles on each point. The wrench icon opens a pop-up windows that gives access to detailed options for the appearance of the graph . These should be largely self-explanatory. Right-click menu: The right-click menu give quick access to additional functionality for graphs. In particular there are four functions for point graphs at the top of the list. ​ Add Point add a point to the curve where the curser is currently located. Remove Point removes a point over which the cursor is hovering. Set Point opens a small pop-up window where the exact x and y values of a point can be set. Mirror Point is a very useful function when a perfectly symmetric setting is required. When clicked while you hover over a point with coordinates (x,y) a copy of the point is added to the graph at (-x,y). ​ The second set of functions toggle on and off various functions, which are self-explanatory. ​ The Save Ascii function will open a dialog that allows you to save the point values of the graph in a file in ascii format. The Save Image function saves an image of the graph. In the file dialog that opens, the filename has to be give a suitable file extension for the image to be correctly saved. The extension can be one of typical file formats, such as .png or .jpg, etc. ​ Finally, the Properties functions opens a dialog where the graph´s appearance may be customized in more detail by changing colors, tick-mark spacing, coordinate grids, etc. ​ ​ Special variants of graphs: ​ Some contexts in Shape have specific features in addition to the basic functionality described above. These are explained in their specific contexts, such as the graph for the velocity modifier, which has a number of special functions. ​ There is one common feature of the extended graphs that depend on more than one variable, which we describe here. Most function graphs have as output a single number that controls a modifier or displays some property. An exception is the velocity modifier, which has a vector as output. ​ The basic graph that has been described above depends on a single variable. Many modifiers do, however, depend on more than one spatial dimension. Those have a separate graph that describes the spatial dependence of the output on each spatial coordinate. They are accessible through tabs at the top of the graph. The active coordinate is marked in grey. ​ Using the default Custom Mode one can select from three different types of coordinate system in the Coordinates drop-down list: Spherical (default), Cartesian and Cylindrical. The labels of the access tabs for the graphs change their labels accordingly. ​ Note that for the spherical coordinates the label convention is that of the North America, with q being longitude and f the latitude. ​ SEPARABILITY: an important property of the default behavior of these graph is that the resulting function F(u,v,w) is separable in their component functions: F(u,v,w) = f0 * f(u) * f(v) * f(w) ​ where f0 is a constant parameter set by the user under the Coordinates drop-down list. ​ Non-separable functions: a non-separable analytic function can be set up when enabling the Analytic mode from the the Mode drop-down list. This feature requires an analytic description of the function and a point-graph can not be used. ​ As before, one chooses the type of coordinate system from the Coordinates drop-down list. Then in the function editor a formula is types as a function of the general coordinates (u,v,w) as shown in the example on the right. The coordinates have to be in terms of the letters u,v and w, no matter which type of coordinates is chosen. Their meaning changes automatically to (x,y,z), (r, q,f) or (r, q, z ) for Cartesian, spherical or cylindrical coordinates, respectively. The image on the right shows a rendering of the density that was described by the analytic function above it. It illustrates the how the wavelength of the sinusoidal pattern can be continuously changed by mixing the coordinates appropriately. ​ ​ ​

  • Modifiers: Image Texture | website

    Modifiers The Image Texture Modifier ​uses an grey-scale image to control density or other physical properties as a function of the image pixel intensity. It is similar to the Image Displacement Modifier (IDM) . Refer to the page of the IDM for details. Here we will describe only the differences to the IDM. This allows one to use actual images to influence them model density distribution. As shown in the example on the right, a potential application is in the modelling of spiral galaxies, where we also made use of the IDM with the same base image. The Image Texture Modifier (ITM) was used to better define the density and brightness structure in addition to the overall shape produced by the IDM. The ITM "projects" the density distribution given by the image along the direction of and starting at the position of the Gizmo through the mesh. If not modulated by other modifiers, the ITM produces a constant density along the direction of projection. For a more realistic distribution it should be further processed in that direction using, e.g. the Taper Modifier. Parameters: ​ Name: If multiple Modifiers are used, make sure to name them adequately for ease of identification. ​ Enabled: When deselected, the modifier will not be applied. ​ Variable: Select the physical variable on which the ITM shall operate. ​ Operation: Select the operation the ITM shall perform on the physical variable. ​ Radial: Select this option if you wish the displacement to be radial from the origin of the Local Coordinate System of the mesh. ​ Filename: Click on the button on the right to open the file selection dialog to open the image file to be used to the ITM. The filename will be displayed in the text field. ​ Width & Height: The full size of the image in the 3-D Module in local x & y directions. Magnitude: Set up the how the mesh displacement shall be as a function of the pixel brightness of the image assuming that it has an interval from x=(0-1) for greyscale values of (0-255). You can use an analytic function of x (the pixel value between 0 and 1) or a corresponding point function. Widget: Opens the Widget panel shown on the right and enables the preview of the displacement image that helps to place it correctly. To see the preview image, the Display has to be enabled and the object needs to be selected in the object tree. The not only the Widget arrows are show, but also the preview image as shown below the Widget panel on the right. ​ Auto Update: If you change the image texture using an external software such as Gimp or Photoshop, then you can enable the automatic loading of the image by clicking on Start. Make sure to Stop it again after you finish. Since the image is read from disk, you need to save it after every change you want to be updated in Shape. ​ Interval (ms): The the interval between Updates of the image from disk. ​ Modifiers: Image Texture

  • Modifiers: Bump | website

    The Bump Modifier is designed to add individual bumpy extrusions to a mesh. Position, orientation and detailed shape of the bump can be controlled. ​ To add a Bump Modifier to the Modifier Stack, click on the Add Modifier button (the + sign under the Modifier Stack) and select Bump. ​ The modifier appears at the end of the stack. It is important to note that the detailed effect of the modifier may depend on the position within the stack. Therefore experiment how it interacts with other modifiers before or after in the list. ​ Different properties of the Bump Modifier is controlled in different places. ​ The Control Panel under the Modifier Stack has several check marks: ​ Enable: Enable or disable the Bump Modifier ​ Symmetric: By default the bump will be cylindrically symmetric around its direction axis that can be seen when the Widget is on. Then the check mark is on. When the Symmetric flag is off, then the bump will be infinite in one direction and controllable in the other. ​ Radial: When the Radial flag is checked, then the bump will be applied radially from the coordinate center of the Widget. Otherwise it is parallel to the directional axis (pink) of the the Widget starting in the plane that contains its coordinate center. Widget: Posititon & Orientation The position and orientation are controlled with the Widget. The numerical control panel for the Widget can be opened by clicking on the Widget button in the Control Panel. Alternatively, use the interactive Widget controls on the left side of the 3-D views. As usual, during interactive control use the x, y and z keys to restrict moving and rotating actions to a particular axis. Magnitude: Shape & Size The shape and size of the bump are controlled from the Magnitude Graph that is accessed in the Control Panel under the Modifier Stack. ​ The Magnitude Graph works the same way as other graphs in Shape. For details see the user manual entry for Graphs . ​ The shape of the bump is set using an Analytic function or a Point graph, where the "x" is the distance from the local coordinate system (widget axis) is cylindrical coordinates. For the "symmetric", i.e. cylindrically symmetric case, the values at negative x are ignored. ​ By default the shape of the bump is set to a Gaussian function. ​ The overall size of the bump can additionally be controlled using the f0 parameter in the top left corner. Magnitude: Change the bump structure The detailed shape of the bump can be arbitrarily complex. This can be achieved by changing the Analytic function as shown in the examples on the right. Alternatively, for even more arbitrary complexity use the Point function by clicking on the Function drop-down list. Edit the Point function following the instructions in on the Graphs page . ​ Mesh resolution: Note that the application of the Bump Modifier may lead to poor mesh resolution in the bump. Currently the mesh resolution can not be improved locally. Therefore, if necessary, the overall mesh resolution can be increased by increasing the number of Segments in the Primitive tab of the object. Modifiers: Bump

  • Overview | website

    Top of Page Overview General Considerations Computing Power Batch Processing Typical Modeling Applications Morpho-kinematic Modeling Photo-realistic Models 3-D Hydrodynamics Exoplanet transits Schematic illustrations Basic Workflow Need a new ShapeX feature? . Overview General Considerations Overview Your first question is likely to be: Is Shape suitable for my modeling problem? ​ Here is a short summary of the types of problems that have been worked on with Shape and others for which we know that the software can be used. We shall also discuss the limitations that might prevent your problem to be attacked with Shape. General considerations: ​ Polygon meshes: Polygon mesh objects are the most basic building blocks in Shape. The software generates them in a similar way as common 3-D animation programs such as the open-source Blender and many other commercial packages. However, these programs have been designed to model mostly opaque objects that surround us and hence compute their visual appearance according to the color assigned to their surface as a function of position and the lighting conditions. Only exceptionally volumetric effects are computed for clouds, fire or other phenomena that are not opaque. ​ In astronomy and astrophysics almost everything is about gas and dust clouds that are at least partially transparent. Real surfaces are very rare and can be found only on rocky planets and other solid bodies. Some stars can be considered to have "surfaces" since the transition from the optically thin to thick regimes is very small compared to their size. ​ The polygon meshes in Shape are therefore mainly used as containers of gaseous or dusty volumes, which are then assigned physical properties as a function of position within that volume rather than on the surface. Computing Power Batch Processing Computing Power: ​ An old saying claims: "There is no such thing as too much computing power." ​ This is also true for Shape applications that wish to push the limits of what is possible. But for many scientific applications today´s power of almost any laptop suffices. Since Shape is a highly interactive software, for your own comfort and an effective workflow make sure to use a mouse instead of just the mouse-pad. More sophisticated devices such as graphics tablets are of additional benefit for some applications. ​ Most processes in Shape make use of parallel computing on multi-core CPUs. Especially the rendering processes and hydrodynamic simulations benefit from many-core CPUs and multi-threading. ​ While the benefit of parallel computing mainly lies in reducing the time required for a computation, memory influences the spatial resolution that can be achieved in a rendering or hydrodynamic simulation. So, if you have ambitions to produce high resolution photo-realistic visualization and animations, then you might want to use a high-end workstation. Individual images can be rendered at high resolution with a special HD renderer that does not require a lot of memory. It does, however, have to do the full rendering process for each image. When you only need to change the camera view point for an animation or time series, other renderers only need to redo the last rendering step, because they keep the pre-processing information in memory, thereby speeding up the process. Batch processing can, at this time, not be done, e.g. as background processes on servers or supercomputers. This is a project for a future version. Typical modeling applications for astrophysics ​ Morpho-kinematic modeling The original design purpose of Shape was the modeling of the 3-D morphology of nebulae using as additional constraint the kinematics observed in spatially resolved high resolution spectroscopic data. As the structure becomes more and more complex, the traditional approach of direct coding of the volumetric density or emissivity as well as velocity distributions becomes impractical. Therefore the technology of interactive polygon mesh construction as volume containers was adapted to astrophysical needs from conventional 3-D modeling in Computer Graphics. ​ This type of modeling is still the flagship application of Shape. The user builds a 3-D volume distribution of density or emissivity, assigns a velocity field and then produces images, position-velocity diagrams and/or channel maps. ​ This is the main approach for modeling the structure and kinematics of circumstellar gas, be it expanding or rotating, such as in planetary nebulae, supernovae or proto-planetary disks. An extension of this methodology is the application of carbon-monoxide (CO) radiation transfer using the ShapeMol module. This is useful to model high-resolution observations with the ALMA or other radio interferometers. A large number of scientific papers contains models of this type and can be referred to as examples. See the list of publications with Shape and Shape models. Morpho-kinematic Modeling Typical Modeling Applications Photo-realistic Models Beyond scientific application ShapeX can be applied to produce photo-realistic visualizations of a variety of nebulas, stars, galaxies and other types of objects. This type of application often requires a mixture of various modeling techniques, using polygon meshes, particles and hydrodynamics. Since high spatial resolution and substantial model complexity is likely to be required for this type of application, substantially more computing power and processing time might be necessary compared to more basic applications. More detailed information and examples of photo-realistic models, in particular with mixed techniques that include polygon mesh and hydrodynamics can be found in Steffen & Koning (2017) . Photo-realistic Models 3-D Hydrodynamics 3-D hydrodynamics The Hydro Module in Shape allows the simulation of basic astrophysical hydrodynamic phenomena at moderate spatial resolution (depending on the computing power in terms of CPU cores and RAM) solving the basic hydrodynamics equations. A simple radiative cooling scheme is included designed for fast computation above 10000 Kelvin. The details of the numerical scheme have been described in Steffen et al. (2013) . The novel feature of the hydrodynamics in ShapeX is that the user does not require programming the initial conditions. For this task the interactive 3-D polygon modeling interface is applied. The full integration of the hydrodynamic module in ShapeX allows a highly flexible analysis of the simulations and mixture with other modeling techniques. This yields very realistic visualizations for scientific and outreach applications. ​ If you have been using a hydrodynamics code that is not part of Shape and find that your visualization and analysis software does not meet your needs consider Shape for it. You can import data from hydrodynamic simulations and use Shape to generate spectral kinematic output (P-V diagrams, channel maps) and images for any viewing angle. It is also possible complement your model with additional features constructed with Shape´s polygon mesh techniques for scientific modeling or illustration, and much more. Exoplanet transits Exoplanet transit lightcurves The lightcurves of exoplanets are a rich research field for which Shape is very well suited using its animation module for setting up the orbital motion, the rotation of the star with star spots and limb darkening or brightening. Shape can not reconstruct the systems parameters automatically from data, but the user can construct not only the time series of a single transit, but automatically vary a number of parameters and setups that allow the construction of a catalog of transit lightcurves and corresponding videos that shows the transit together with the lightcurve. In addition to the scientific value, the movies can be of use for outreach and press release illustrations. Schematic illustrations Schematic 3-D model illustrations ​ The 3-D polygon mesh models can be used for schematic illustrations of model ideas, even if you are not interested in a physical model. For papers and presentations such models can not only be static illustrations, but as interactive demonstrations or movies they can be powerful tools to convince an audience of one´s ideas. Need a new ShapeX feature? Basic workflow: Interactively add the geometric elements of your object in the form of primitive polygon meshes (Primitives) that you can access at the top menu bar of the 3-D Module. These meshes will serve to encase the volumes that will constitute the different parts of the model. Then you modify the simple structure of the Primitives using what we call Modifiers, which give the objects new geometric structure and physical properties as a function of position in space. Using the Physics Module, you then assign the material and radiation properties to the meshes. Finally, the model is rendered with the Render Module and some of the observational properties can be displayed with the (Channel) Maps and Graph Modules, where the observational data can be included and compared with the model results. If the results are not satisfactory, the model will be adjusted until a satisfactory match is found between observations and model. Need a new Shape feature? ​ Don´t hesitate to contact us , we might be able to help either by finding a solution with the current software or implement a new feature for you, thereby helping other potential users with similar applications. Basic Workflow

  • Modifiers: Shear | website

    The Shear Modifier changes the distance of the mesh vertices perpendicular to a chosen axis (default: local z-axis) along another axis. The orientation of the shear axis and direction of the shear can be changed by changing the values in the Axis boxes. Choose a value of 1.0 to select a particular axis (setting the others to 0.0). Intermediate value result in an intermediate axis. A better way to set the reference axis is using the Widget. The Magnitude dialog allows you to define the squeeze amount as an Analytic Function of position along the reference axis. You can also use a Point graph where you can generate an arbitrary function by manually placing points and setting the spline interpolation. To do this, select Point from the Function drop-down list under the graph. The example graph on the right shows the way it was done for the example mesh displayed below. Modifiers: Shear

bottom of page