Mathematica 9 is now available

Documentation / DynamicVisualizer / Creating Objects /

3.2 Introducing Objects

You can create a simple surface to view in Dynamic Visualizer.

In[1]:=

In[2]:=

After creating the graphic, you can use Visualize to display it in Dynamic Visualizer.

In[3]:=

Out[3]=

Visualize performs a similar action to the Mathematica command Show. However, unlike Show, Visualize returns an Object3D symbolic form instead of the original graphics.

The graphics displayed in Dynamic Visualizer.

A graphic is displayed as a set of connected polygons. All objects are named. If you do not specify a name, an object is assigned a name of the form "Object nnnn". Unless an object's display properties are set explicitly within Mathematica, the object is displayed using the default preferences set by Dynamic Visualizer. This includes such properties as default line thickness, point size, and render mode (point cloud, wireframe, or solid).

The name of the last object or model created in Dynamic Visualizer is stored in the symbol $LastVisualizerObject.

Finding the name of the last object created.

In[4]:=

Out[4]=

Read this as, "Here is an object called Object 1 that exists inside a model called Default, which exists inside the Visualizer Universe".

Having a reference to your surface allows you to manipulate it. As a short example, we illustrate how you might change the color of an object and then delete the object.

In[5]:=

Out[5]=

The graphics recolored.

In[6]:=

The object is now deleted from the Visualizer Universe.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.