WF3D Examples:
Included under the csim/demo_examples/wf3dExamples directory of CSIM distributions are a set of simple
examples for demonstrating the WF3D viewer features.
good starting point for learning to use the tools and develop new models.
WinFrame3d Examples Directory
This directory contains several examples for the WF3d Viewer.
Example 1 - Solar System Model:
This is the 'default' example.
Run:
wf3d
This example is composed of files: geom.dat and sun.ppm
It runs without supplying arguments to wf3d, because wf3d
will look for the default file geom.dat, if no other files
are specified.
Move around the solar system by dragging your mouse.
Example 2 - B-Flies.wfl
This is a simple example that creates three triangular butterflies.
Run:
wf3d bflies.wfl
Example 3 - Test1.wfl
This is a simple example showing how to script camera motion.
The camera goes through a preplanned script.
Run:
wf3d test1.wfl.scz
This model is compressed for storage efficiency. To review or
edit the model, decompress it by: scz_decompress test1.wfl.scz
Then edit test1.wfl .
Example 4 - Test2.wfl
This is a simple example showing how to place spheres.
Move around the scene by dragging your mouse.
Run:
wf3d test2.wfl
Example 5 - TestBox.dat
This is a simple example showing how to construct simple shapes.
Move around the scene by dragging your mouse.
Run:
wf3d testbox.wfl
Example 6 - Earth Model
This is a simple example showing how map an image to an
object, such as a sphere, and how to compress the model
with scz_compress.
Run:
wf3d earth1.wfl.scz
Move around the scene by dragging your mouse.
Decompress the model by: scz_decompress earth1.wfl.scz
Examples 7+8 - Aircraft Models
Run:
wf3d a10.wfl.scz
wf3d stealth.wfl.scz
Move around the scene by dragging your mouse.
Example 9 - 3D Data Plotting
This example shows how to plot a matrix with XYZ2WF.
Run:
xyz2wf -ni plot3d.dat
wf3d plot3d.wfl
Move around the plot by dragging your mouse.
* - The suffix .wfl stands for WinFrame Language. An XML format
for 2D and 3D scenarios. For more info, see:
WF3d