MATLAB SIMULINK 3D ANIMATION - S Guia do Utilizador Página 153

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 490
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 152
Build and Connect a Virtual World
5-11
In the left pane, a VRML tree with only a ROOT node
In the right pane, an empty virtual world
In the bottom pane, an empty pane for editing objects
2
You can save the virtual world at any point. Save the virtual world as vrtut3.wrl
in the same working folder where your vrtut3 file resides. Do not close the 3D
World Editor.
Your next two tasks create a virtual world to use with the vrtut3 model:
“Add VRML Nodes” on page 5-11
“Build and Connect a Virtual World”
Add VRML Nodes
Create Boxes
Defining virtual world objects involves defining a hierarchy of nodes. This example
shows how to define Transform nodes under the ROOT node, with each Transform node
including a hierarchy of children, Shape, Appearance, Geometry, and specific shape
(in this case, a Box) nodes.
1
In the tree in the left pane, click ROOT (the topmost item).
2
Add a Transform node, using the following sequence of menu selections.
3
This Transform node is for the B1 box. To name the Transform node:
Vista de página 152
1 2 ... 148 149 150 151 152 153 154 155 156 157 158 ... 489 490

Comentários a estes Manuais

Sem comentários