Overview | All Modules | Tutorial | User's Guide | Programming Guide

COVISE Online Documentation


Module category: Tools



Sphere

Sphere builds spheres (made up of triangle-strips) out of points (e. g. retrieved using a particle tracer) or sends data for rendering sphere impostors to OpenCOVER.

Sphere.png

Sphere is available for COVISE version 4.5 on all supported platforms.

Parameters

Name Type Description
radius Scalar Radius of each sphere
scale Scalar Scale factor for the spheres deformation (see data input-port description)
render_method Choice Generate triangle strips (Polygons), texture mapped impostors (CPU Billboards), or pixel shaded impostors (Cg Shader)

Note:

Input Ports

Name Type Description
requiredpoints Points
UnstructuredGrid
StructuredGrid
Points to be used. Grid points are used if grids are assigned to this port.
optionaldata Float
Vec3
The optional data on this port is used to deform the spheres:
  • scalar: the radius of each sphere will be scale*(data value)
  • vector: the radius will be stretched in the vectors direction according to scale*(length of vector)
optionalcolors_in Float
Vec3
RGBA
Scalar data to be mapped on the spheres.

Output Ports

Name Type Description
outputspheres TriangleStrips
Polygons
Spheres
The spheres themselves
outputnormals Vec3 Normals for the spheres for better visual quality (for max. performance the spheres are made up of only very few triangles and so you should use the normals in order to make them look like spheres instead of some sort of n-hedron)
outputdataOut Float
Vec3
RGBA
The colors_in recomputed to match the spheres; this can e.g. be used as an input for the Colors module.

Examples

Figure: covise/net/examples/Sphere.net
sphere_net.png

The map covise/net/examples/Sphere.net displays a few spheres arranged in a circle.

The Renderer snapshots show the following cases:

Figure: result without any data applied on the spheres
sphere_usual.png

Figure: scalar data
sphere_radius.png

Figure: vector data
sphere_stretch.png


Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner
Copyright © 1993-2016 HLRS, 2004-2014 RRZK, 2005-2014 Visenso
COVISE Version 2016.3